H3C S7500E Series Ethernet Switches Operation Manual

Operation Manual – VLAN
H3C S7500E Series Ethernet Switches Chapter 4 GVRP Configuration
4-10
[DeviceB-Ethernet2/0/1] gvrp
[DeviceB-Ethernet2/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
4.4.3 GVRP Configuration Example III
I. 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.
II. Network diagram
Figure 4-4 Network diagram for GVRP configuration
III. Configuration procedure
1) Configure Device A
# Enable GVRP globally.
<DeviceA> system-view
[DeviceA] gvrp
# Configure port Ethernet 2/0/1 as a trunk port, allowing all VLANs to pass.
[DeviceA] interface ethernet 2/0/1
[DeviceA-Ethernet2/0/1] port link-type trunk
[DeviceA-Ethernet2/0/1] port trunk permit vlan all
# Enable GVRP on the port.
[DeviceA-Ethernet2/0/1] gvrp
# Set the GVRP registration type to forbidden on the port.
[DeviceA-Ethernet2/0/1] gvrp registration forbidden