This section describes how to configure the auto-negotiation mode.


Procedure

Step1          Enable auto-negotiation mode.

    set interface gigabit-ethernet<interface-name> speed auto

NOTE:

Only the 10G, 5G/2.5G and 1G RJ45 ports support auto-negotiation mode and to set auto-negotiation rate.

Step2         Configure the auto-negotiation rate of Ethernet interfaces in auto-negotiation mode.

                   set interface gigabit-ethernet <interface-name> auto-speeds <auto-speed>

Configuration Example

Step1         Enable auto-negotiation mode.

admin@Xorplus# set interface gigabit-ethernet ge-1/1/1 speed auto


NOTE:

Only the 10G, 5G/2.5G and 1G RJ45 ports support auto-negotiation mode and to set auto-negotiation rate.

Step2         Configure the auto-negotiation rate of ge-1/1/1.

admin@Xorplus# set interface gigabit-ethernet ge-1/1/1 auto-speeds 100
admin@Xorplus# set interface gigabit-ethernet ge-1/1/1 auto-speeds 10

Verify the Configuration

admin@XorPlus# run show interface gigabit-ethernet ge-1/1/1
Physical interface: ge-1/1/1, Enabled, error-discard False, Physical link is Up
Interface index: 5, SFP type: unknown, Mac Learning Enabled
Description:
Link-level type: Ethernet, MTU: 1514, Speed: 1Gb/s, Duplex: Full
Source filtering: Disabled, Flow control: Disabled
Auto-negotiation: Enabled, Advertised speed modes: 10M,100M
Interface flags: Hardware-Down SNMP-Traps Internal: 0x0
Interface rate limit  ingress:unlimited, egress:unlimited
Link fault signaling  ignore local fault:false, ignore remote fault:false
force up mode:false
Precision Time Protocol mode:none
Current address: 48:6e:73:01:00:bb, Hardware address: 48:6e:73:01:00:bb
Traffic statistics:
  5 sec input rate 0 bits/sec, 0 packets/sec
  5 sec output rate 544 bits/sec, 0 packets/sec
  Input Packets............................0
  Output Packets...........................9149
  Input Octets.............................0
  Output Octets............................1125327