10G Core Routing Switch User Manual
陈泽科技有限公司
- - 18 - -
www.stephen-tele.com
Command
Purpose
Step 1
config terminal
Enter global configuration mode.
Step 2
Interface
interface_id
Enter interface configuration mode for the physical
interface to be configured.
Step 3
speed { 10 | 100 | 1000 | auto }
Enter the appropriate speed parameter for the
interface:
Enter 10, 100, or 1000 to set a specific speed for
the interface.
The 1000 keyword is available only for
10/100/1000 Mbps ports
Enter auto to enable the interface to autonegotiate
speed with the device connected to the interface.
This command is not available on a 10-Gigabit
Ethernet interface.
Step 4
duplex { auto | full | half }
Enter the duplex parameter for the interface.
Enable half-duplex mode (for interfaces operating only
at 10 or 100 Mbps). You cannot configure half-duplex
mode for interfaces operating at 1000 Mbps.
This command is not available on a 10-Gigabit Ethernet
interface.
This command is not available on SFP module ports
with these exceptions:
If a 1000BASE-T SFP module is inserted, you can
configure duplex to auto or full.
Step 5
exit
Return to global configuration mode.
Step 6
exit
Return to privileged EXEC mode.
Step 7
show Interface
interface_id
Verify your entries.
Step 8
Copy
running-config
startup-config
(Optional) Save your entries in the configuration file.
Use the
no speed
and
no duplex
interface configuration commands to return the interface to the default speed and
duplex settings (autonegotiate). To return all interface settings to the defaults, use the default
interface interface-id
interface configuration command.
This example shows how to set the interface speed to 1000 Mbps and the duplex mode to full on a 10/100/1000 Mbps
port:
Switch#
configure terminal
Switch(config)#
interface gigabitethernet1/1
Switch(config-if)#
speed 1000
Switch(config-if)#
duplex full
Note that, The Gigabit electrical Ethernet port can operate in full duplex or auto-negotiation mode. When the port
operates at 1000Mbps, the duplex mode can be set to full (full duplex) or auto (auto-negotiation).
The port defaults the auto (auto-negotiation) mode.
By default, the speed of the port is in auto mode.