神州数码 GVRP 配置
作者:叶澜╭
中职网络搭建神州数码内容
GVRP 配置
支持GVRP的交换机也以将本机的VLAN注册信息向其它交换机传播,通过VLAN注册信息的传播,使得所有支持GVRP的交换机VLAN信息统一。SW1,SW3配置有VLAN10,SW2没有配置VLAN10。三台交换机互连的trunk接口开启gvrp,SW2上会动态注册VLAN10。
SW1配置
#创建VLAN10,并将e1/1端口设置为trunk,全局与 trunk端口上开启gvrp.
switch(config)#vlan 10
switch(config)#gvrp
switch(config)#interface ethernet 1/1
switch(cofnig-if-ethernet1/1)#switchport mode trunk
switch(cofnig-if-ethernet1/1)#gvrp
SW2配置
#全局开启gvrp,e1/1,e1/2端口模式改为trunk
switch(config)#gvrp
switch(config)#interface ethernet 1/1
switch(config-if-ethernet1/1)#switchport mode trunk
switch(cofnig-if-ethernet1/1)#gvrp
switch(config-if-ethernet1/1)#interface ethernet 1/2
switch(config-if-ethernet1/2)#switchport mode trunk
switch(cofnig-if-ethernet1/2)#gvrp
SW3配置同SW1
提示:Trunk链路两端Trunk端口的GARP计数器设置必须相同,否则GVRP不能正常工作。交换机的GVRP功能不能和RSTP同时打开,如果要打开GVRP功能,请首先关闭端口的RSTP功能。