通过GVRP让交换机自动学习VLAN
实验目的:
1)SW1创建静态VLAN 10 ,SW2和SW3没有配置VLAN;
2)通过配置GVRP功能,让SW2和SW3自动学习VLAN;
配置命令:
交换机SW1
<Huawei>system-view
gvrp开启gvrp模式
interface Ethernet0/0/1 进入端口
port link-typetrunk修改成trunk链路
port trunk allow-pass vlan all 允许所有VLAN通过
gvrp 开启gvrp模式
交换机SW2
<Huawei>system-view
gvrp 开启gvrp模式
interface Ethernet0/0/1 进入端口
port link-typetrunk修改成trunk链路
port trunk allow-pass vlan all 允许所有VLAN通过
gvrp开启gvrp模式
interface Ethernet0/0/2 进入端口
port link-typetrunk修改成trunk链路
port trunk allow-pass vlan all 允许所有VLAN通过
gvrp 开启gvrp模式
交换机SW3
<Huawei>system-view
gvrp开启gvrp模式
interface Ethernet0/0/1 进入端口
port link-typetrunk修改成trunk链路
port trunk allow-pass vlan all允许所有VLAN通过
gvrp 开启gvrp模式
display vlan summary查看VLAN信息
页:
[1]