User's Manual

229
32.4 Configuration Example
The network connection is as follows. In order to make the VLAN configuration information of Switch A and
Switch B identical, you can enable GVRP on Switch A and Switch B. The configuration is as follows:
1) Configure the interface 1 that Switch A connects to Switch B to trunk:
Switch_config_g0/1# switchport mode trunk
2) Enable global GVRP of switch A:
Switch_config#gvrp
3) Enable GVRP of interface 1 of Switch A:
Switch_config_g0/1#gvrp
4) Configure VLAN 10, Vlan 20 and Vlan30 on Switch A
Switch_config#vlan 10,20,30
5) Configure the interface 2 that Switch A connects to Switch B to trunk:
Switch_config_g0/2# switchport mode trunk
6) Enable global GVRP of switch B:
Switch_config#gvrp
7) Enable GVRP of interface 2 of Switch B
Switch_config_g0/2#gvrp
8) Configure VLAN 40, Vlan 50 and Vlan60 on Switch B
Switch_config#vlan 40,50,60
After completing the configuration, the VLAN configuration information will be displayed respectively on Switch
A and Switch B, that is, VLAN10, VLAN20,VLAN30, VLAN40, VLAN50 and VLAN60 on both switche