Define Interface-Range - Cisco Catalyst 3030 Command Reference Manual

Blade switch
Hide thumbs Also See for Catalyst 3030:
Table of Contents

Advertisement

Chapter 2
Cisco Catalyst Blade Switch 3030 Cisco IOS Commands

define interface-range

Use the define interface-range global configuration command to create an interface-range macro. Use
the no form of this command to delete the defined macro.
Syntax Description
macro-name
interface-range
Defaults
This command has no default setting.
Command Modes
Global configuration
Command History
Release
12.2(25)SEE
Usage Guidelines
The macro name is a 32-character maximum character string.
A macro can contain up to five ranges.
All interfaces in a range must be the same type; that is, all Gigabit Ethernet ports, all EtherChannel ports,
or all VLANs, but you can combine multiple interface types in a macro.
When entering the interface-range, use this format:
Valid values for type and interface:
For physical interfaces:
78-17262-01
define interface-range macro-name interface-range
no define interface-range macro-name interface-range
Name of the interface-range macro; up to 32 characters.
Interface range; for valid values for interface ranges, see "Usage Guidelines."
Modification
This command was introduced.
type {first-interface} - {last-interface}
You must add a space between the first interface number and the hyphen when entering an
interface-range. For example, gigabitethernet 0/1 - 2 is a valid range; gigabitethernet 0/1-2 is not
a valid range
vlan vlan-id , where the VLAN ID is 1 to 4094
VLAN interfaces must have been configured with the interface vlan command (the show
running-config privileged EXEC command displays the configured VLAN interfaces). VLAN
interfaces not displayed by the show running-config command cannot be used in interface-ranges.
port-channel port-channel-number, where port-channel-number is from 1 to
gigabitethernet module/{first port} - {last port}
module is always 0.
the range is type 0/number - number (for example, gigabitethernet 0/1 - 2).
Cisco Catalyst Blade Switch 3030 Command Reference
define interface-range
2-49

Advertisement

Table of Contents
loading

Table of Contents