Cisco HWIC-4ESW and HWIC-D-9ESW EtherSwitch Interface Cards
How to Configure EtherSwitch HWICs
20
Book Title
DETAILED STEPS
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
trunk
Example:
Router(config-if)# switchport mode trunk
Configures the interface as a Layer 2 trunk.
Note
Encapsulation is always dot1q.
Step 6
switchport
trunk
native
vlan
vlan-num
Example:
Router(config-if)# switchport trunk native vlan
1
(Optional) For 802.1Q trunks, specifies the native VLAN.
Step 7
switchport trunk allowed vlan
{
add
|
except
|
none
|
remove
}
vlan1
[
,
vlan
[
,
vlan
[
,
...
]]
Example:
Router(config-if)# switchport trunk allowed
vlan add vlan1, vlan2, vlan3
(Optional) Configures the list of VLANs allowed on the trunk.
All VLANs are allowed by default. You cannot remove any of
the default VLANs from a trunk.
Step 8
no shutdown
Example:
Router(config-if)# no shutdown
Activates the interface. (Required only if you shut down the
interface.)
Step 9
end
Example:
Router(config-if)# end
Exits configuration mode.