Interfaces | 241Figure 13-21. Multiple-Range Bulk Configuration with VLAN, and Port-channelInterface Range MacrosYou can define an interface-range macro to automatically select a range of interfaces for configuration.Before you can use the macro keyword in the interface-range macro command string, you must define themacro.To define an interface-range macro, enter the following command:Define the Interface RangeFigure 13-22 shows how to define an interface-range macro named “test” to select Ten Gigabit Ethernetinterfaces 5/1 through 5/4.Figure 13-22. Define an Interface Range MacroChoose an Interface-range MacroTo use an interface-range macro in the interface range command, enter this command:Figure 13-23 shows how to change to the interface-range configuration mode using the interface-rangemacro named “test”.Figure 13-23. Change the Interface Range ConfigurationCommand Syntax Command Mode PurposeFTOS (config)# define interface-range macro_name {vlanvlan_ID - vlan_ID} | {{tengigabitethernet | fortyGigE} slot/interface - interface} [ , {vlan vlan_ID - vlan_ID}{{tengigabitethernet | fortyGigE} slot/interface - interface}]CONFIGURATION Defines the interface-rangemacro and saves it in therunning configuration file.Command Syntax Command Mode Purposeinterface range macro name CONFIGURATION Selects the interfaces range to be configured using the valuessaved in a named interface-range macro.FTOS(conf-ifrange-te-5/1-23-te-1/1-2)# interface range Vlan 2 – 100 , Port 1 – 25FTOS(conf-if-range-te-5/1-23-te-1/1-2-vl-2-100-po-1-25)# no shutdownFTOS(conf-if-range)#FTOS(conf)# define interface-range test tengigabitethernet 5/1 - 4