Gvrp configuration example ii, Network requirements, Network diagram – H3C Technologies H3C S7500E Series Switches User Manual
Page 267: Configuration procedure
19-9
GVRP Configuration Example II
Network requirements
Configure GVRP for dynamic VLAN information registration and update among devices. Specify fixed
GVRP registration on Device A and normal GVRP registration on Device B.
Network diagram
Figure 19-3
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 fixed on the port.
[DeviceA-GigabitEthernet2/0/1] gvrp registration fixed
[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).
[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.