Chapter 5: Switching Commands 309
Port Configuration Commands
This section describes the commands you use to view and configure port settings.
interface This command gives you access to the Interface Config mode, which allows you
to enable or modify the operation of an interface (port). You can also specify a
range of ports to configure at the same time by specifying the starting slot/port
and ending slot/port, separated by a hyphen.
The following example enters Interface Config mode for port 1/0/1:
(CN1610) #configure
(CN1610) (config)#interface 1/0/1
(CN1610) (interface 1/0/1)#
The following example enters Interface Config mode for ports 1/0/1 through
1/0/4:
(CN1610) #configure
(CN1610) (config)#interface 1/0/1-1/0/4
(CN1610) (interface 1/0/1-1/0/4)#
auto-negotiate This command enables automatic negotiation on a port or range of ports.
no auto-negotiate This command disables automatic negotiation on a port.
Automatic sensing is disabled when automatic negotiation is disabled.
Format
interface {slot/port
| slot/port
(startrange)-
slot/port
(endrange)
}
Mode Global Config
Default enabled
Format
auto-negotiate
Mode Interface Config