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.
Parameter | Type | Description |
---|---|---|
<interface-type> |
Enter to set the type of interface. The interface can
be:
|
|
<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. |
Global Configuration Mode
iS5Comm(config)# interface range gigabitethernet 0/1-2
iS5Comm(config-if-range)#
iS5Comm(config)# interface range vlan 1 - 2
iS5Comm(config-if-range)#