Configuring the Rate for an Ethernet Interface
Context
You can set the interface rate in either the auto-negotiation or non-auto negotiation mode.
- In auto-negotiation mode, interfaces on both ends of a link negotiate their interface rates. You can set the auto-negotiation rate range to limit the negotiated rate. For example, if two interfaces negotiate to work at a rate of 100 Mbit/s, but they are required to work at a rate of 10 Mbit/s to prevent network traffic congestion, you can run the auto speed 10 command to set the rate of the interfaces to 10 Mbit/s.
- In non-auto negotiation mode, you must set the rate for interfaces so that the two devices can communicate.
Procedure
- Configuring the interface rate in auto-negotiation mode
- Manually configure the interface rate in auto-negotiation mode
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The Ethernet interface view is displayed.
- Run auto speed { 10 | 100 | 1000 }*
The rate is set for the Ethernet interface.
By default, interfaces on both ends of a link negotiate their interface rates.
- Run system-view
- Manually configure the interface rate in auto-negotiation mode
- Configuring the interface rate in the non-auto negotiation mode
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The Ethernet interface view is displayed.
- Run undo negotiation auto
The Ethernet interface is configured to work in non-auto negotiation mode.
- Run speed { 10 | 100 | 1000 | 10000 }
The rate is set for the Ethernet interface.
By default, an Ethernet interface works at the maximum rate. Specially, when a GE electrical interface works in non-auto-negotiation mode, its default rate is 100 Mbit/s, not the maximum rate 1000 Mbit/s supported by the GE interface.
- Run system-view