Reference Guide

5 is valid; interface range gigabitethernet 0/1-5 is
not valid.
For a 1-Gigabit Ethernet interface, enter the keyword
GigabitEthernet followed by the slot/port information.
For a Port Channel interface, enter the keywords port-
channel followed by a number. For the C-Series and S-
Series, the range is 1 to 128. For the E-Series, the range is 1 to
255 for TeraScale and 1 to 512 for ExaScale.
For a SONET interface, enter the keyword sonet followed by
the slot/port information.
For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet followed by the slot/port
information.
For a 40-Gigabit Ethernet interface, enter the keyword
fortyGigE followed by the slot/port information.
For a VLAN, enter the keyword vlan followed by a number
from 1 to 4094.
Defaults none
Command Modes CONFIGURATION
Command History
Version 8.3.11.1 Introduced on the Z9000.
Version 8.5.1.0 Added support for 4-port 40G line cards on ExaScale.
Version 8.2.1.0 Added support for 4093 VLANs on E-Series ExaScale. Prior releases
supported 2094.
Version 8.1.1.0 Introduced on the E-Series ExaScale.
Version 7.6.1.0 Introduced on the S-Series.
Version 7.5.1.0 Introduced on the C-Series.
pre-Version
6.1.1.0
Introduced on the E-Series.
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
tengigabitethernet0/0-3,
gigabitethernet 5/0-47, gigabitethernet 13/0-89
FTOS# show running-config | grep define
define interface-range test tengigabitethernet0/0-3,
gigabitethernet5/0-47,
gigabitethernet 13/0 - 89
FTOS(config)#interface range macro test
FTOS(config-if-range-te-0/0-3,gi-5/0-47,gi-13/0-89)#
Related
Commands
interface range – configures a range of command (bulk configuration)
interface range macro name – runs an interface range macro.
784