speed (Ethernet)
Sets the speed negotiation value on an Ethernet interface.
Syntax
speed
{
100
|
1000
|
1000-auto
|
1000-auto-full-duplex
|
1000-master-full-duplex
|
1000-master-half-duplex
|
1000-slave-full-duplex
|
1000-slave-half-duplex
|
10000
|
25000
|
40000
|
100000
|
auto
}
Command Default
The speed is set to
auto
.
Parameters
-
100
- Forces the speed to 100 Mbps.
-
1000
- Forces the speed to 1 Gbps.
-
1000-auto
- Forces the speed to 1 Gbps
and auto negotiation of clock parameters. (802.3 Clause 37 Auto-Negotiation)
-
1000-auto-full-duplex
- (Supported only on SLX 9150-XT
and Extreme 8520-XT) Forces the speed to be 1Gbps in full duplex mode with
auto negotiation of clock parameters.
-
1000-master-full-duplex
- (Supported only on SLX 9150-XT and
Extreme 8520-XT) Forces the speed to 1 Gbps with full duplex
capability and as a clock master.
-
1000-master-half-duplex
- (Supported only on SLX 9150-XT and
Extreme 8520-XT) Forces the speed to 1 Gbps with half duplex
capability and as a clock master.
-
1000-slave-full-duplex
- (Supported only on SLX 9150-XT and
Extreme 8520-XT) Forces the speed to 1 Gbps with full duplex
capability and as a clock slave.
-
1000-slave-half-duplex
- (Supported only on SLX 9150-XT and
Extreme 8520-XT) Forces the speed to 1 Gbps with half duplex
capability and as a clock slave.
-
10000
- Forces the speed to 10 Gbps.
-
25000
- Forces the speed to 25 Gbps.
-
40000
- Forces the speed to 40 Gbps.
-
100000
- Forces the speed to 100 Gbps.
-
auto
- Allows the interface to negotiate the speed setting, advertising its full capabilities and
clock type.
Modes
Interface subtype configuration mode
Usage Guidelines
Use the
auto
keyword or the no speed command to reset to the
default setting.
Examples
The following example changes the speed to 1G.
device# configure terminal
device(config)# interface Ethernet 0/1
device(config-if-eth-0/1)# speed 1000-auto-full-duplex
device(config-if-eth-0/1)# no shutdown
The following example changes the speed of the interface to
1G, half duplex, and in the slave clock mode.
device# configure terminal
device(config)# interface Ethernet 0/2
device(config-if-eth-0/1)# speed 1000-slave-half-duplex
device(config-if-eth-0/1)# no shutdown