Cisco HWIC-4ESW and HWIC-D-9ESW EtherSwitch Interface Cards
How to Configure EtherSwitch HWICs
22
Book Title
DETAILED STEPS
Verifying a Fast Ethernet Interface as Layer 2 Access
Use the
show running
-
config interface
command to verify the running configuration of the interface,
as shown below.
Router#
show running-config interface fastethernet 0/1/2
Building configuration...
Current configuration: 76 bytes
!
interface FastEthernet0/1/2
Command or Action
Purpose
Step 1
enable
Example:
Router> enable
Enables privileged EXEC mode.
•
Enter your password if prompted.
Step 2
configure
terminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
interface fastethernet
interface-id
Example:
Router(config)# interface fastethernet 0/1/0
Selects the interface to be configured.
Step 4
shutdown
Example:
Router(config-if)# shutdown
(Optional) Shuts down the interface to prevent traffic flow
until configuration is complete.
Step 5
switchport mode access
Example:
Router(config-if)# switchport mode access
Configures the interface as a Layer 2 access.
Step 6
switchport access vlan
vlan
-
num
Example:
Router(config-if)# switchport access vlan 1
For access ports, specifies the access VLAN.
Step 7
no shutdown
Example:
Router(config-if)# no shutdown
Activates the interface.
•
Required only if you shut down the interface.
Step 8
end
Example:
Router(config-if)# end
Exits configuration mode.