Operation Manual – GVRP
H3C S3100 Series Ethernet Switches
Chapter 1 GVRP Configuration
1-9
II. Network diagram
Switch C
Switch E
Eth1/0/1
Eth1/0/1
Switch A
Switch B
Switch D
VLAN 5
VLAN 8
VLAN 5
VLAN 7
Eth1/0/1
Eth1/0/2
Eth1/0/3
Eth1/0/2
Eth1/0/1
Eth1/0/1
Figure 1-2
Network diagram for GVRP configuration
III. Configuration procedure
1)
Configure Switch A
# Enable GVRP globally.
<SwitchA> system-view
[SwitchA] gvrp
# Configure Ethernet1/0/1 to be a trunk port and to permit the packets of all the VLANs.
[SwitchA] interface Ethernet 1/0/1
[SwitchA-Ethernet1/0/1] port link-type trunk
[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