Description

There are 2 ways of configuring link mode on the EX Switch via JUNOS-EX:

     root# set interfaces ge-0/0/0 link-mode
AND
     root# set interfaces ge-0/0/0 ether-options

The recommended method is to use the "ether-options" command.

Symptoms

There are multiple link-mode configuration command options.  Which one should be used?

Solution

There are 2 ways to configure link mode on the EX Switch via JUNOS-EX.

Option 1:
juniper@ex4200-48# set interfaces ge-0/0/15 ether-options link-mode ?
Possible completions:
  automatic       Automatic negotiate duplex
 full-duplex     Full-duplex operation
 half-duplex     Half-duplex operation

Option 2:
[edit]
juniper@jtac-ex4200-48# set interfaces ge-0/0/15 link-mode ?
Possible completions:
  full-duplex     Full-duplex operation            


The recommended configuration is to use ether-options link-mode command.  For future software releases this will be the only option available to provide consistency among other JUNOS Software.

This issue is being addressed by PR240430.  

Related Information