
| Configuration Commands |
Table 97 Port Configuration commands | |
|
|
Command | Description |
|
|
shutdown | Disables the port. To temporarily disable a port without changing its |
| configuration attributes, see the “Temporarily disabling a port” section later |
| in this chapter. |
| Command mode: Interface port |
|
|
show interface port {<port | Displays current port parameters. |
number>} | Command mode: All |
| |
|
|
Temporarily disabling a port
To temporarily disable a port without changing its stored configuration attributes, enter the following command at any prompt:
Switch# interface port <port number> shutdown
Because this configuration sets a temporary state for the port, you do not need to perform a save operation. The port state reverts to its original configuration when the switch is reloaded.
Port link configuration
Use these commands to set port parameters for the port link.
Link commands are described in the following table. Using these commands, you can set port parameters such as speed, duplex, flow control, and negotiation mode for the port link.
The following table describes the Gigabit Link Configuration commands. Table 98 Gigabit Link Configuration commands
Command | Description |
|
|
speed {10010000} | Sets the link speed. |
| NOTE: All downlink and uplink ports are fixed at 10000 Mbps, and cannot be |
| changed. Management port 17 is fixed at 100 Mbps. |
| Command mode: Interface port |
| Sets the operating mode, as follows: |
duplex | |
| • |
flowcontrol {receivesendboth}
NOTE: All ports are fixed at full duplex, and cannot be changed.
Command mode: Interface port
Sets the flow control. The choices include:
•Receive (rx) flow control
•Send (tx) flow control
•Both receive and transmit flow control (default)
•No flow control
NOTE: Management port 17 is fixed at both, and cannot be changed.
Command mode: Interface port
124