Example
The following example disables dynamic VLAN creation on port g8.
Console (config)# interface ethernet g8
Console (config-if)# gvrp vlan-creation-forbid
gvrp registration-forbid
The gvrp registration-forbid Interface Configuration mode command de-registers all dynamic
VLANs, and prevents dynamic VLAN registration on the port. To allow dynamic registering for
VLANs on a port, use the no form of this command.
Syntax
gvrp registration-forbid
no gvrp registration-forbid
Default Configuration
Dynamic registering and deregistering for each VLAN on the port is allowed.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
•
There are no user guidelines for this command.
Example
The following example shows how default dynamic registering and deregistering is forbidden for
each VLAN on port g8.
Console (config)# interface ethernet g8
Console (config-if)# gvrp registration-forbid
clear gvrp statistics
The clear gvrp statistics Privileged EXEC mode 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.
144
GVRP Commands