Command Reference Guide
Port Configuration Commands
CLI Command Reference
September 2014 Page 269
HP Moonshot Switch Module CLI Command Reference
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
unit/slot/port and ending unit/slot/port, separated by a hyphen.
Example: The following example enters Interface Config mode for port 1/0/1:
(Routing) #configure
(Routing) (config)#interface 1/0/1
(Routing) (interface 1/0/1)#
Example: The following example enters Interface Config mode for ports 1/0/1 through 1/0/4:
(Routing) #configure
(Routing) (config)#interface 1/0/1-1/0/4
(Routing) (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.
Format
interface {unit/slot/port | unit/slot/port(startrange)-unit/slot/port(endrange)}
Mode Global Config
Default enabled
Format
auto-negotiate
Mode Interface Config
Note: Automatic sensing is disabled when automatic negotiation is disabled.
Format
no auto-negotiate
Mode Interface Config