H3C LS-3100-52P-OVS-H3 Operation Manual - page 164
1-9
[DeviceA-GigabitEthernet1/0/1] quit
# Create VLAN 2 (a static VLAN).
[DeviceA] vlan 2
2) Configure Device B
# Enable GVRP globally.
[DeviceB] gvrp
# Configure port GigabitEthernet 1/0/1 as a trunk port, allowing all VLANs to pass through.
[DeviceB] interface gigabitethernet 1/0/1
[DeviceB-GigabitEthernet1/0/1] port link-type trunk
[DeviceB-GigabitEthernet1/0/1] port trunk permit vlan all
# Enable GVRP on GigabitEthernet 1/0/1.
[DeviceB-GigabitEthernet1/0/1] gvrp
[DeviceB-GigabitEthernet1/0/1] quit
# Create VLAN 3 (a static VLAN).
[Sysname] vlan 3
3) Verify the configuration
# Display dynamic VLAN information on Device A.
[DeviceA] display vlan dynamic
No dynamic vlans exist!
# Display dynamic VLAN information on Device B.
[DeviceB] display vlan dynamic
Now, the following dynamic VLAN exist(s):
2
GVRP Configuration Example III
Network requirements
To prevent dynamic VLAN information registration and update among devices, set the GVRP
registration mode to forbidden on Device A and normal on Device B.
Figure 1-4 Network diagram for GVRP configuration
Configuration procedure
1) Configure Device A
# Enable GVRP globally.
[DeviceA] gvrp
# Configure port GigabitEthernet 1/0/1 as a trunk port, allowing all VLANs to pass through.