Switchport Nonegotiate - Cisco Catalyst 3650 Command Reference Manual

Layer 2/3 command reference, cisco ios xe release 3.6e
Hide thumbs Also See for Catalyst 3650:
Table of Contents

Advertisement

switchport nonegotiate

switchport nonegotiate

To specify that Dynamic Trunking Protocol (DTP) negotiation packets are not sent on the Layer 2 interface,
use the switchport nonegotiate command in interface configuration mode. Use the no form of this command
to return to the default setting.
switchport nonegotiate
no switchport nonegotiate
Syntax Description
This command has no arguments or keywords.
Command Default
The default is to use DTP negotiation to learn the trunking status.
Command Modes
Interface configuration
Command History
Release
Cisco IOS XE 3.3SE
Usage Guidelines
The no switchport nonegotiate command removes nonegotiate status.
This command is valid only when the interface switchport mode is access or trunk (configured by using the
switchport mode access or the switchport mode trunk interface configuration command). This command
returns an error if you attempt to execute it in dynamic (auto or desirable) mode.
Internetworking devices that do not support DTP might forward DTP frames improperly and cause
misconfigurations. To avoid this problem, turn off DTP by using the switchport nonegotiate command to
configure the interfaces connected to devices that do not support DTP to not forward DTP frames.
When you enter the switchport nonegotiate command, DTP negotiation packets are not sent on the interface.
The device does or does not trunk according to the mode parameter: access or trunk.
• If you do not intend to trunk across those links, use the switchport mode access interface configuration
• To enable trunking on a device that does not support DTP, use the switchport mode trunk and switchport
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
Layer 2/3 Command Reference, Cisco IOS XE Release 3.6E (Catalyst 3650 Switch)
78
command to disable trunking.
nonegotiate interface configuration commands to cause the interface to become a trunk but to not
generate DTP frames.
Layer 2/3 Commands
Modification
This command was introduced.
OL-32639-01

Advertisement

Table of Contents
loading

Table of Contents