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

Table of Contents

Advertisement

Task
Display the local VLAN
information that GVRP
maintains on ports.
Display the current GVRP state
in the specified VLANs on ports.
Display GVRP statistics on
ports.
Display the global GVRP state.
Display the information about
dynamic VLAN operations on
ports.
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 ports Ethernet 1/0/1.
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
Configuration procedure
Configure Device A:
1.
# Enable GVRP globally.
<DeviceA> system-view
[DeviceA] gvrp
# Configure port Ethernet 1/0/1 as a trunk port, and assign it to all VLANs.
[DeviceA] interface ethernet 1/0/1
[DeviceA-Ethernet1/0/1] port link-type trunk
[DeviceA-Ethernet1/0/1] port trunk permit vlan all
# Enable GVRP on trunk port Ethernet 1/0/1.
[DeviceA-Ethernet1/0/1] gvrp
[DeviceA-Ethernet1/0/1] quit
# Create VLAN 2 (a static VLAN).
[DeviceA] vlan 2
[DeviceA-vlan2] quit
Command
display gvrp local-vlan interface interface-type
interface-number [ | { begin | exclude | include }
regular-expression ]
display gvrp state interface interface-type
interface-number vlan vlan-id [ | { begin | exclude |
include } regular-expression ]
display gvrp statistics [ interface interface-list ] [ |
{ begin | exclude | include } regular-expression ]
display gvrp status [ | { begin | exclude | include }
regular-expression ]
display gvrp vlan-operation interface interface-type
interface-number [ | { begin | exclude | include }
regular-expression ]
reset garp statistics [ interface interface-list ]
Figure
46:
144
Remarks
Available in
any view
Available in
any view
Available in
any view
Available in
any view
Available in
any view
Available in
user view

Advertisement

Table of Contents
loading

Table of Contents