
Configuring the Cisco Gigabit EtherSwitch EHWIC
How to Configure Gigabit EtherSwitch EHWICs
11
Configuring the Cisco Gigabit EtherSwitch EHWIC
OL-23155-01
DETAILED STEPS
Defining a Range Macro
Use the define interface-range command in global configuration mode to define an interface range
macro:
SUMMARY STEPS
1. configure terminal
2. define interface-range macro-name {gigabitethernet slot/first-interface - last-interface] | vlan
vlan-ID - vlan-ID}
3. exit
Command Purpose
Step 1
configure terminal
Example:
Router#configure terminal
Enters global configuration mode.
Step 2
interface range {gigabitethernet interfacenumber -
interfacenumber | vlan number | macro word}
Example:
Router(config)#interface range gigabitethernet
0/2/0 - 3
Selects the range of interfaces to be configured.
• The space around the dash is required. For
example, the command interface range
gigabitethernet 0/2/0 - 3 is valid; the command
interface range gigabitethernet 0/2/0-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.
Step 3
exit
Example:
Router(config)#exit
Exits global configuration mode.
Komentarze do niniejszej Instrukcji