Use the set port duplex command to configure the duplex type of an Ethernet or Fast Ethernet port or range of ports.
set port duplex mod_num/port_num {full | half | auto}
Syntax Description
mod_num Number of the module. port_num Number of the port. full Keyword that specifies full-duplex transmission. half Keyword that specifies half-duplex transmission. auto Keyword that specifies auto transmission. Default
The default configuration for 10-Mbps and 100-Mbps modules has all Ethernet ports set to half duplex. The default configuration for 10/100-Mbps Fast Ethernet modules has all ports set to auto.
Command Type
Switch command.
Command Mode
Privileged.
Usage Guidelines
You can configure Ethernet and Fast Ethernet interfaces to either full duplex or half duplex. When a port is in autosensing mode, both its speed and duplex are determined by autosensing. An error message like the following is generated if you attempt to set the transmission type of autosensing Fast Ethernet ports to half- or full-duplex mode:
Console> (enable) set port duplex 2/1 full (1 port - failed) Port 2/1 is in auto-sensing mode. Console> (enable)The set port duplex command is not valid on the 48-port module or the RSM.
The set port duplex command is not valid when issued against a Token Ring port. Use the set tokenring portmode command instead. If you enter a set port duplex command, you are directed to use the proper command.
The three-port Gigabit Ethernet switching module (WS-X5403) can only be configured as full duplex.
Examples
This example shows how to set port 1 on module 2 to full duplex:
Console> (enable) set port duplex 2/1 full Port 2/1 set to full-duplex. Console> (enable)This example shows what the set port duplex command displays if entered against a Token Ring port:
Console> (enable) set port duplex 3/1 full Port 3/1 is Token Ring, use 'set tokenring portmode' command instead Console> (enable)Related Command
show port