interface ethernet
Use the interface ethernet command in Global Configuration mode to enter
the interface configuration mode to configure an Ethernet type interface.
Syntax
interface ethernet
interface — Valid Ethernet port. The full syntax is unit/port.
•
Default Configuration
This command has no default configuration.
Command Mode
Global Configuration mode
User Guidelines
This command has no user guidelines.
Example
The following example enables port 5/g18 for configuration.
console(config)# interface ethernet 5/g18
interface range ethernet
Use the interface range ethernet command in Global Configuration mode to
execute a command on multiple ports at the same time.
Syntax
interface range ethernet {
port-range — 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, refer to the Operating on Multiple
Objects (Range) discussion in the Using the CLI chapter.
•
all — All Ethernet ports.
interface
port-range |
all}
Ethernet Configuration Commands
289