
1-7
To do…
Use the command…
Remarks
Display the current GVRP state
display gvrp state
interface
interface-type interface-number vlan
vlan-id
Available in any view
Display statistics about GVRP
display gvrp statistics
[
interface
interface-list
]
Available in any view
Display the global GVRP state
display gvrp status
Available in any view
Display the information about
dynamic VLAN operations
performed on a port
display gvrp vlan-operation
interface
interface-type
interface-number
Available in any view
Clear the GARP statistics
reset garp statistics
[
interface
interface-list
]
Available in user view
GVRP Configuration Examples
GVRP Configuration Example I
Network requirements
Configure GVRP for dynamic VLAN information registration and update among devices, adopting the
normal registration mode on ports.
Figure 1-2
Network diagram for GVRP configuration
Configuration procedure
1) Configure Device A
# Enable GVRP globally.
<DeviceA> system-view
[DeviceA] gvrp
# Configure port GigabitEthernet 1/0/1 as a trunk port, allowing all VLANs to pass through.
[DeviceA] interface gigabitethernet 1/0/1
[DeviceA-GigabitEthernet1/0/1] port link-type trunk
[DeviceA-GigabitEthernet1/0/1] port trunk permit vlan all
# Enable GVRP on trunk port GigabitEthernet 1/0/1.
[DeviceA-GigabitEthernet1/0/1] gvrp
[DeviceA-GigabitEthernet1/0/1] quit
# Create VLAN 2 (a static VLAN).
[DeviceA] vlan 2
2) Configure Device B
# Enable GVRP globally.
<DeviceB> system-view
Summary of Contents for S5120-EI Series
Page 139: ...ii...
Page 578: ...1 21 C...
Page 739: ...1 12 Enable ARP detection based on 802 1X security entries SwitchB arp detection mode dot1x...
Page 926: ...2 8...
Page 942: ...ii Single Device Upgrade 3 4 IRF System Upgrade 3 5...
Page 985: ...1 1...
Page 1018: ...1 6...