Reference Guide

Interfaces | 435
The show range command is available under interface range mode. This command allows you to display
all interfaces that have been validated under the interface range context.
The
show configuration command is also available under the interface range mode. This command allows
you to display the running configuration only for interfaces that are part of interface range.
Bulk Configuration Examples
The following are examples of using the interface range command for bulk configuration:
Create a single-range
Create a multiple-range
Exclude duplicate entries
Exclude a smaller port range
Overlap port ranges
Commas
Add ranges
Create a single-range
FTOS(config)# interface range gigabitethernet 5/1 - 23
FTOS(config-if-range-gi-5/1-23)# no shutdown
FTOS(config-if-range-gi-5/1-23)#
Create a multiple-range
FTOS(conf)#interface range tengigabitethernet 3/0, gigabitethernet 2/1 - 47, vlan 1000
FTOS(conf-if-range-gi-2/1-47,so-5/0)#
Exclude duplicate entries
Duplicate single interfaces and port ranges are excluded from the resulting interface range prompt:
FTOS(conf)#interface range vlan 1 , vlan 1 , vlan 3 , vlan 3
FTOS(conf-if-range-vl-1,vl-3)#
FTOS(conf)#interface range gigabitethernet 2/0 - 23, gigabitethernet 2/0 - 23, gigab 2/0 - 23
FTOS(conf-if-range-gi-2/0-23)#
Exclude a smaller port range
If interface range has multiple port ranges, the smaller port range is excluded from prompt:
FTOS(conf)#interface range gigabitethernet 2/0 - 23 , gigab 2/1 - 10
FTOS(conf-if-range-gi-2/0-23)#
Note: When creating an interface range, interfaces appear in the order they were entered and are not sorted.