Command Line Reference Guide

Bulk configuration is created if at least one interface is valid.
Non-existing interfaces are excluded from the bulk configuration with a warning
message.
The interface range prompt includes interface types with slot/port information
for valid interfaces. The prompt allows for a maximum of 32 characters. If the bulk
configuration exceeds 32 characters, it is represented by an ellipsis ( ... ).
When the interface range prompt has multiple port ranges, the smaller port
range is excluded from the prompt.
If overlapping port ranges are specified, the port range is extended to the smallest
start port and the biggest end port.
Example (Bulk)
FTOS(conf)#interface range fc 0/0 - 5 , te 1/12 - 23 , te 3/36
- 47
% Warning: Non-existing ports (not configured) are ignored by
interface-range
Example (Multiple
Ports)
FTOS(conf)#interface range te 1/12 - 23 , te 2/24 - 30
FTOS(conf-if-range-te-1/12-23,te-2/24-30)#
Example
(Overlapping
Ports)
FTOS(conf)#interface range te 2/12 - 16 , te 2/12 - 23
FTOS(conf-if-range-te-2/12-23)#
Usage
Information
Only VLAN and port-channel interfaces created using the interface vlan and
interface port-channel commands can be used in the interface range
command.
Use the show running-config command to display the VLAN and port-channel
interfaces. VLAN or port-channel interfaces that are not displayed in the show running-
config
command can not be used with the bulk configuration feature of the interface
range command. You cannot create virtual interfaces (VLAN, Port-channel) using the
interface range command.
NOTE: If a range has VLAN, physical, and port-channel, interfaces, only commands related
to physical interfaces can be bulk configured. To configure commands specific to VLANs
or port-channels, only those respective interfaces should be configured in a particular
range.
Example (Single
Range)
This example shows a single range bulk configuration.
FTOS(config)# interface range tengigabitethernet 3/36 - 47
FTOS(config-if-range-te-3/36-47)# no shutdown
FTOS(config-if-range)#
Example (Multiple
Range)
This example shows how to use commas to add different interface types to the range enabling
all Ten Gigabit Ethernet interfaces in the range 0/0 to 0/11 and two Forty Gigabit Ethernet
interfaces 48 and 52.
FTOS(config-if)# interface range gigabitethernet 0/0 - 11 ,
fortygigabitethernet 48 - 52
FTOS(config-if-range-te-0/0-11,fo-48-52)# no shutdown
FTOS(config-if-range)#
502