Installation guide
Cisco HWIC-4ESW and HWIC-D-9ESW EtherSwitch Interface Cards
How to Configure EtherSwitch HWICs
12
Cisco IOS Release 12.3(8)T4
OL-6454-01
Configuring a Range of Interfaces
Use the interface range command in global configuration mode to configure a range of interfaces.
Defining a Range Macro
Use the define interface-range command in global configuration mode to define an interface range
macro:
Verifying Configuration of an Interface Range Macro
Use the show running-configuration command to show the defined interface-range macro
configuration, as shown below:
Router#show running-configuration | include define
define interface-range first_three FastEthernet0/1/0 - 2
Command Purpose
Router(config)#interface range {macro
macro_name
|
FastEthernet
interface-id
[ -
interface-id
] | vlan
vlan_ID} [, FastEthernet
interface-id
[ -
interface-id
] | vlan
vlan_ID
]
Select the range of interfaces to be configured.
• The space before the dash is required. For example, the
command interface range fastethernet 0/<slot>/0 -
0/<slot>/3 is valid; the command interface range
fastethernet 0/<slot>/0-0/<slot>/3 is not valid.
• You can enter one macro or up to five comma-separated
ranges.
• Comma-separated ranges can include both VLANs and
physical interfaces.
• You are not required to enter spaces before or after the
comma.
• The interface range command only supports VLAN
interfaces that are configured with the interface vlan
command.
Command Purpose
Router(config)#define interface-range
macro_name
{FastEthernet
interface-id
[-
interface-id
]|{vlan
vlan_ID
-
vlan_ID
}|[, FastEthernet
interface-id
[
-
interface-id
]
Define the interface-range macro and save it in NVRAM.