186 GVRP Commands
Example
The following example disables dynamic VLAN creation on Ethernet port 1/e6.
gvrp registration-forbid
The gvrp registration-forbid Interface Configuration (Ethernet, port-channel) mode command
deregisters all dynamic VLANs on a port and prevents VLAN creation or registration on the port. Use the
no form of this command to allow dynamic registration of VLANs on a port.
Syntax
• gvrp registration-forbid
• no gvrp registration-forbid
Default Configuration
Dynamic registration of VLANs 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 forbids dynamic registration of VLANs on Ethernet port 1/e6.
clear gvrp statistics
The clear gvrp statistics Privileged EXEC mode command clears all GVRP statistical information.
Syntax
•
clear gvrp statistics
[
ethernet
interface
|
port-channel
port-channel-number
]
•
interface —
A valid Ethernet port. (Full syntax:
unit/port
)
•
port-channel-number —
A valid port-channel
number.
console(config)# interface ethernet 1/e6
console(config-if)# gvrp vlan-creation-forbid
Console(config)# interface ethernet 1/e6
Console(config-if)# gvrp registration-forbid
book.book Page 186 Thursday, December 18, 2008 7:40 PM