CLI Reference Guide-R01

Table Of Contents
Chapter 11
| Interface Commands
– 397 –
Interface Configuration
interface This command configures an interface type and enters interface configuration
mode. Use the no form with a trunk to remove an inactive interface. Use the no
form with a Layer 3 VLAN (normal type) to change it back to a Layer 2 interface.
Syntax
interface interface
no interface interface [port-channel channel-id | vlan vlan-id]
interface
ethernet unit/port-list
unit - Unit identifier. (Range: 1)
port-list - Physical port number or list of port numbers. Separate
nonconsecutive port numbers with a comma and no spaces; or use
a hyphen to designate a range of port numbers. (Range: 1-28)
port-channel channel-id (Range: 1-28)
vlan vlan-id (Range: 1-4094)
Default Setting
None
Command Mode
Global Configuration
Example
To specify several different ports, enter the following command:
Console(config)#interface ethernet 1/17-20,23
Console(config-if)#