Example
The following example shows how to display information for VLAN 1:
Console#show | vlan id 1 |
|
|
|
|
|
|
VLAN Type | Name | Status | Ports/Channel groups |
| |||
| |||||||
1 Static | DefaultVlan | Active | SNP0 | SNP1 | SNP2 | SNP3 | SNP4 |
|
|
| SNP5 | SNP6 | SNP7 | SNP8 | SNP9 |
|
| SNP10 | SNP11 | SNP12 | SNP13 | SNP14 | |
|
| SNP15 | NETP0 | NETP1 | NETP2 | NETP3 |
|
|
| NETP4 NETP5 | NETP6 | NETP7 |
2 Static | MgtVlan | Active | NETMGT |
|
|
Console# |
|
|
|
|
|
4.3.13GVRP and Bridge Extension Commands
GARP VLAN Registration Protocol (GVRP) 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.
TABLE 4-18 GVRP and Bridge Extension Commands
Command |
| Function | Mode | Page | |
|
|
|
| ||
Interface Commands |
|
|
| ||
switchport | gvrp | Enables GVRP for an interface | IC | ||
switchport |
| Configures forbidden VLANs for an interface | IC |
| |
forbidden |
|
|
|
| |
vlan |
|
|
|
|
|
show | gvrp |
| Displays GVRP configuration for selected interface | NE, | |
configuration |
| PE |
| ||
garp | timer |
| Sets the GARP timer for the selected function | IC | |
show | garp | timer | Shows the GARP timer for the selected function | NE, | |
|
|
|
| PE |
|
Global Commands |
|
|
| ||
gvrp | Enables GVRP globally for the switch | GC | |||
show | Shows bridge extension configuration | PE | |||
|
|
|
|
|
|
Chapter 4