Configuring the Auto-Negotiation Mode
This section describes how to configure the auto-negotiation mode.
Procedure
NOTEs:
Currently, only the following interfaces support setting the auto-negotiation mode and the auto-negotiation rate:
N9600-64OD: 800G optical interface
N9550-64D: 400G optical interface
N8610-64DB: 400G optical interface
N8550-24CD8D: 200G optical interface and 400G optical interface
10G RJ45, 5G/2.5G RJ45, and 1G RJ45 interfaces
For the 10G RJ45, 5G/2.5G RJ45, and 1G RJ45 interfaces, they work in the auto-negotiation mode by default.
For the 800G optical, 400G optical, and 200G optical interfaces, they work in the auto-negotiation mode only when the port is inserted into the Direct Attach Cable (DAC) module by default, and the interface rate is the maximum rate of the inserted optical module.
Step 1 Enable auto-negotiation mode.
set interface gigabit-ethernet<interface-name> speed auto
Step 2 Configure the auto-negotiation rate of Ethernet interfaces in auto-negotiation mode.
set interface gigabit-ethernet <interface-name> auto-speeds <auto-speed>
Configuration Example
Step 1 Enable auto-negotiation mode.
admin@PICOS# set interface gigabit-ethernet xe-1/1/1 speed autoStep 2 Configure the auto-negotiation rate of xe-1/1/1.
admin@PICOS# set interface gigabit-ethernet xe-1/1/1 auto-speeds 100
admin@PICOS# set interface gigabit-ethernet xe-1/1/1 auto-speeds 10
admin@PICOS# commit
Verifying the Configuration
Use the command run show interface gigabit-ethernet xe-1/1/1 to view the current interface status information of the xe-1/1/1 interface. Check the Speed and Auto-negotiation fields in the command output.
admin@PICOS# run show interface gigabit-ethernet xe-1/1/1
Physical interface: xe-1/1/1, Enabled, error-discard False, Physical link is Up
Interface index: 5, SFP type: unknown, Mac Learning Enabled
Port mode: access
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