Reference Guide

Interfaces | 575
Example
Figure 18-10. Interface Range prompt with Multiple Ports
Example
Figure 18-11. 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 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.
Figure 18-12 is an example of a single range bulk configuration.
Example
Figure 18-12. Single Range Bulk Configuration
Figure 18-13 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 18-13. Multiple Range Bulk Configuration Gigabit Ethernet and Ten Gigabit Ethernet
Figure 18-14 shows how to use commas to add SONET, VLAN, and port-channel interfaces to the
range.
Example
Figure 18-14. Multiple Range Bulk Configuration with VLAN, and port channel
FTOS(conf)#interface range gi 2/0 - 23 , gi 2/1 - 10
FTOS(conf-if-range-gi-2/0-23#
Note: If a range has VLAN, physical, port-channel, and SONET interfaces, only commands
related to physical interfaces can be bulk configured. To configure commands specific to VLAN,
port-channel or SONET, only those respective interfaces should be configured in a particular
range.
FTOS(conf)#interface range gi 2/1 - 11 , gi 2/1 - 23
FTOS(conf-if-range-gi-2/1-23#
FTOS(config)# interface range gigabitethernet 5/1 - 23
FTOS(config-if-range)# no shutdown
FTOS(config-if-range)#
FTOS(config-if)# interface range gigabitethernet 5/1 - 23, tengigabitethernet 1/1 - 2
FTOS(config-if-range)# no shutdown
FTOS(config-if-range)#
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)#