EasyManua.ls Logo

Cisco 7609 - Page 115

Cisco 7609
572 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...
7-13
Cisco 7600 Series Router Cisco IOS Software Configuration Guide—12.1E
78-14064-04
Chapter 7 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 7-13 after performing the
tasks in this section.
Completing Trunk Configuration
To complete Layer 2 trunk configuration, perform this task:
Verifying Layer 2 Trunk Configuration
To verify Layer 2 trunk configuration, perform this task:
Configuration and Verification Examples
This example shows how to configure the Fast Ethernet port 5/8 as an 802.1Q trunk. This example
assumes that the neighbor port is configured to support 802.1Q trunking:
Router# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# interface fastethernet 5/8
Router(config-if)# shutdown
Router(config-if)# switchport
Router(config-if)# switchport mode dynamic desirable
Router(config-if)# switchport trunk encapsulation dot1q
Router(config-if)# no shutdown
Router(config-if)# end
Router# exit
This example shows how to verify the configuration:
Router# show running-config interface fastethernet 5/8
Building configuration...
Current configuration:
!
interface FastEthernet5/8
no ip address
switchport
switchport trunk encapsulation dot1q
end
Command Purpose
Step 1
Router(config-if)# no shutdown
Activates the interface. (Required only if you shut down
the interface.)
Step 2
Router(config-if)# end
Exits configuration mode.
Command Purpose
Step 1
Router# show running-config interface type
1
slot/port
1. type = ethernet, fastethernet, gigabitethernet, or tengigabitethernet
Displays the running configuration of the interface.
Step 2
Router# show interfaces [type
1
slot/port]
switchport
Displays the switch port configuration of the interface.
Step 3
Router# show interfaces [type
1
slot/port] trunk
Displays the trunk configuration of the interface.

Table of Contents

Other manuals for Cisco 7609

Related product manuals