interface range macro (define)
Defines a macro for an interface range and then saves the macro in the running configuration.
C-Series, E-Series, S-Series, Z-Series
Syntax
define interface range macro name interface , interface , ...
Parameters
name
Enter up to 16 characters for the macro name.
interface,
interface,...
Enter the keywords interface range and one of the interfaces
— slot/port, port-channel, or VLAN number. Select the range of
interfaces for bulk configuration. You can enter up to six comma-
separated ranges. Spaces are not required between the commas.
Comma-separated ranges can include VLANs, port-channels, and
physical interfaces.
Slot/Port information must contain a space before and after the dash.
For example, interface range gigabitethernet 0/1 -
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.
705