Home | 简体中文 | 繁体中文 | 杂文 | Search | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 作品与服务 | Email

2.3. VLAN

2.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.
			
			
comments powered by Disqus