Command Line Reference Guide

Example (Multiple
Range)
This example shows how to use commas to add VLAN and port-channel interfaces to the
range.
FTOS(config-if)# interface range gigabitethernet 2/24 - 35 ,
tengigabitethernet 3/36 – 41 ,
vlan 2 – 100 , port-channel 1 – 25
FTOS(config-if-range-gi-2/24-35,te-3/36-41,vl-2-100,po-1-25)#
no shutdown
FTOS(config-if-range)#
Related
Commands
interface port-channel – configures a port channel group.
interface vlan – configures a VLAN interface.
show config (from INTERFACE RANGE mode) – shows the bulk configuration interfaces.
show range – shows the bulk configuration ranges.
interface range macro (define) – defines a macro for an interface-range.
interface range macro (define)
Defines a macro for an interface range and then saves the macro in the running configuration.
S5000
Syntax
define interface-range macro-name type slot/port - port, ...
Parameters
macro name
Enter up to 16 characters for the macro name.
interface range
type slot/port -
port, ...
Use the define command, and enter the keywords interface
range followed by the macro name, interface type, and slot/port or
number information. Valid slot numbers are 0-11. The valid port
numbers for each interface type are:
For a 10-Gigabit Ethernet interface, enter the keyword
tengigabitethernet followed by slot/port numbers.
The port range is 0 to 63.
For a 40-Gigabit Ethernet interface, enter the keyword
fortyGigE followed by a port number. The port numbers
are 48, 52, 56, and 60.
For a Port Channel interface, enter the keywords port-
channel followed by a number from 1 to 128.
For a VLAN interface, enter the keyword vlan followed by a
VLAN id number from 1 to 4094.
For a Fibre Channel interface, enter the keyword
FibreChannel followed by slot/port numbers. The port
range is 0 to 47.
A port range must contain a space before and after the dash; for
example: interface range tengigabitethernet 0/1 -
5 is valid; interface range tengigabitethernet
0/1-5
is not valid.
503