1-3
To do…
Use the command…
Remarks
Set the duplex mode
duplex
{
auto
|
full
|
half
}
Optional
auto
by default.
The optical interface of a Combo
port and the electrical interface of
an Ethernet port whose port rate
is configured as 1000 Mbps do not
support the
half
keyword.
Set the transmission rate
speed
{
10
|
100
|
1000
|
auto
}
Optional
The optical interface of a Combo
port does not support the
10
keyword.
By default, the port speed is in the
auto-negotiation mode.
Shut down the Ethernet
interface
shutdown
Optional
By default, an Ethernet interface
is in up state.
To bring up an Ethernet interface,
use the
undo shutdown
command.
10-Gigabit Ethernet ports do not support the
duplex
command or the
speed
command.
Configuring Flow Control on an Ethernet Interface
When flow control is enabled on both sides, if traffic congestion occurs at the ingress interface, it will
send a Pause frame notifying the egress interface to temporarily suspend the sending of packets. The
egress interface is expected to stop sending any new packet when it receives the Pause frame. In this
way, flow control helps to avoid dropping of packets. Note that this will be possible only after flow control
is enabled on both the ingress and egress interfaces.
Follow these steps to enable flow control on an Ethernet interface:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter Ethernet interface view
interface interface-type
interface-number
—
Enable flow control
flow-control
Required
Disabled by default