3com S7906E Manuel De Montage
1-7
To do…
Use the command…
Remarks
Display GARP timers for
specified or all ports
specified or all ports
display garp timer [ interface
interface-list ]
interface-list ]
Available in any view
Display the local VLAN
information maintained by
GVRP
information maintained by
GVRP
display gvrp local-vlan interface
interface-type interface-number
interface-type interface-number
Available in any view
Display the current GVRP state
display gvrp state interface
interface-type interface-number vlan
vlan-id
interface-type interface-number vlan
vlan-id
Available in any view
Display statistics about GVRP
display gvrp statistics [ interface
interface-list ]
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
dynamic VLAN operations
performed on a port
display gvrp vlan-operation interface
interface-type interface-number
interface-type interface-number
Available in any view
Clear the GARP statistics
reset garp statistics [ interface
interface-list ]
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.
Network diagram
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 2/0/1 as a trunk port, allowing all VLANs to pass through.
[DeviceA] interface GigabitEthernet 2/0/1
[DeviceA-GigabitEthernet2/0/1] port link-type trunk
[DeviceA-GigabitEthernet2/0/1] port trunk permit vlan all
# Enable GVRP on GigabitEthernet 2/0/1, the trunk port.
[DeviceA-GigabitEthernet2/0/1] gvrp
[DeviceA-GigabitEthernet2/0/1] quit