Configuring GVRP Using CLI Commands
The following table summarizes the equivalent CLI commands for configuring GVRP as displayed
in the GVRP Global Parameters page.
Table 7-28. GVRP Global Parameters CLI Commands
CLI Command
gvrp enable (global)
gvrp enable (interface)
gvrp vlan-creation-forbid
gvrp registration-forbid
show gvrp configuration
[ethernet interface | port-
channel port-channel-
number ]
show gvrp error-statistics
[ethernet interface | port-
channel port-channel-
number]
show gvrp statistics
[ethernet interface | port-
channel port-channel-
number ]
clear gvrp statistics
[ethernet interface | port-
channel port-channel-
number ]
The following is an example of the CLI commands:
Console (config)# gvrp enable
Console (config)# interface ethernet g8
Console (config-if)# gvrp enable
Console (config-if)# gvrp vlan-creation-forbid
Console (config-if)# gvrp registration-forbid
Console> show gvrp configuration
GVRP Feature is currently Enabled on the device.
310
Configuring Switch Information
Description
Enables GVRP globally.
Enables GVRP on an interface.
Enables or disables dynamic VLAN
creation.
De-registers all dynamic VLANs, and
prevents dynamic VLAN registration on
the port.
Displays GVRP configuration information,
including timer values, whether GVRP and
dynamic VLAN creation is enabled, and
which ports are running GVRP .
Displays GVRP error statistics.
Displays GVRP statistics.
Clears all the GVRP statistics information.