Cisco Systems OL-6244-01 Switch User Manual


  Open as PDF
of 1438
 
2-496
Catalyst 6500 Series Switch Command Reference—Release 8.4
OL-6244-01
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands
set port gvrp
set port gvrp
To enable or disable GVRP on the specified ports in all VLANs, use the set port gvrp command.
set port gvrp mod/port {enable | disable}
Syntax Description
Defaults The default is GVRP is disabled.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines This command is not supported by the NAM.
When you enable VTP pruning, it runs on all the GVRP-disabled trunks.
To run GVRP on a trunk, you need to enable GVRP both globally on the switch and individually on the
trunk.
You can configure GVRP on a port even when you globally enable GVRP. However, the port will not
become a GVRP participant until you globally enable GVRP.
You can enable GVRP on an 802.1Q trunk only.
If you enter the set port gvrp command without specifying the port number, GVRP is affected globally
in the switch.
Examples This example shows how to enable GVRP on module 3, port 2:
Console> (enable) set port gvrp 3/2 enable
GVRP enabled on 3/2.
Console> (enable)
This example shows how to disable GVRP on module 3, port 2:
Console> (enable) set port gvrp 3/2 disable
GVRP disabled on 3/2.
Console> (enable)
This example shows what happens if you try to enable GVRP on a port that is not an 802.1Q trunk:
Console> (enable) set port gvrp 4/1 enable
Failed to set port 4/1 to GVRP enable. Port not allow GVRP.
Console> (enable)
mod/port Number of the module and the port on the module.
enable Enables GVRP on a specified port.
disable Disables GVRP on a specified port.