Clearing Layer 2 Configuration - Cisco Catalyst 4500 Series Configuration Manual

Release ios xe 3.3.0sg and ios 15.1(1)sg
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Configuring Ethernet Interfaces for Layer 2 Switching
Command
Step 8
Switch# show running-config interface
{fastethernet | gigabitethernet} slot/port
Step 9
Switch# show interfaces [{fastethernet |
gigabitethernet | tengigabitethernet}
slot/port] switchport
This example shows how to configure the Fast Ethernet interface 5/6 as an access port in VLAN 200:
Switch# configure terminal
Enter configuration commands, one per line.
Switch(config)# interface fastethernet 5/6
Switch(config-if)# shutdown
Switch(config-if)# switchport mode access
Switch(config-if)# switchport access vlan 200
Switch(config-if)# no shutdown
Switch(config-if)# end
Switch# exit
This example shows how to verify the running configuration:
Switch# show running-config interface fastethernet 5/6
Building configuration...
!
Current configuration :33 bytes
interface FastEthernet 5/6
switchport access vlan 200
switchport mode access
end
This example shows how to verify the switch port configuration:
Switch# show interface fastethernet 5/6 switchport
Name:Fa5/6
Switchport:Enabled
Administrative Mode:dynamic auto
Operational Mode:static access
Administrative Trunking Encapsulation:negotiate
Operational Trunking Encapsulation:native
Negotiation of Trunking:On
Access Mode VLAN:1 (default)
Trunking Native Mode VLAN:1 (default)
Administrative private-vlan host-association:none
Administrative private-vlan mapping:none
Operational private-vlan:none
Trunking VLANs Enabled:ALL
Pruning VLANs Enabled:2-1001
Switch#

Clearing Layer 2 Configuration

To clear the Layer 2 configuration on an interface, perform this task:
Command
Step 1
Switch(config)# default interface {fastethernet |
gigabitethernet | tengigabitethernet} slot/port
Step 2
Switch(config-if)# end
Software Configuration Guide—Release IOS XE 3.3.0SG and IOS 15.1(1)SG
17-8
Chapter 17
Purpose
Displays the running configuration of the interface.
Displays the switch port configuration of the interface.
End with CNTL/Z.
Purpose
Specifies the interface to clear.
Exits interface configuration mode.
Configuring Layer 2 Ethernet Interfaces
OL-25340-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents