Operation Manual – VLAN
H3C S3610&S5510 Series Ethernet Switches
Chapter 3 GVRP Configuration
3-11
III. Configuration procedure
1)
Configure Device A
# Enable GVRP globally.
<DeviceA> system-view
[DeviceA] gvrp
# Configure port Ethernet 1/0/1 as a Trunk port, allowing all VLANs to pass.
[DeviceA] interface ethernet 1/0/1
[DeviceA-Ethernet1/0/1] port link-type trunk
[DeviceA-Ethernet1/0/1] port trunk permit vlan all
# Enable GVRP on Ethernet 1/0/1.
[DeviceA-Ethernet1/0/1] gvrp
# Set the GVRP registration type to forbidden on the port.
[DeviceA-Ethernet1/0/1] gvrp registration forbidden
[DeviceA-Ethernet1/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 1/0/1 as a Trunk port, allowing all VLANs to pass.
[DeviceB] interface ethernet 1/0/1
[DeviceB-Ethernet1/0/1] port link-type trunk
[DeviceB-Ethernet1/0/1] port trunk permit vlan all
# Enable GVRP on Ethernet 1/0/1.
[DeviceB-Ethernet1/0/1] gvrp
[DeviceB-Ethernet1/0/1] quit
# Create VLAN 3 (a static VLAN).
[DeviceB] 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
No dynamic vlans exist!