Installation guide

Cisco HWIC-4ESW and HWIC-D-9ESW EtherSwitch Interface Cards
Configuration Examples for EtherSwitch HWICs
72
Cisco IOS Release 12.3(8)T4
OL-6454-01
Range Macro Definition Example
The following example shows an interface-range macro named enet_list being defined to select
Fast Ethernet interfaces 0/1/0 through 0/1/3:
Router(config)#define interface-range enet_list fastethernet 0/1/0 - 0/1/3
Router(config)#
The following example shows how to change to the interface-range configuration mode using the
interface-range macro enet_list:
Router(config)#interface range macro enet_list
Optional Interface Feature: Examples
Interface Speed Example, page 72
Setting the Interface Duplex Mode Example, page 72
Adding a Description for an Interface Example, page 72
Interface Speed Example
The following example shows the interface speed being set to 100 Mbps on Fast Ethernet interface 0/3/7:
Router(config)#interface fastethernet 0/3/7
Router(config-if)# speed 100
Setting the Interface Duplex Mode Example
The following example shows the interface duplex mode being set to full on Fast Ethernet interface
0/3/7:
Router(config)#interface fastethernet 0/3/7
Router(config-if)#duplex full
Adding a Description for an Interface Example
The following example shows how to add a description of Fast Ethernet interface 0/3/7:
Router(config)#interface fastethernet 0/3/7
Router(config-if)#description Link to root switch
Stacking: Example
The following example shows how to stack two HWICs.
Router(config)#interface FastEthernet 0/1/8
Router(config-if)#no shutdown
Router(config-if)#switchport stacking-partner interface FastEthernet 0/3/8
Router(config-if)#interface FastEthernet 0/3/8
Router(config-if)#no shutdown