Interfaces | 441
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
Figure 20-20. Creating a Single-Range Bulk Configuration
Create a multiple-range
Figure 20-21. Creating a Multiple-Range Prompt
Exclude duplicate entries
Duplicate single interfaces and port ranges are excluded from the resulting interface range prompt:
Figure 20-22. Interface Range Prompt Excluding Duplicate Entries
Exclude a smaller port range
If interface range has multiple port ranges, the smaller port range is excluded from prompt:
FTOS(config)# interface range gigabitethernet 5/1 - 23
FTOS(config-if-range-gi-5/1-23)# no shutdown
FTOS(conf)#interface range tengigabitethernet 3/0 , gigabitethernet 2/1 - 47 , vlan 1000
FTOS(conf-if-range-gi-2/1-47,so-5/0)#
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)#