Define Interface-Range - Cisco Catalyst 4500 Series Command Reference Manual

Cisco ios command reference release ios xe 3.4.0sg and ios 15.1(2)sg
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 2
Cisco IOS Commands for the Catalyst 4500 Series Switches

define interface-range

To create a macro of interfaces, use the define interface-range command.
Syntax Description
macro-name
interface-range
Defaults
This command has no default settings.
Command Modes
Global configuration mode
Command History
Release
12.1(8a)EW
Usage Guidelines
The macro name is a character string of up to 32 characters.
A macro can contain up to five ranges. An interface range cannot span modules.
When entering the interface-range, use these formats:
The valid values for interface-type are as follows:
Examples
This example shows how to create a multiple-interface macro:
Switch(config)# define interface-range macro1 gigabitethernet 4/1-6, fastethernet 2/1-5
Switch(config)#
Related Commands
Command
interface range
OL-27596 -01
define interface-range macro-name interface-range
Name of the interface range macro; up to 32 characters.
List of valid ranges when specifying interfaces; see the "Usage Guidelines"
section.
Modification
Support for this command was introduced on the Catalyst 4500 series switch.
interface-type {mod}/{first-interface} - {last-interface}
interface-type {mod}/{first-interface} - {last-interface}
FastEthernet
GigabitEthernet
Vlan vlan_id
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
Description
Runs a command on multiple ports at the same time.
define interface-range
2-183

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents