Command Line Reference Guide

You can enter up to six comma-separated ranges. Separate each
interface type and port range with a space, comma, and space; for
example: interface range tengigabitethernet 0/1 -
5 , interface range tengigabitethernet 0/10 -
11.
Comma-separated port ranges can include VLANs, port-channels,
and physical interfaces; for example: interface range
tengigabitethernet 0/1 - 5 , vlan 2 – 10 ,
port—channel 1 – 5.
Defaults none
Command Modes CONFIGURATION
Command History
Version 9.0(1.3) Introduced on the S5000.
Example (Single
Range)
This example shows how to define an interface range macro named test. Execute the show
running-config
command to display the macro definition.
FTOS(config)# define interface-range test tengigabitethernet
0/0 - 3, gigabitethernet 0/10 - 11, tengigabitethernet 1/12 -
20
FTOS# show running-config | grep define
define interface-range test tengigabitethernet 0/0 - 3,
gigabitethernet 0/10 - 11, tengigabitethernet 1/12 - 20
FTOS(config)#interface range macro test
FTOS(config-if-range-te-0/0-3,gi-0/10-11,te-1/12-20)#
Related
Commands
interface range – configures a range of command (bulk configuration)
interface range macro name – runs an interface range macro.
interface range macro name
Run the interface-range macro to automatically configure the pre-defined range of interfaces.
S5000
Syntax
interface range macro macro-name
Parameters
macro
macro-
name
Enter the name of an existing macro.
Defaults none
Command Modes CONFIGURATION
Command History
Version 9.0(1.3) Introduced on the S5000.
504