14
Field Description
Status
Packet forwarding status, which may be one of the following:
•
normal – The port is forwarding traffic normally.
•
control – The port is in controlled mode (the actual mode depends on
the CtrMode setting, which may be block or shutdown).
Trap
Status of the storm control threshold event trap switch:
•
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 and the electrical port of an Ethernet port whose port rate is configured as 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, the 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