H3C Technologies H3C S3600 Series Switches User Manual
Page 157
1-8
[SwitchA-Ethernet1/0/1] port trunk permit vlan all
# Enable GVRP on Ethernet1/0/1.
[SwitchA-Ethernet1/0/1] gvrp
[SwitchA-Ethernet1/0/1] quit
# Configure Ethernet1/0/2 to be a trunk port and to permit the packets of all the VLANs.
[SwitchA] interface Ethernet 1/0/2
[SwitchA-Ethernet1/0/2] port link-type trunk
[SwitchA-Ethernet1/0/2] port trunk permit vlan all
# Enable GVRP on Ethernet1/0/2.
[SwitchA-Ethernet1/0/2] gvrp
[SwitchA-Ethernet1/0/2] quit
# Configure Ethernet1/0/3 to be a trunk port and to permit the packets of all the VLANs.
[SwitchA] interface Ethernet 1/0/3
[SwitchA-Ethernet1/0/3] port link-type trunk
[SwitchA-Ethernet1/0/3] port trunk permit vlan all
# Enable GVRP on Ethernet1/0/3.
[SwitchA-Ethernet1/0/3] gvrp
[SwitchA-Ethernet1/0/3] quit
2) Configure Switch B
# The configuration procedure of Switch B is similar to that of Switch A and is thus omitted.
3) Configure Switch C
# Enable GVRP on Switch C, which is similar to that of Switch A and is thus omitted.
# Create VLAN 5.
[SwitchC] vlan 5
[SwitchC-vlan5] quit
4) Configure Switch D
# Enable GVRP on Switch D, which is similar to that of Switch A and is thus omitted.
# Create VLAN 8.
[SwitchD] vlan 8
[SwitchD-vlan8] quit
5) Configure Switch E
# Enable GVRP on Switch E, which is similar to that of Switch A and is thus omitted.
# Create VLAN 5 and VLAN 7.
[SwitchE] vlan 5
[SwitchE-vlan5] quit
[SwitchE] vlan 7
[SwitchE-vlan7] quit
6) Display the VLAN information dynamically registered on Switch A, Switch B, and Switch E.
# Display the VLAN information dynamically registered on Switch A.
[SwitchA] display vlan dynamic
Total 3 dynamic VLAN exist(s).
The following dynamic VLANs exist: