H3C S3600V2 SERIES Layer 2-Lan Switching Configuration Manual page 193

Hide thumbs Also See for S3600V2 SERIES:
Table of Contents

Advertisement

Device A and Device B are connected through their ports Ethernet 1/0/1.
Enable GVRP and configure the normal registration mode on ports to enable the registration and
deregistration of dynamic and static VLAN information between the two devices.
Figure 59 Network diagram
Configuration procedure
Configure Device A:
1.
# 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 trunk port Ethernet 1/0/1.
[DeviceA-Ethernet1/0/1] gvrp
[DeviceA-Ethernet1/0/1] quit
# Create VLAN 2 (a static VLAN).
[DeviceA] vlan 2
[DeviceA-vlan2] quit
Configure Device B:
2.
# Enable GVRP globally.
<DeviceB> system-view
[DeviceB] gvrp
# Configure port Ethernet 1/0/1 as a trunk port, and assign it to all VLANs.
[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 trunk port Ethernet 1/0/1.
[DeviceB-Ethernet1/0/1] gvrp
[DeviceB-Ethernet1/0/1] quit
# Create VLAN 3 (a static VLAN).
[DeviceB] vlan 3
[DeviceB-vlan3] quit
Verify the configuration:
3.
Use the display gvrp local-vlan command to display the local VLAN information that GVRP
maintains on ports. For example:
# Display the local VLAN information that GVRP maintains on port Ethernet 1/0/1 of Device A.
[DeviceA] display gvrp local-vlan interface ethernet 1/0/1
Following VLANs exist in GVRP local database:
1(default),2-3
178

Advertisement

Table of Contents
loading

Table of Contents