R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101
16
Parameters
auto: Sets the interface to operate in auto-negotiation mode.
full: Sets the interface to operate in full duplex mode.
half: Sets the interface to operate in half-duplex mode. This keyword is not available for fiber combo
ports.
Description
Use duplex to set the duplex mode for an Ethernet interface.
Use undo duplex to restore the default duplex mode of the Ethernet interface.
By default, Ethernet interfaces operate in auto-negotiation mode.
Related commands: speed.
Examples
# Configure the interface GigabitEthernet 0/1 to operate in full-duplex mode.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/1
[Sysname-GigabitEthernet0/1] duplex full
flow-control
Syntax
flow-control
undo flow-control
View
Ethernet interface view
Default level
2: System level
Parameters
None
Description
Use flow-control to enable TxRx mode generic flow control on an Ethernet interface.
Use undo flow-control to disable generic flow control on the Ethernet interface.
TxRx mode flow control enables an Ethernet interface to receive common pause frames from its peer, and
send common pause frames to notify its peer of congestions.
By default, generic flow control on an Ethernet interface is disabled.
With the flow-control command configured, an interface can both send and receive flow control frames:
• When congested, the interface sends a flow control frame to its peer.
• Upon receiving a flow control frame from the peer, the interface suspends sending packets.
To implement flow control on a link, you must enable the generic flow control function at both ends of the
link.