Define Interface-Range - Cisco Catalyst 3560-X Command Reference Manual

Hide thumbs Also See for Catalyst 3560-X:
Table of Contents

Advertisement

Chapter 2
Catalyst 3750-X and 3560-X Switch Cisco IOS Commands

define interface-range

Syntax Description
Defaults
Command Modes
Command History
Usage Guidelines
OL-21522-02
Downloaded from
www.Manualslib.com
Use the define interface-range global configuration command on the switch stack or on a standalone
switch to create an interface-range macro. Use the no form of this command to delete the defined macro.
define interface-range macro-name interface-range
no define interface-range macro-name interface-range
macro-name
Name of the interface-range macro; up to 32 characters.
interface-range
Interface range; for valid values for interface ranges, see "Usage Guidelines."
This command has no default setting.
Global configuration
Release
12.2(53)SE2
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 Fast Ethernet ports, 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:
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 1/0/1 - 2 is a valid range; gigabitethernet 1/0/1-2 is
not a valid range
Valid values for type and interface:
vlan vlan-id - 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 48
gigabitethernet stack member/module/{first port} - {last port}
tengigabitethernet stack member/module/{first port} - {last port}
manuals search engine
Modification
This command was introduced.
Catalyst 3750-X and 3560-X Switch Command Reference
define interface-range
2-133

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3750-x

Table of Contents