H3C S7500E Series Ethernet Switches Operation Manual

Operation Manual – VLAN
H3C S7500E Series Ethernet Switches Chapter 4 GVRP Configuration
4-9
4.4.2 GVRP Configuration Example II
I. 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.
II. Network diagram
Figure 4-3 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 fixed on the port.
[DeviceA-Ethernet2/0/1] gvrp registration fixed
[DeviceA-Ethernet2/0/1] quit
# Create VLAN 2 (a static VLAN).
[DeviceA] vlan 2
2) Configure Device B
# Enable GVRP globally.
<DeviceB> system-view
[DeviceB] gvrp
# Configure port Ethernet 2/0/1 as a trunk port, allowing all VLANs to pass.
[DeviceB] interface ethernet 2/0/1
[DeviceB-Ethernet2/0/1] port link-type trunk
[DeviceB-Ethernet2/0/1] port trunk permit vlan all
# Enable GVRP on the port.