Reference Guide

5 is valid; interface range gigabitethernet 0/1-5 is
NOT valid.
For a 1-Gigabit Ethernet interface, enter the keyword
GigabitEthernet then the slot/port information.
For a Port Channel interface, enter the keywords port-
channel
then a number. The range is from 1 to 128.
For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet then the slot/port information.
For a 40-Gigabit Ethernet interface, enter the keyword
fortyGigE then the slot/port information.
For a Tunnel interface, enter the keyword tunnel then the
tunnel ID. The range is from 1 to 16383.
For a VLAN, enter the keyword vlan followed by a number
from 1 to 4094.
Defaults none
Command Modes CONFIGURATION
Command History
This guide is platform-specific. For command information about other platforms, refer to the
relevant
FTOS Command Line Reference Guide
.
The following is a list of the FTOS version history for this command.
Version 8.3.19.0 Introduced on the S4820T.
Version 8.3.11.1 Introduced on the Z9000.
Version 8.3.7.0 Introduced on the S4810.
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)#
507