interface ethernet

Configures an Ethernet interface.

Syntax

interface ethernet slot/port
no interface ethernet

Command Default

No Ethernet interface is configured.

Parameters

slot/port
Specifies an interface name in slot/port format. Separate multiple ports with a comma. Use a hyphen (-) to indicate a range of ports. For example, 0/1-3,5,7-9 or 0/49:1-2,4. The maximum number of characters is 253.

Modes

Global configuration mode

Usage Guidelines

All interfaces in a range must use the same speed.

If the breakout mode command has been configured on the port, the breakout ports of the Ethernet interface appear after the slot and port as breakout ports 1 through 4. For example, the breakout interfaces of connector 0/25 have the following naming convention:
interface ethernet 0/25:1
interface ethernet 0/25:2
interface ethernet 0/25:3
interface ethernet 0/25:4

To configure Redundant Management, configure a physical port on the device (for example, 0/15) as a standby management port.

Examples

The following example configures breakout ports of Ethernet interface 0/1:
device# configure terminal
device(config)# interface ethernet 0/1:1
device(config)# interface ethernet 0/1:2
device(config)# interface ethernet 0/1:3
device(config)# interface ethernet 0/1:4

The following example configures port 0/15 as the redundant management port:

device# configure terminal
device(config)# interface ethernet 0/15
device(conf-if-eth-0/15)# redundant-management enable
The following example configures a range of ports:
device# configure terminal
device(config)# interface ethernet 0/1-2,4,6-7
device(config-if-eth-0/1-2,4,6-7)#