hit counter script

Cisco 7609 Configuration Manual page 117

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

Advertisement

Chapter 7
Configuring LAN Ports for Layer 2 Switching
Command
Step 6
Router(config-if)# switchport access vlan vlan_ID
Router(config-if)# no switchport access vlan
Step 7
Router(config-if)# no shutdown
Step 8
Router(config-if)# end
Step 9
Router# show running-config interface
1
[type
slot/port]
Step 10
Router# show interfaces [type
switchport
1.
type = ethernet, fastethernet, gigabitethernet, or tengigabitethernet
This example shows how to configure the Fast Ethernet port 5/6 as an access port in VLAN 200:
Router# configure terminal
Enter configuration commands, one per line.
Router(config)# interface fastethernet 5/6
Router(config-if)# shutdown
Router(config-if)# switchport
Router(config-if)# switchport mode access
Router(config-if)# switchport access vlan 200
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/6
Building configuration...
!
Current configuration:
interface FastEthernet5/6
no ip address
switchport access vlan 200
switchport mode access
end
Router# show interfaces fastethernet 5/6 switchport
Name: Fa5/6
Switchport: Enabled
Administrative Mode: static access
Operational Mode: static access
Administrative Trunking Encapsulation: negotiate
Operational Trunking Encapsulation: native
Negotiation of Trunking: Enabled
Access Mode VLAN: 200 (VLAN0200)
Trunking Native Mode VLAN: 1 (default)
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: ALL
Router#
78-14064-04
Purpose
Places the LAN port in a VLAN.
Reverts to the default VLAN (VLAN 1).
Activates the interface. (Required only if you shut down
the interface.)
Exits configuration mode.
Displays the running configuration of the interface.
1
Displays the switch port configuration of the interface.
slot/port]
Cisco 7600 Series Router Cisco IOS Software Configuration Guide—12.1E
Configuring LAN Interfaces for Layer 2 Switching
With Release 12.1(13)E and later releases, the
vlan_ID value can be 1 to 4094, except for reserved
VLANs (see
Table 9-1 on page
With 12.1 E releases earlier than Release 12.1(13)E,
the vlan_ID value can be 1 to 1005.
End with CNTL/Z.
9-2).
7-15

Advertisement

Table of Contents
loading

This manual is also suitable for:

7600 series

Table of Contents