9-16
Cisco ME 3800X and 3600X Switch Software Configuration Guide
OL-23400-01
Chapter 9 Configuring Interfaces
Configuring Ethernet Interfaces
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 10 Mb/s and the duplex mode to half:
Switch#
configure terminal
Switch(config)#
interface gigabitethernet0/3
Switch(config-if)#
speed 10
Switch(config-if)#
duplex half
This example shows how to set the interface speed to 100 Mb/s on a 10/100/1000 Mb/s port:
Switch#
configure terminal
Switch(config)#
interface gigabitethernet0/2
Switch(config-if)#
speed 100
Step 3
speed {10 | 100 | 1000 | auto [10 | 100 |
1000] | nonegotiate}
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 Mb/s ports
or SFP module ports with a 1000BASE-T SFP module.
•
Enter auto to enable the interface to autonegotiate speed with the
connected device. If you use the 10, 100, or the 1000 keywords
with the auto keyword, the port autonegotiates only at the
specified speeds.
•
The nonegotiate keyword is available only for 10 Gigabit
Ethernet ports or for SFP module ports. SFP module ports operate
only at 1000 Mb/s but can be configured to not negotiate if
connected to a device that does not support autonegotiation.
Note
When a Cisco1000BASE-T SFP module is in the SFP module
slot, the speed can be configured to 10, 100, 1000, or to auto,
but not to nonegotiate.
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 Mb/s). You cannot configure half-duplex mode for interfaces
operating at 1000 Mb/s.
You can configure the duplex setting when the speed is set to auto.
This command is not available on 10 GigabitEthernet ports or on SFP
module ports with these exceptions:
•
If a Cisco 1000BASE-T SFP module is inserted, you can
configure duplex to auto or to full.
•
If a Cisco 100BASE-FX SFP module is inserted, you can
configure duplex to full or to half. Although the auto keyword is
available, it puts the interface in half-duplex mode (the default).
Step 5
end
Return to privileged EXEC mode.
Step 6
show interfaces interface-id
Display the interface speed and duplex mode configuration.
Step 7
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Command
Purpose