C
HAPTER
26
| Interface Commands
Interface Configuration
– 736 –
shutdown This command disables an interface. To restart a disabled interface, use
the no form.
SYNTAX
[no] shutdown
DEFAULT SETTING
All interfaces are enabled.
COMMAND MODE
Interface Configuration (Ethernet, Port Channel)
COMMAND USAGE
This command allows you to disable a port due to abnormal behavior
(e.g., excessive collisions), and then re-enable it after the problem has
been resolved. You may also want to disable a port for security reasons.
EXAMPLE
The following example disables port 5.
Console(config)#interface ethernet 1/5
Console(config-if)#shutdown
Console(config-if)#
speed-duplex This command configures the speed and duplex mode of a given interface
when auto-negotiation is disabled. Use the no form to restore the default.
SYNTAX
speed-duplex {1000full | 100full | 100half | 10full | 10half}
no speed-duplex
1000full - Forces 1000 Mbps full-duplex operation
100full - Forces 100 Mbps full-duplex operation
100half - Forces 100 Mbps half-duplex operation
10full - Forces 10 Mbps full-duplex operation
10half - Forces 10 Mbps half-duplex operation
DEFAULT SETTING
â—† Auto-negotiation is enabled by default.
â—† When auto-negotiation is disabled, the default speed-duplex setting is:
â–
Fast Ethernet ports – 100full for 100BASE-TX ports
â–
Gigabit Ethernet ports – 100full for 1000BASE-T ports.