Gvrp configuration example iii, Network requirements, Network diagram – H3C Technologies H3C S7500E Series Switches User Manual
Page 268: Configuration procedure
19-10
[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.
Network diagram
Figure 19-4
Network diagram for GVRP configuration
Configuration procedure
1) Configure
Device
A
# Enable GVRP globally.
[DeviceA] gvrp
# Configure port GigabitEthernet 2/0/1 as a trunk port, allowing all VLANs to pass through.
[DeviceA] interface GigabitEthernet 2/0/1
[DeviceA-GigabitEthernet2/0/1] port link-type trunk
[DeviceA-GigabitEthernet2/0/1] port trunk permit vlan all
# Enable GVRP on GigabitEthernet 2/0/1.
[DeviceA-GigabitEthernet2/0/1] gvrp
# Set the GVRP registration type to forbidden on the port.
[DeviceA-GigabitEthernet2/0/1] gvrp registration forbidden
[DeviceA-GigabitEthernet2/0/1] quit
# Create VLAN 2 (a static VLAN).
[DeviceA] vlan 2
2) Configure
Device
B
# Enable GVRP globally.
[DeviceB] gvrp
# Configure port GigabitEthernet 2/0/1 as a trunk port, allowing all VLANs to pass through.
[DeviceB] interface GigabitEthernet 2/0/1
[DeviceB-GigabitEthernet2/0/1] port link-type trunk
[DeviceB-GigabitEthernet2/0/1] port trunk permit vlan all
# Enable GVRP on GigabitEthernet 2/0/1.
[DeviceB-GigabitEthernet2/0/1] gvrp
[DeviceB-GigabitEthernet2/0/1] quit
# Create VLAN 3 (a static VLAN).
[DeviceB] vlan 3
3) Verify the configuration
# Display dynamic VLAN information on Device A.