System information

3-97
GVRP and Bridge Extension Commands
3
Example
GVRP and Bridge Extension Commands
GARP VLAN Registration Protocol defines a way for switches to exchange VLAN
information in order to automatically register VLAN members on interfaces across
the network. This section describes how to enable GVRP for individual interfaces
and globally for the switch, as well as how to display default configuration settings
for the Bridge Extension MIB.
switchport gvrp
Use this command to enable GVRP for a port. Use the no form to disable it.
Syntax
[no] switchport gvrp
Default Setting
Disabled
Command Mode
Interface Configuration (Ethernet, Port Channel)
Console#sh vlan private-vlan
Primary Secondary Type Interfaces
-------- ----------- ---------- --------------------------------------
2 primary Eth1/ 2
2 3 community Eth1/ 3
2 4 community Eth1/ 4
2 5 community Eth1/ 5
6 primary Eth1/ 6
6 7 community Eth1/ 7
6 8 community Eth1/ 8
6 9 community Eth1/ 9
Console#
Table 3-29. GVRP and Bridge Extension Commands
Command Function Mode Page
switchport gvrp Enables GVRP for an interface IC 3-97
switchport forbidden vlan Configures forbidden VLANs for an interface IC 3-90
show gvrp configuration Displays GVRP configuration for selected interface NE, PE 3-98
garp timer Sets the GARP timer for the selected function IC 3-98
show garp timer Shows the GARP timer for the selected function NE, PE 3-99
bridge-ext gvrp Enables GVRP globally for the switch GC 3-100
show bridge-ext Shows the global bridge extension configuration PE 3-100