10-9
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
OL-4266-08
Chapter 10 Configuring LAN Ports for Layer 2 Switching
Configuring LAN Interfaces for Layer 2 Switching
Note Complete the steps in the “Completing Trunk Configuration” section on page 10-12 after performing the
tasks in this section.
Configuring the Layer 2 Trunk to Use DTP
Note Complete the steps in the “Configuring a LAN Port for Layer 2 Switching” section on page 10-7 before
performing the tasks in this section.
To configure the Layer 2 trunk to use DTP, perform this task:
When configuring the Layer 2 trunk to use DTP, note the following information:
• Required only if the interface is a Layer 2 access port or to specify the trunking mode.
• See Table 10-2 on page 10-4 for information about trunking modes.
Note Complete the steps in the “Completing Trunk Configuration” section on page 10-12 after performing the
tasks in this section.
Configuring the Layer 2 Trunk Not to Use DTP
Note Complete the steps in the “Configuring a LAN Port for Layer 2 Switching” section on page 10-7 before
performing the tasks in this section.
To configure the Layer 2 trunk not to use DTP, perform this task:
When configuring the Layer 2 trunk not to use DTP, note the following information:
• 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 10-8).
Command Purpose
Router(config-if)# switchport mode dynamic {auto |
desirable}
(Optional) Configures the trunk to use DTP.
Router(config-if)# no switchport mode
Reverts to the default trunk trunking mode (switchport mode
dynamic desirable).
Command Purpose
Step 1
Router(config-if)# switchport mode trunk
(Optional) Configures the port to trunk unconditionally.
Router(config-if)# no switchport mode
Reverts to the default trunk trunking mode (switchport
mode dynamic desirable).
Step 2
Router(config-if)# switchport nonegotiate
(Optional) Configures the trunk not to use DTP.
Router(config-if)# no switchport nonegotiate
Enables DTP on the port.