Configuring Ports with CLI Commands
The following table summarizes the equivalent CLI commands for configuring ports as displayed in the Port Configuration page.
Table
CLI Command | Description |
|
|
interface ethernet interface | Enters the interface configuration mode to configure an |
| ethernet type interface. |
|
|
description string | Adds a description to an interface configuration. |
|
|
shutdown | Disables interfaces that are part of the currently set context. |
|
|
set interface active {ethernet | Reactivates an interface that is shutdown due to security |
interface | reasons. |
number} |
|
|
|
speed Mbps | Configures the speed of a given ethernet interface when not |
| using auto negotiation. |
|
|
duplex {half full} | Configures the full/half duplex operation of a given ethernet |
| interface when not using auto negotiation. |
|
|
negotiation [capability1 | Enables auto negotiation operation for the speed and |
[capability2…capability5] | duplex parameters of a given interface. |
|
|
Enables Back Pressure on a given interface. | |
|
|
flowcontrol {auto on off} | Configures the Flow Control on a given interface. |
|
|
mdix {on auto} | Enables automatic crossover on a given interface or Port- |
| channel. |
|
|
show interfaces configuration | Displays the configuration for all configured interfaces. |
[ethernet interface |
|
| |
|
|
show interface advertise | Displays the interface’s negotiation advertisement settings. |
|
|
show interfaces status [ethernet | Displays the status for all configured interfaces. |
interface |
|
| |
|
|
show interfaces description | Displays the description for all configured interfaces. |
[ethernet interface |
|
| |
|
|