hit counter script

Configuring A Lan Interface As A Layer 2 Access Port - Cisco 7609 Configuration Manual

Cisco ios software configuration guide—12.1e
Hide thumbs Also See for 7609:
Table of Contents

Advertisement

Configuring LAN Interfaces for Layer 2 Switching
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

Note
If you assign a LAN port to a VLAN that does not exist, the port is shut down until you create the VLAN
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
Step 3
Router(config-if)# switchport
Step 4
Router(config-if)# no switchport
Step 5
Router(config-if)# switchport mode access
Router(config-if)# no switchport mode
Cisco 7600 Series Router Cisco IOS Software Configuration Guide—12.1E
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.
Configures the LAN port for Layer 2 switching.
You must enter the switchport command once
Note
without any keywords to configure the LAN port
as a Layer 2 port before you can enter additional
switchport commands with keywords.
Clears Layer 2 LAN port configuration.
Configures the LAN port as a Layer 2 access port.
Reverts to the default switchport mode (switchport mode
dynamic desirable).
9-10).
78-14064-04

Advertisement

Table of Contents
loading

This manual is also suitable for:

7600 series

Table of Contents