N8406-023 1Gb Intelligent L3 Switch Command Reference Guide (ISCLI) 100
Temporarily disabling a port
To temporarily disable a port without changing its stored configuration attributes, enter the following command at
any prompt:
Switch#
interface gigabitethernet
<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 Gigabit Link Configuration commands
Command
Description
speed {10|100|1000|auto}
Sets the link speed. Not all options are valid on all ports. The choices include:
10 Mb/s
100 Mb/s
1000 Mb/s
―auto,‖ for automatic detection (default)
Note: Ports 1-18 are set to 1000 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 are set to "Any" and Ports 17-18 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)
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
gigabitethernet
<
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-762
>
Adds or removes the specified ACL.
Command mode:
Interface port
[no] access-control group <
1-762
>
Adds or removes the specified ACL Group.
Command mode:
Interface port
show interface gigabitethernet
[<
port number
>] access-control
Displays current ACL QoS parameters.
Command mode:
All