Cisco Catalyst 4500 Series Configuration Manual page 339

Ios software configuration guide isco ios xe 3.9.0e and ios 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 2
Use these formats when entering the port-range:
Valid values for interface-type are as follows:
Although the port-channel interface range is 1 to 256, in a VSS setup, there is a discrepancy in the way
the range is displayed on the CLI when you enter the beginning of the interface range before you enter
the ? prompt. This discrepancy is not seen on a standalone switch.
You cannot specify both a macro and an interface range in the same command. After creating a macro,
you can enter additional ranges. If you have already entered an interface range, the CLI does not allow
you to enter a macro.
You can specify a single interface in the port-range value. This makes the command similar to the
interface interface-number command.
Examples
The following example shows how to use the interface range command to interface to FE 5/18 - 20:
Switch(config)# interface range fastethernet 5/18 - 20
Switch(config-if)#
This command shows how to run a port-range macro:
Switch(config)# interface range macro macro1
Switch(config-if)#
Related Commands
Command
define interface-range
show running config (refer to Cisco IOS
documentation)
interface-type {mod}/{first-port} - {last-port}
interface-type {mod}/{first-port} - {last-port}
FastEthernet
GigabitEthernet
Vlan vlan_id
When you enter the beginning of the interface range, the CLI output is displayed as follows:
Switch(config)# interface range port-channel 1 -?
<1-128>
end interface number
To continue, you have to enter the beginning of the next number range:
Switch(config)# interface range port-channel 129 - ?
<129-256>
end interface number
If you do not enter the beginning of the interface range, the CLI output is displayed as follows:
Switch (config)# interface range port-channel ?
<1-256>
Port-channel interface number
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release XE 3.9.xE and 15.2(5)Ex
Description
Creates a macro of interfaces.
Displays the running configuration for a switch.
interface range
2-299

Advertisement

Table of Contents
loading

Table of Contents