
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.
Note
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
Содержание CN1610
Страница 3: ......
Страница 27: ...24 CLI Line Editing Conventions List available commands keywords or parameters Key Sequence Description ...
Страница 31: ...28 Accessing the CLI ...
Страница 309: ...306 Remote Monitoring Commands ...
Страница 473: ...470 Port Mirroring Commands 100 ...
Страница 487: ...484 DHCP L2 Relay Agent Commands Mode Privileged EXEC ...
Страница 607: ...604 IPv6 Management Commands ...