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