Ethernet Configuration Commands
21
Ethernet Configuration Commands
78-20269-01 Command Line Interface Reference Guide
21.1
interface
Use the interface Global Configuration mode command to configure an interface
and enter interface configuration mode.
Syntax
interface
interface-id
Parameters
interface-id—Specifies an interface ID. The interface ID can be one of the
following types: Ethernet port or Port-channel.
Example - For Gigabit Ethernet ports:
console(config)# interface gi1-20
Example - For Fast Ethernet ports:
console(config)# interface fa1-2
Example - For Port Channels (LAGs):
console(config)# interface port-channel 1
21.2
interface range
Use the interface range command to execute a command on multiple ports at the
same time.
Syntax
interface-id-list
interface range
Parameters
interface-id-list—Specify list of interface IDs. The interface ID can be one of the
following types: Ethernet port or Port-channel
21
274