3Com Switch 8800 Advanced Software V5 Configuration Guide

GVRP Configuration Example 147
The following dynamic VLANs exist:
2
GVRP Configuration
Example III
Network requirements
Configure GVRP for dynamic VLAN information registration and update between
the switches. Set the "forbidden" GVRP registration mode on the trunk port of
Switch A and keep the default "normal" mode on the trunk port of Switch B.
Network diagram
Figure 40 Figure 11-4 Network diagram for GVRP configuration
Configuration procedure
1 Configure Switch A
# Enable GVRP globally.
<SysnameA> system-view
[SysnameA] gvrp
# Configure port Ethernet1/1/1 as a trunk port, allowing all VLANs to pass.
[SysnameA] interface ethernet 1/1/1
[SysnameA-Ethernet1/1/1] port link-type trunk
[SysnameA-Ethernet1/1/1] port trunk permit vlan all
# Enable GVRP on Ethernet1/1/1.
[SysnameA-Ethernet1/1/1] gvrp
# Set the GVRP registration type to forbidden on the port.
[SysnameA-Ethernet1/1/1] gvrp registration forbidden
[SysnameA-Ethernet1/1/1] quit
# Create VLAN 2 (a static VLAN).
[SysnameA] vlan 2
[SysnameA-vlan2] return
2 Configure Switch B
# Enable GVRP globally.
<SysnameB> system-view
[SysnameB] gvrp
# Configure port Ethernet1/1/2 as a trunk port, allowing all VLANs to pass.
Ethernet1/1/1
Switch A
Switch B
Ethernet1/1/2