How to Configure EtherSwitch HWICs
Configuring a Range of Interfaces
Use the following task to configure a range of interfaces.
SUMMARY STEPS
1.
2.
3.
DETAILED STEPS
Command or Action
Step 1
enable
Example:
Router> enable
Step 2
configure terminal
Example:
Router# configure terminal
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
Defining a Range Macro
Use the following task to define an interface range macro.
SUMMARY STEPS
1.
2.
3.
Book Title
14
enable
configure terminal
interface range {macro macro_name | FastEthernet interface-id [ - interface-id] | vlan vlan_ID}
[, FastEthernet interface-id [ - interface-id] | vlan vlan-ID]
enable
configure terminal
define interface-range macro_name {FastEthernet interface-id [ - interface-id] | {vlan vlan_ID -
vlan_ID} | [, FastEthernet interface-id [ - interface-id]
Cisco HWIC-4ESW and HWIC-D-9ESW EtherSwitch Interface Cards
Purpose
Enables privileged EXEC mode.
•
Enter your password if prompted.
Enters global configuration mode.
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.