20
Field Description
• On—The port sends threshold event traps.
• Off—The port does not send threshold event traps.
Log
Status of the storm control threshold event log switch:
• On—The port sends threshold event log messages.
• Off—The port does not send threshold event log messages.
Swinum
Number of times the forwarding state of the interface changes.
When the Swi-num count reaches 65,535, it resets automatically.
duplex
Syntax
duplex { auto | full | half }
undo duplex
View
Ethernet interface view
Default level
2: System level
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 the optical port
of an SFP port, or electrical (copper) Ethernet ports operating at 1000 Mbps
Description
Use the duplex command to set the duplex mode for an Ethernet interface.
Use the undo duplex command to restore the default duplex mode of the Ethernet interface.
By default, Ethernet interfaces operate in auto-negotiation mode.
Related commands: speed.
Examples
# Configure interface GigabitEthernet 1/0/1 to operate in full-duplex mode.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] duplex full
flow-control
Syntax
flow-control
undo flow-control