interface ethernet

Changes the configuration mode to interface or range of interfaces.

Syntax

Interface ethernet IFNAME

Parameters

IFNAME
Specifies the interface name in slot/port or slot/port:breakout format. Example: 1/1, 1/1-3, 5, 2/7-9, 10:1-4.

Modes

Config mode

Usage Guidelines

This command is available only to users with the admin role.

Examples

The following examples change the config mode to interface configuration mode.

device# configure terminal
device(config)# interface ethernet 1/10-14
device(config-if-eth 1/10-14)#

device(config)# int e 1/1-16,2/1-16
device(config-if-eth-1/1-16,2/1-16)#

device(config-hardware)# int e 1/2:1-4,2/1-16
device(config-if-eth-1/2:1-4,2/1-16)#