Reference Guide

Interfaces | 247
Example
Figure 14-13. Interface Range prompt Overlapping Port Ranges
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 cannot 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.
Figure 14-14 is an example of a single range bulk configuration.
Example
Figure 14-14. Single Range Bulk Configuration
Figure 14-15 shows how to use commas to add different interface types to the range enabling all Ten
Gigabit Ethernet interfaces in the range 5/1 to 5/23 and both Ten Gigabit Ethernet interfaces 1/1 and
1/2.
Example
Figure 14-15. Multiple Range Bulk Configuration Gigabit Ethernet and Ten Gigabit
Ethernet
Figure 14-16 shows how to use commas to add VLAN and port-channel interfaces to the range.
Example
Figure 14-16. Multiple Range Bulk Configuration with VLAN and port channel
Related
Commands
Note: If a range has VLAN, physical, and port-channel interfaces, only commands related to
physical interfaces can be bulk configured. To configure commands specific to VLAN or
port-channel, only those respective interfaces should be configured in a particular range.
FTOS(conf)#interface range tengig 2/1 - 11 , tengig 2/1 - 23
FTOS(conf-if-range-tengig-2/1-23#
FTOS(conf)# interface range tengigabitethernet 5/1 - 23
FTOS(conf-if-range)# no shutdown
FTOS(conf-if-range)#
FTOS(conf-if)# interface range tengigabitethernet 5/1 - 23, tengigabitethernet 1/1 - 2
FTOS(conf-if-range)# no shutdown
FTOS(conf-if-range)#
FTOS(conf-if)# interface range tengigabitethernet 5/1 - 23, tengigabitethernet 1/1 – 2,
Vlan 2 – 100 , Port 1 – 25
FTOS(conf-if-range)# no shutdown
FTOS(conf-if-range)#
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.