78 CHAPTER 5: ETHERNET CONFIGURATION COMMANDS
Parameters
■ port-list — List of valid ports. Where more than one port is listed,
separate the nonconsecutive ports with a comma and no spaces, use a
hyphen to designate a range of ports and group a list separated by
commas in brackets.
■ all — All Ethernet ports.
Default Configuration
This command has no default configuration.
Command Mode
Global Configuration mode
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 ports g18 to g20 and g1 to g24 are
grouped to receive the same command.
shutdown The shutdown Interface Configuration (Ethernet, port-channel) mode
command disables an interface. To restart a disabled interface, use the no
form of this command.
Syntax
shutdown
no shutdown
Default Configuration
The interface is enabled.
Console(config)#
interface range ethernet
g18-g20,g1-g24
Console(config-if)#