H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – Port Basic Configuration
H3C S7500 Series Ethernet Switches Chapter 1
Port Basic Configuration Commands
1-11
View
Ethernet port view
Parameters
auto: Sets the port to auto-negotiation mode (automatically negotiate the duplex mode
of the port).
full: Sets the port to full duplex mode.
half: Sets the port to half duplex mode.
Description
Use the duplex command to set the duplex mode of the current port.
Use the undo duplex command to restore the default duplex mode, that is,
auto-negotiation mode.
By default, the duplex mode of a port is in auto-negotiation mode.
Examples
# Set the duplex mode of GigabitEthernet 2/0/1 to full-duplex mode.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface GigabitEthernet2/0/1
[H3C-GigabitEthernet2/0/1] duplex full
1.1.10 flow-control
Syntax
flow-control
undo flow-control
View
Ethernet port view
Parameters
None
Description
Use the flow-control command to enable flow control on the port so as to avoid packet
loss during congestion.