2-938
Catalyst 3750-X and 3560-X Switch Command Reference
OL-29704-01
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
switchport nonegotiate
Examples This example shows how to cause a port to refrain from negotiating trunking mode and to act as a trunk
or access port (depending on the mode set):
Switch(config)# interface gigabitethernet2/0/1
Switch(config-if)# switchport nonegotiate
You can verify your setting by entering the show interfaces interface-id switchport privileged EXEC
command.
Related Commands Command Description
show interfaces switchport Displays the administrative and operational status of a switching
(nonrouting) port, including port blocking and port protection settings.
switchport mode Configures the VLAN membership mode of a port.