DGS-6604
mm
duplex
CLI Reference Guide
185
duplex
Use this command to configure the physical port interface duplex setting.
duplex {full | half | auto} [copper]
Default
Duplex mode defaults to auto duplex mode.
Command Mode
Interface configuration
Usage Guideline
Only physical port interfaces are valid for this configuration. If the duplex mode is
not supported by the hardware, an error message will be returned.
100 FX is always fixed to 100 and full duplex.
1000SX/LX is always fixed to 1000 and full duplex.
Auto-negotiation will be enabled if either speed or duplex are set to auto. If speed
is set to auto, and duplex is set to full or half mode, then only the speed will be
negotiated. The advertised capability will be the configured duplex mode
combined with all possible speeds. If speed is to set to a fixed speed and duplex
is set to auto, then only duplex mode is negotiated. The advertised capability will
be both full and half duplex mode combined with the configured speeds.
For combo port interfaces, users must assign the medium type for this
configuration.
Before adding ports to a Port-Channel, please verify that all settings are identical
on the candidate ports; otherwise the port members of a Port-Channel with
different settings will operate in an indeterminate manner.
Example
This example shows how to configure interface eth3.1 to force the settings to a
speed of 100Mbits and auto-negotiate to the duplex mode.
Verify the settings by entering the
show interface
command.
Syntax Description
full
Specifies to operate in full duplex mode.
half
Specifies to operate in half duplex mode.
auto
Specifies that the duplex mode will be determined by auto-negotiation.
copper
(Combo-port only) Specify that the configuration is for a copper medium.
Switch(config)# interface eth3.1
Switch(config-if)# speed 100
Switch(config-if)# duplex auto