Command Reference Guide

Error! Use the Home tab to apply 見出し 1 to the text that you want to appear here. 101
Temporarily disabling a port
To temporarily disable a port without changing its stored configuration attributes, enter the following
command at any prompt:
Router# 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 99 Link Configuration commands
Command
Description
speed {10|100|auto}
Sets the link speed. Not all options are valid on all ports. The choices
include:
10 Mb/s
100 Mb/s
auto : for automatic detection (default)
Note: Ports 1-16, 18-21 are set to 10000 Mb/s, and cannot be changed.
Command mode: Interface port
duplex {full|half|any}
Sets the operating mode. Not all options are valid on all ports. The
choices include:
Full-duplex
Half-duplex
any : for automatic detection (default)
Note: Ports 1-16, 18-21 are set to full duplex. These ports cannot be
changed.
Command mode: Interface port
flowcontrol
{receive|send|both}
Sets the flow control. The choices include:
Receive (rx) flow control
Transmit (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.
Note that this is set to no flowcontrol, if the value is configured to Half-
duplex.
Command mode: Interface port
no flowcontrol
Sets the flow control to none.
Command mode: Interface port
[no] auto
Enables or disables auto-negotiation for the port. The default is enabled.
Command mode: Interface port
show interface port <port
number>
Displays current port parameters.
Command mode: All
ACL Port configuration
The following table describes the basic Access Control List Configuration commands for the port.
Table 100 ACL Port Configuration commands
Command
Description
[no] access-control list <1-384>
Adds or removes the specified ACL.
Command mode: Interface port
[no] access-control group <1-384>
Adds or removes the specified ACL Group.
Command mode: Interface port