2-786
Cisco Catalyst Blade Switch 3120 for HP Command Reference
OL-12248-03
Chapter 2 Cisco Catalyst Blade Switch 3120 for HP 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.