Home | 簡體中文 | 繁體中文 | 雜文 | 打賞(Donations) | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎專欄 | Search | Email

21.3. VLAN

21.3.1. GVRP

			
l              配置Switch A:

# 開啟全局GVRP。

<H3C> system-view

[H3C] gvrp

GVRP is enabled globally.

# 將乙太網連接埠Ethernet1/0/1配置為Trunk連接埠,並允許所有VLAN通過。

[H3C] interface Ethernet 1/0/1

[H3C-Ethernet1/0/1] port link-type trunk

[H3C-Ethernet1/0/1] port trunk permit vlan all

# 在Trunk連接埠上開啟GVRP。

[H3C-Ethernet1/0/1] gvrp

GVRP is enabled on port Ethernet1/0/1.

l              配置Switch B:

# 開啟全局GVRP。

<H3C> system-view

[H3C] gvrp

GVRP is enabled globally.

# 將乙太網連接埠Ethernet1/0/2配置為Trunk連接埠,並允許所有VLAN通過。

[H3C] interface Ethernet 1/0/2

[H3C-Ethernet1/0/2] port link-type trunk

[H3C-Ethernet1/0/2] port trunk permit vlan all

# 在Trunk連接埠上開啟GVRP。

[H3C-Ethernet1/0/2] gvrp

GVRP is enabled on port Ethernet1/0/2.