![H3C S3600V2 SERIES Layer 2-Lan Switching Configuration Manual Download Page 194](http://html2.mh-extra.com/html/h3c/s3600v2-series/s3600v2-series_layer-2-lan-switching-configuration-manual_3654240194.webp)
179
According to the output, information about VLAN 1, static VLAN information of VLAN 2 on the
local device, and dynamic VLAN information of VLAN 3 on Device B are all registered through
GVRP.
# Display the local VLAN information that GVRP maintains on port Ethernet 1/0/1 of Device B.
[DeviceB] display gvrp local-vlan interface ethernet 1/0/1
Following VLANs exist in GVRP local database:
1(default),2-3
According to the output, information about VLAN 1, static VLAN information of VLAN 3 on the
local device, and dynamic VLAN information of VLAN 2 on Device A are all registered through
GVRP.
GVRP fixed registration mode configuration example
Network requirements
As shown in
:
•
Device A and Device B are connected through their ports Ethernet 1/0/1.
•
Enable GVRP and configure the fixed registration mode on ports to enable the registration and
deregistration of static VLAN information between the two devices.
Figure 60
Network diagram
Configuration procedure
1.
Configure Device A:
# Enable GVRP globally.
<DeviceA> system-view
[DeviceA] gvrp
# Configure port Ethernet 1/0/1 as a trunk port, and assign it to all VLANs.
[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 and set the GVRP registration mode to fixed on the port.
[DeviceA-Ethernet1/0/1] gvrp
[DeviceA-Ethernet1/0/1] gvrp registration fixed
[DeviceA-Ethernet1/0/1] quit
# Create VLAN 2 (a static VLAN).
[DeviceA] vlan 2
[DeviceA-vlan2] quit
2.
Configure Device B:
# Enable GVRP globally.
<DeviceB> system-view
[DeviceB] gvrp
# Configure port Ethernet 1/0/1 as a trunk port, and assign it to all VLANs.