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 gigabitethernet0/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
show interfaces
switchport mode
Catalyst 2960 Switch Command Reference
2-710
Description
switchport
Displays the administrative and operational status of a switching port,
including port blocking and port protection settings.
Configures the VLAN membership mode of a port.
Chapter 2 Catalyst 3750 Switch Cisco IOS Commands
OL-8604-03