Reference Guide

Interfaces | 427
FTOS(conf-if-range-gi-2/1-23#
Only VLAN and port-channel interfaces created using the interface vlan and interface port-channel
commands can be used in the interface range command.
Use the show running-config command to display the VLAN and port-channel interfaces. VLAN or
port-channel interfaces that are not displayed in the show running-config command can not be used
with the bulk configuration feature of the
interface range command. You cannot create virtual
interfaces (VLAN, Port-channel) using the interface range command.
Example
Figure 20-10. Single Range Bulk Configuration
FTOS(config)# interface range gigabitethernet 5/1 - 23
FTOS(config-if-range)# no shutdown
FTOS(config-if-range)#
Figure 20-11 shows how to use commas to add different interface types to the range enabling all
Gigabit Ethernet interfaces in the range 5/1 to 5/23 and both Ten Gigabit Ethernet interfaces 1/1 and
1/2.
Example
Figure 20-11. Multiple Range Bulk Configuration Gigabit Ethernet and Ten Gigabit Ethernet
FTOS(config-if)# interface range gigabitethernet 5/1 - 23, tengigabitethernet
1/1 - 2
FTOS(config-if-range)# no shutdown
FTOS(config-if-range)#
Figure 20-12 shows how to use commas to add VLAN, and port-channel interfaces to the range.
Example
Figure 20-12. Multiple Range Bulk Configuration with VLAN, and port channel
FTOS(config-if)# interface range gigabitethernet 5/1 - 23, tengigabitethernet
1/1 – 2, Vlan 2 – 100 , Port 1 – 25
FTOS(config-if-range)# no shutdown
FTOS(config-if-range)#
Related
Commands
interface port-channel Configure a port channel group.
interface vlan Configure a VLAN interface.
show config (from INTERFACE
RANGE mode)
Show the bulk configuration interfaces.
show range Show the bulk configuration ranges.
interface range macro (define) Define a macro for an interface-range.