Examples
The following example configures the maximum number of VLANs to 300.
Console (config)# gvrp max-vlan 300
3.8.7 clear gvrp statistics
The clear gvrp statistics privileged EXEC command clears all the GVRP statistics information.
Syntax
clear gvrp statistics [ethernet interface | port-channel port-channel-number]
•
interface — A valid Ethernet interface.
•
port-channel-number — A valid port-channel trunk index.
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC mode
User Guidelines
There are no user guidelines for this command.
Example
The following example clears all the GVRP statistics information on port g8.
Console# clear gvrp statistics ethernet g8
3.8.8 show gvrp configuration
The show gvrp configuration User EXEC command displays GVRP configuration information, including timer values,
whether GVRP and dynamic VLAN creation is enabled, and which ports are running GVRP.
Syntax
show gvrp configuration [ethernet interface | port-channel port-channel-number]
§
interface — A valid Ethernet interface.
§
port-channel-number — A valid port-channel trunk index.
Default Configuration
This command has no default configuration.
Command Mode
User EXEC mode
User Guidelines
There are no user guidelines for this command.
Example
The following example shows how to display GVRP configuration information:
Console# show gvrp configuration
GVRP Feature is currently enabled on the switch.
Maximum VLANs: 256, Maximum VLANs after reset: 256.
Port(s)
GVRP
Registration
Status
--------
-------------
---------------- --------------- --------------------- ---------------- -------------
e1
Enabled
Dynamic
VLAN
Creation
Normal
Enabled
Timers
Leave
(milliseconds)
Join
200
600
Leave
All
10000
61