interface range

To select the range of physical interfaces and VLAN interfaces to be configured, use the command interface range in Global Configuration Mode. The no form of the command selects the range of VLAN interfaces to be removed.

interface range

interface range { {<interface-type> } { <0/a-b,0/c,...> } { | vlan } { <vlan-id(1-4094)> } { - } { <vlan-id(1-4094)>]} }

no interface range

no interface range { vlan } { <vlan-id(1-4094)> } { - } { <vlan-id(1-4094)>]} }

Parameters

Parameter Type Description
<interface-type>   Enter to set the type of interface. The interface can be:
  • fastethernet – Officially referred to as 100BASE-T standard. This is a version of LAN standard architecture that supports data transfer up to 100 Megabits per second.
  • gigabitethernet – A version of LAN standard architecture that supports data transfer up to 1 Gigabit per second.
  • extreme-ethernet – A version of Ethernet that supports data transfer up to 10 Gigabits per second. This Ethernet supports only full duplex links.
<slot/port-port>   Enter to configure the range of the specified interface identifier. This is a unique value that represents the specific interface. This value is a combination of slot number and port number separated by a slash. An example is 0/1-2.
vlan   Enter to select the range of the specified VLAN ID (the range of L2 and IVR interfaces to be configured). This is a unique value that represents the specific VLAN created and activated.
<vlan-id(1-4094)> Integer Enter a value for VLAN-ID start of range. This value ranges from 1 to 4094.
Note:

Maximum number of PseudoWire interfaces supported in the system is 100.

-   Enter a hyphen in to separate both values in the range.
Note:

Space should be provided before and after the hyphen (i.e. the command interface range vlan 1 – 4 is valid, whereas the command interface range vlan 1– 4 is not valid.

<vlan-id(1-4094)> Integer Enter a value for VLAN-ID start of range. This value ranges from 1 to 4094.
Note:

Maximum number of PseudoWire interfaces supported in the system is 100.

Mode

Global Configuration Mode

Default

default

Prerequisites

For port channel range, the specified range must be configured using the interface command.

Examples

iS5Comm(config)# interface range gigabitethernet 0/1-2

iS5Comm(config-if-range)#

iS5Comm(config)# interface range vlan 1 - 2

iS5Comm(config-if-range)#