Reference Guide

Interfaces | 443
Define the Interface Range
This example shows how to define an interface-range macro named “test” to select Fast Ethernet interfaces
5/1 through 5/4:
To show the defined interface-range macro configuration, use the command
show running-config in the
EXEC mode. The example below shows how to display the defined interface-range macro named “test”:
Choose an Interface-range Macro
To use an interface-range macro in the interface range command, enter this command:
The example below shows how to change to the interface-range configuration mode using the
interface-range macro named “test”.
Command Syntax Command Mode Purpose
interface range macro name CONFIGURATION Selects the interfaces range to be configured using the values
saved in a named interface-range macro.
FTOS(config)# define interface-range test gigabitethernet 5/1 - 4
FTOS# show running-config | include define
define interface-range test GigabitEthernet5/1 - 4
FTOS#
FTOS(config)# interface range macro test
FTOS(config-if)#