User's Manual
184
22.4.1 Choosing an Ethernet Interface
Run the following command in global configuration mode to enter the Ethernet interface configuration mode:
Command Function
interface fastethernet
[slot|port ]
Enters the fast-Ethernet interface
configuration mode.
interface gigaethernet
[slot|port ]
Enters the gigabit-Ethernet interface
configuration mode.
interface tgigaEthernet
[slot|port ]
Enters the 10GE-Ethernet interface
configuration mode.
The show interface fastethernet command can be used to show the state of the Ethernet interface, while the
show interface gigaethernet command can be used to show the state of the gigabit-Ethernet interface.
22.4.2 Setting the Rate
The Ethernet rate can be realized not only through auto-negotiation but also through interface configuration.
Command Function
Speed
{
10
|
100
|
1000
|
10000
|
auto
} Sets the rate of fast Ethernet to 10M, 100M, 1000M or
auto-negotiation.
No speed
Resumes the default settings. The rate is auto-
negotiation.
Note:
The speed of the optical interface is fixed. For example, the speeds of GBIC and GE-FX are 1000M,
while the speed of FE-FX is 100M. If the speed command for an optical interface has the auto
parameter, the optical interface has the automatic negotiation function, or the optical interface is
mandatory and cannot be negotiated.
22.4.3 Setting the Duplex Mode of an Interface
By default, the Ethernet interface can be auto, half duplex or full duplex. The duplex mode for the gigbit
interface is always auto.
Command Function
duplex
{
full
|
half
|
auto
} Sets the duplex mode of an Ethernet interface.
No duplex
Resumes the default settings. The duplex mode is
auto-negotiation.
22.4.4 Setting Flow Control on an Interface
When an interface is in full duplex mode, flow control is realized through the 802.3X-defined PAUSE frame;
when an interface is in half duplex mode, flow control is realized through backpressure.
Command Usage Guidelines
flow-control on/off
/atuo
Enables or disables flow control on an interface.
no flow-control
Resumes the default settings, that is, there is no
flow control on an interface.