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.