H3C SR8800 Configuration Manual page 126

10g core routers layer 2 - lan switching
Hide thumbs Also See for SR8800:
Table of Contents

Advertisement

# Configure port GigabitEthernet 4/1/1 as a trunk port, and assign it to all VLANs.
[DeviceA] interface GigabitEthernet 4/1/1
[DeviceA-GigabitEthernet4/1/1] port link-type trunk
[DeviceA-GigabitEthernet4/1/1] port trunk permit vlan all
# Enable GVRP on GigabitEthernet 4/1/1 and set the GVRP registration mode to fixed on the
port.
[DeviceA-GigabitEthernet4/1/1] gvrp
[DeviceA-GigabitEthernet4/1/1] gvrp registration fixed
[DeviceA-GigabitEthernet4/1/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 GigabitEthernet 4/1/1 as a trunk port, and assign it to all VLANs.
[DeviceB] interface GigabitEthernet 4/1/1
[DeviceB-GigabitEthernet4/1/1] port link-type trunk
[DeviceB-GigabitEthernet4/1/1] port trunk permit vlan all
# Enable GVRP on GigabitEthernet 4/1/1, and set the GVRP registration mode to fixed on the
port.
[DeviceB-GigabitEthernet4/1/1] gvrp
[DeviceB-GigabitEthernet4/1/1] gvrp registration fixed
[DeviceB-GigabitEthernet4/1/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 maintained by
GVRP on ports. For example:
# Display the local VLAN information maintained by GVRP on port GigabitEthernet 4/1/1 of
Device A.
[DeviceA] display gvrp local-vlan interface GigabitEthernet 4/1/1
Following VLANs exist in GVRP local database:
1(default), 2
According to the output above, information about VLAN 1 and static VLAN information of VLAN
2 on the local router are registered through GVRP, but dynamic VLAN information of VLAN 3 on
Device B is not.
# Display the local VLAN information maintained by GVRP on port GigabitEthernet 4/1/1 of
Device B.
[DeviceB] display gvrp local-vlan interface GigabitEthernet 4/1/1
Following VLANs exist in GVRP local database:
1(default), 3
116

Advertisement

Table of Contents
loading

Table of Contents