Command Reference Guide
Port Configuration Commands
CLI Command Reference
September 2014 Page 272
HP Moonshot Switch Module CLI Command Reference
speed
Use this command to enable or disable auto-negotiation and set the speed that will be advertised by that port.
The duplex parameter allows you to set the advertised speed for both half as well as full duplex mode.
Use the
auto keyword to enable auto-negotiation on the port. Use the command without the auto keyword
to ensure auto-negotiation is disabled and to set the port speed and mode according to the command values.
If auto-negotiation is disabled, the speed and duplex mode must be set
.
speed all
This command sets the speed and duplex setting for all interfaces.
show port
This command displays port information for a single interface, range of interfaces, or all interfaces.
Default Auto-negotiation is enabled.
Format
speed {auto {10G | 100 } {half-duplex | full-duplex}}
Mode Interface Config
Format
speed all {100 | 10} {half-duplex | full-duplex}
Mode Global Config
Format
show port {intf-range | all}
Mode Privileged EXEC
Term Definition
Interface unit/slot/port
Type If not blank, this field indicates that this port is a special type of port. The possible values
are:
• Mirror — this port is a monitoring port. For more information, see “Port Mirroring
Commands” on page 388.
• PC Mbr— this port is a member of a port-channel (LAG).
• Probe — this port is a probe port.
Admin Mode The Port control administration state. The port must be enabled in order for it to be allowed
into the network. May be enabled or disabled. The factory default is enabled.
Physical Mode The desired port speed and duplex mode. If auto-negotiation support is selected, then the
duplex mode and speed is set from the auto-negotiation process. Note that the maximum
capability of the port (full duplex -100M) is advertised. Otherwise, this object determines
the port's duplex mode and transmission rate. The factory default is Auto.
Physical Status The port speed and duplex mode.
Link Status The Link is up or down.