link-mode
Syntax
link-mode mode (automatic | full-duplex | half-duplex);
Hierarchy Level
[edit interfaces interface-name], [edit interfaces interface-name ether-options], [edit interfaces ge-pim/0/0 switch-options switch-port port-number]
Description
Set the device’s link connection characteristic.
Options
mode—Link characteristics:
automatic
—Link mode is negotiated. This is the default for EX Series switches.full-duplex
—Connection is full duplex.half-duplex
—Connection is half duplex.
Default: Fast Ethernet interfaces can operate in either full-duplex or half-duplex mode. The router’s or switch’s management Ethernet interface,
fxp0
orem0
, and the built-in Fast Ethernet interfaces on the FIC (M7i router) autonegotiate whether to operate in full-duplex or half-duplex mode. Unless otherwise noted here, all other interfaces operate only in full-duplex mode.Note:On EX Series switches, if
no-auto-negotiation
is specified in[edit interfaces interface-name ether-options]
, you can select onlyfull-duplex
orhalf-duplex
. Ifauto-negotiation
is specified, you can select any mode.Note:Member links of an aggregated Ethernet bundle must not be explicitly configured with a link mode. You must remove any such link-mode configuration before committing the aggregated Ethernet configuration.
Starting with Junos OS release 16.1R7 and later, the
link-mode
configuration is not supported on 10-Gigabit Ethernet Interfaces.Starting in Junos OS release 18.4R1, half-duplex mode is supported on SRX340 and SRX345 devices.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Statement introduced before Junos OS Release 7.4.
Statement introduced in Junos OS Release 12.2 for ACX Series Universal Metro Routers.