Cisco HWIC-4ESW and HWIC-D-9ESW EtherSwitch Interface Cards
How to Configure EtherSwitch HWICs
14
Book Title
Configuring a Range of Interfaces
Use the following task to configure a range of interfaces.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface range
{
macro
macro_name
|
FastEthernet
interface-id
[
-
interface-id
]
| vlan
vlan_ID
}
[
, FastEthernet
interface-id
[
-
interface-id
] |
vlan
vlan-ID
]
DETAILED STEPS
Defining a Range Macro
Use the following task to define an interface range macro.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
define interface-range
macro_name
{
FastEthernet
interface-id
[
-
interface-id
] | {
vlan
vlan_ID
-
vlan_ID
} | [
,
FastEthernet
interface-id
[
-
interface-id
]
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
range
{
macro
macro_name
|
FastEthernet
interface-id
[
-
interface-id
] |
vlan
vlan-ID
} [
,
FastEthernet
interface-id
[ -
interface-id
] |
vlan
vlan-ID
]
Example:
Router(config)# interface range FastEthernet
0/1/0 - 0/1/3
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.