Switch User Manual

Ethernet Configuration Commands 405
Default Configuration
This command has no default configuration.
Command Mode
Global Configuration, Interface Range and Interface modes
User Guidelines
Commands under the interface range context are executed independently on
each active interface in the range. If the command returns an error on one of
the active interfaces, it does not stop executing commands on other active
interfaces.
Example
The following example shows how gigabitethernet ports 5/0/18 to 5/0/20 and
3/0/1 to 3/0/24 are ranged to receive the same command.
console(config)# interface range gigabitethernet
5/0/18-20,3/0/1-24
console(config-if-range)#
The following example shows how all gigabitethernet ports can be configured
at once.
console(config)# interface range gigabitethernet all
console(config-if-range)#
The following examples demonstrate various valid interface ranges:
console(config)#interface range gigabitEthernet 1/0/1-20
Parameter Description
port-range A list of valid ports to configure. Separate non-consecutive
ports with a comma and no spaces; use a hyphen to designate a
range of ports. For more detailed information, see Operating on
Multiple Objects (Range).
port-type Shows all interfaces of the specified type.
2CSPC4.XCT-SWUM2XX1.book Page 405 Monday, October 3, 2011 11:05 AM