11.07.2015 Views

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

define interface-rangeChapter 2<strong>Catalyst</strong> <strong>3750</strong>-E <strong>and</strong> <strong>3560</strong>-E <strong>Switch</strong> <strong>Cisco</strong> <strong>IOS</strong> Comm<strong>and</strong>sdefine interface-rangeUse the define interface-range global configuration comm<strong>and</strong> on the switch stack or on a st<strong>and</strong>aloneswitch to create an interface-range macro. Use the no form of this comm<strong>and</strong> to delete the defined macro.define interface-range macro-name interface-rangeno define interface-range macro-name interface-rangeSyntax Descriptionmacro-nameinterface-rangeName of the interface-range macro; up to 32 characters.Interface range; for valid values for interface ranges, see “Usage Guidelines.”DefaultsThis comm<strong>and</strong> has no default setting.Comm<strong>and</strong> ModesGlobal configurationComm<strong>and</strong> HistoryRelease12.2(35)SE2ModificationThis comm<strong>and</strong> was introduced.Usage GuidelinesThe 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 <strong>and</strong> the hyphen when entering aninterface-range. For example, gigabitethernet 1/0/1 - 2 is a valid range; gigabitethernet 1/0/1-2 isnot a valid rangeValid values for type <strong>and</strong> interface:• vlan vlan-id - vlan-ID, where the VLAN ID is 1 to 4094VLAN interfaces must have been configured with the interface vlan comm<strong>and</strong> (the showrunning-config privileged EXEC comm<strong>and</strong> displays the configured VLAN interfaces). VLANinterfaces not displayed by the show running-config comm<strong>and</strong> 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}2-126<strong>Catalyst</strong> <strong>3750</strong>-E <strong>and</strong> <strong>3560</strong>-E <strong>Switch</strong> Comm<strong>and</strong> ReferenceOL-9776-08

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!