2-464
Catalyst 6500 Series Switch Command Reference—Release8.1
78-15474-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands set port vtp
set port vtpTo enable or disable VLAN Trunk Protocol (VTP) on a per-port basis, use the set port vtp command.
set port vtp mod/port {enable | disable}
Syntax Description
Defaults VTP is enabled.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines The set port vtp command allows you to enable or disable any kind of VTP interaction on a per-port
basis, which may be useful on trunks leading to non-trusted hosts. Wh en a p ort is disa bled, no V TP
packet is sent on the port, and any VTP packet received on the port is dropped.
Examples This example shows how to disable VTP on ports 1 and 2 on m odul e 1:
Console> (enable) set port vtp 1/1-2 disable
Port(s) 1/1-2 will no longer participate in VTP.
Console> (enable)
Related Commands se t v tp
show port vtp
show vtp
mod/port Number of the module and the port on the module.
enable Activates VTP.
disable Deactivates VTP.