Configuring LAN Interfaces for Layer 2 Switching
Configuring the Layer 2 Trunk Not to Use DTP
Complete the steps in the
Note
page 7-8
To configure the Layer 2 trunk not to use DTP, perform this task:
Command
Step 1
Router(config-if)# switchport mode trunk
Router(config-if)# no switchport mode
Step 2
Router(config-if)# switchport nonegotiate
Router(config-if)# no switchport nonegotiate
When configuring the Layer 2 trunk not to use DTP, note the following syntax information:
•
•
•
•
Complete the steps in the
Note
tasks in this section.
Configuring the Default VLAN
Complete the steps in the
Note
page 7-8
Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide—Release 12.1 E
7-10
"Preparing a Layer 2 Switching Port for Configuration as a Trunk" section on
before performing the tasks in this section.
Before entering the switchport mode trunk command, you must configure the encapsulation (see
the
"Configuring the Layer 2 Switching Port as an ISL or 802.1Q Trunk" section on page
To support the switchport nonegotiate command, you must enter the switchport mode trunk
command.
Enter the switchport mode dynamic trunk command. See
about trunking modes.
Before entering the switchport nonegotiate command, you must configure the encapsulation (see
the
"Configuring the Layer 2 Switching Port as an ISL or 802.1Q Trunk" section on page
configure the port to trunk unconditionally with the switchport mode trunk command (see the
"Configuring the Layer 2 Trunk to Use DTP" section on page
"Completing Trunk Configuration" section on page 7-13
"Preparing a Layer 2 Switching Port for Configuration as a Trunk" section on
before performing the tasks in this section.
Chapter 7
Configuring LAN Ports for Layer 2 Switching
Purpose
(Optional) Configures the port to trunk unconditionally.
Reverts to the default trunk trunking mode (switchport
mode dynamic desirable).
(Optional) Configures the trunk not to use DTP.
Enables DTP on the port.
Table 7-2 on page 7-4
7-9).
7-9).
for information
7-9) and
after performing the
78-14099-04