Configuring A Lan Interface As A Layer 2 Access Port - Cisco 6500 Series Software Configuration Manual

Hide thumbs Also See for 6500 Series:
Table of Contents

Advertisement

Configuring LAN Interfaces for Layer 2 Switching
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
Router# show interfaces fastethernet 5/8 switchport
Name: Fa5/8
Switchport: Enabled
Administrative Mode: dynamic desirable
Operational Mode: trunk
Administrative Trunking Encapsulation: negotiate
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: Enabled
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: ALL
Router# show interfaces fastethernet 5/8 trunk
Port
Fa5/8
Port
Fa5/8 1-1005
Port
Fa5/8 1-6,10,20,50,100,152,200,300,303-305,349-351,400,500,521,524,570,801-8
02,850,917,999,1002-1005
Port
Fa5/8 1-6,10,20,50,100,152,200,300,303-305,349-351,400,500,521,524,570,801-8
02,850,917,999,1002-1005
Router#

Configuring a LAN Interface as a Layer 2 Access Port

If you assign a LAN port to a VLAN that does not exist, the port is shut down until you create the VLAN
Note
in the VLAN database (see the
To configure a LAN port as a Layer 2 access port, perform this task:
Command
Step 1
Router(config)# interface type
Step 2
Router(config-if)# shutdown
Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide—Release 12.1 E
7-14
Mode
Encapsulation
desirable
n-802.1q
Vlans allowed on trunk
Vlans allowed and active in management domain
Vlans in spanning tree forwarding state and not pruned
"Creating or Modifying an Ethernet VLAN" section on page
1
slot/port
Chapter 7
Configuring LAN Ports for Layer 2 Switching
Status
Native vlan
trunking
1
Purpose
Selects the LAN port to configure.
(Optional) Shuts down the interface to prevent traffic flow
until configuration is complete.
9-10).
78-14099-04

Advertisement

Table of Contents
loading

Table of Contents