3
To do… Use the command… Remarks
5. Set the interface speed
speed { 10 | 100 | 1000 |
10000 | auto }
Optional.
A 10G SFP+ port supports:
• The 1000 and auto parameters if
installed with a Gigabit SFP
transceiver.
• The 10000 and auto parameters if
installed with a 10G SFP+
transceiver.
A a Gigabit SFP port supports:
• The 1000 and auto parameters if
installed with a Gigabit SFP
transceiver.
• The 100 and auto parameters if
installed with a 100-Mbps SFP
transceiver.
By default, the auto-negotiation mode
applies.
6. 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.
7. Restore the default settings
for the Ethernet interface
default Optional.
Configuring the operating mode of an Ethernet interface
CAUTION:
• To avoid packet loss caused by con
estion, you must perform the same PFC confi
uration on all ports
that the packets pass through.
• To configure DCBX on the port of an HP 5820X switch series, you must use the priority-flow-control
auto command to enable PFC. Otherwise, PFC data cannot be advertised. For more information
about DCBX, see the chapter “LLDP configuration.”
• To use the PFC feature on a link, ensure that it is enabled on both ends of the link. An interface
processes PFC pause frames only when PFC is enabled on it.
The relationship between the PFC function and the generic flow control function is shown in Table 2.
An Ethernet interface operates either in Layer 2 (bridge) or Layer 3 (route) mode. To meet networking
requirements, you can use a command to set the operating mode of an Ethernet interface to bridge or
route.
To change the operating mode of an Ethernet interface:
To do… Use the command… Remarks
1. Enter system view
system-view —