Gvrp Configuration Examples; Gvrp Normal Registration Mode Configuration Example - HP A5120 EI Series Configuration Manual

Lan switching
Hide thumbs Also See for A5120 EI Series:
Table of Contents

Advertisement

To do...
Clear the GARP statistics on ports

GVRP configuration examples

GVRP normal registration mode configuration example

Network requirements
As shown in
Device A and Device B are connected through their GigabitEthernet 1/0/1 ports.
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 46 Network diagram for GVRP normal registration mode configuration
GE1/0/1
Device A
Configuration procedure
Configure Device A.
1.
# Enable GVRP globally.
<DeviceA> system-view
[DeviceA] gvrp
# Configure port GigabitEthernet 1/0/1 as a trunk port, and assign it to all VLANs.
[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
[DeviceA-vlan2] quit
Configure Device B.
2.
# Enable GVRP globally.
<DeviceB> system-view
[DeviceB] gvrp
# Configure port GigabitEthernet 1/0/1 as a trunk port, and assign it to all VLANs.
[DeviceB] interface gigabitethernet 1/0/1
[DeviceB-GigabitEthernet1/0/1] port link-type trunk
[DeviceB-GigabitEthernet1/0/1] port trunk permit vlan all
Figure
46:
GE1/0/1
Device B
Use the command...
reset garp statistics [ interface interface-
list ]
150
Remarks
Available in user view

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents