Gvrp Configuration Examples; Gvrp Configuration Example I - H3C LS-3100-52P-OVS-H3 Operation Manual

S5500-ei series ethernet switches
Table of Contents

Advertisement

To do...
Display the current GVRP state
Display statistics about GVRP
Display the global GVRP state
Display the information about
dynamic VLAN operations
performed on a port
Clear the GARP statistics

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
Use the command...
display gvrp state interface
interface-type interface-number vlan
vlan-id
display gvrp statistics [ interface
interface-list ]
display gvrp status
display gvrp vlan-operation
interface interface-type
interface-number
reset garp statistics [ interface
interface-list ]
1-7
Remarks
Available in any view
Available in any view
Available in any view
Available in any view
Available in user view

Advertisement

Chapters

Table of Contents
loading

Table of Contents