EasyManua.ls Logo

Cisco 7604 - Page 154

Cisco 7604
1011 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
10-10
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
To support the switchport nonegotiate command, you must enter the switchport mode trunk
command.
Enter the switchport mode dynamic trunk command. See Table 10-2 on page 10-4 for information
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 10-8) and
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 10-9).
Note Complete the steps in the “Completing Trunk Configuration” section on page 10-12 after performing the
tasks in this section.
Configuring the Access VLAN
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 access VLAN, perform this task:
Note Complete the steps in the “Completing Trunk Configuration” section on page 10-12 after performing the
tasks in this section.
Configuring the 802.1Q Native VLAN
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 802.1Q native VLAN, perform this task:
Command Purpose
Router(config-if)# switchport access vlan
vlan_ID
(Optional) Configures the access VLAN, which is used if the
interface stops trunking. The vlan_ID value can be 1 through
4094, except reserved VLANs (see Table 14-1 on page 14-2).
Router(config-if)# no switchport access vlan
Reverts to the default value (VLAN 1).
Command Purpose
Router(config-if)# switchport trunk native vlan
vlan_ID
(Optional) Configures the 802.1Q native VLAN.
Router(config-if)# no switchport trunk native vlan
Reverts to the default value (VLAN 1).

Table of Contents

Related product manuals