PL1_AUTONEG_STATUS
code: 432
Attention
Only for the following modules:
Freya-800G-4S-1P
Freya-800G-4S-1P-OSFP
# get
<module-index>/<port-index> PL1_AUTONEG_STATUS ?
Description
Returns received technology abilities, FEC abilities, pause abilities, HCD technology ability, FEC mode result, and pause mode result.
Actions
get
Parameter
mode:
: integer, the mode of autoneg
DISABLED = 0
ENABLED = 1
autoneg_state
: integer, the state of auto-negotiation
UNKNOWN = 0
ENABLE = 1
TRANSMIT_DISABLE = 2
ABILITY_DETECT = 3
ACKNOWLEDGE_DETECT = 4
COMPLETE_ACKNOWLEDGE = 5
NEXT_PAGE_WAIT = 6
AN_GOOD_CHECK = 7
AN_GOOD = 8
received_tech_abilities
: hex8, received technology abilities, 64-bit bitmask
IEEE_1000BASE_KX = 2^0 = 0x0000000000000001
IEEE_10GBASE_KX4 = 2^1 = 0x0000000000000002
IEEE_10GBASE_KR = 2^2 = 0x0000000000000004
IEEE_40GBASE_KR4 = 2^3 = 0x0000000000000008
IEEE_40GBASE_CR4 = 2^4 = 0x0000000000000010
IEEE_100GBASE_CR10 = 2^5 = 0x0000000000000020
IEEE_100GBASE_KP4 = 2^6 = 0x0000000000000040
IEEE_100GBASE_KR4 = 2^7 = 0x0000000000000080
IEEE_100GBASE_CR4 = 2^8 = 0x0000000000000100
IEEE_25GBASE_CR_S_KR_S = 2^9 = 0x0000000000000200
IEEE_25GBASE_CR_KR = 2^10 = 0x0000000000000400
IEEE_2DOT5GBASE_KX = 2^11 = 0x0000000000000800
IEEE_5GBASE_KR = 2^12 = 0x0000000000001000
IEEE_50GBASE_CR_KR = 2^13 = 0x0000000000002000
IEEE_100GBASE_CR2_KR2 = 2^14 = 0x0000000000004000
IEEE_200GBASE_CR4_KR4 = 2^15 = 0x0000000000008000
IEEE_100GBASE_CR1_KR1 = 2^16 = 0x0000000000010000
IEEE_200GBASE_CR2_KR2 = 2^17 = 0x0000000000020000
IEEE_400GBASE_CR4_KR4 = 2^18 = 0x0000000000040000
IEEE_800GBASE_CR8_KR8 = 2^19 = 0x0000000000080000
IEEE_200GBASE_CR1_KR1 = 2^20 = 0x0000000000100000
IEEE_400GBASE_CR2_KR2 = 2^21 = 0x0000000000200000
IEEE_800GBASE_CR4_KR4 = 2^22 = 0x0000000000400000
IEEE_1_6TBASE_CR8_KR8 = 2^23 = 0x0000000000800000
EC_25GBASE_KR = 2^24 = 0x0000000001000000
EC_25GBASE_CR = 2^25 = 0x0000000002000000
EC_50GBASE_KR2 = 2^26 = 0x0000000004000000
EC_50GBASE_CR2 = 2^27 = 0x0000000008000000
EC_400GBASE_CR8_KR8 = 2^28 = 0x0000000010000000
EC_800GBASE_CR8_KR8 = 2^29 = 0x0000000020000000
received_fec_abilities
: hex, received FEC capabilities, 8-bit bitmask
10G_FC_FEC_ABILITY = 2^0 = 0x01
10G_FC_FEC_REQUEST = 2^1 = 0x02
25G_RS_FEC_REQUEST = 2^2 = 0x04
25G_FC_FEC_REQUEST = 2^3 = 0x08
RS_FEC_INT = 2^4 = 0x10
received_pause_mode
: hex, received pause mode, 8-bit bitmask.
SYM_PAUSE = 2^0 = 0x01
ASYM_PAUSE = 2^1 = 0x02
tech_ability_hcd_status
: integer, whether technology ability highest common denominator is found.
SUCCESS = 1
FAILED = 2
tech_ability_hcd_value
: integer, technology ability highest common denominator.
IEEE_1000BASE_KX = 0
IEEE_10GBASE_KX4 = 1
IEEE_10GBASE_KR = 2
IEEE_40GBASE_KR4 = 3
IEEE_40GBASE_CR4 = 4
IEEE_100GBASE_CR10 = 5
IEEE_100GBASE_KP4 = 6
IEEE_100GBASE_KR4 = 7
IEEE_100GBASE_CR4 = 8
IEEE_25GBASE_CR_S_KR_S = 9
IEEE_25GBASE_CR_KR = 10
IEEE_2DOT5GBASE_KX = 11
IEEE_5GBASE_KR = 12
IEEE_50GBASE_CR_KR = 13
IEEE_100GBASE_CR2_KR2 = 14
IEEE_200GBASE_CR4_KR4 = 15
IEEE_100GBASE_CR1_KR1 = 16
IEEE_200GBASE_CR2_KR2 = 17
IEEE_400GBASE_CR4_KR4 = 18
IEEE_800GBASE_CR8_KR8 = 19
IEEE_200GBASE_CR1_KR1 = 20
IEEE_400GBASE_CR2_KR2 = 21
IEEE_800GBASE_CR4_KR4 = 22
IEEE_1_6TBASE_CR8_KR8 = 23
EC_25GBASE_KR = 24
EC_25GBASE_CR = 25
EC_50GBASE_KR2 = 26
EC_50GBASE_CR2 = 27
EC_400GBASE_CR8_KR8 = 28
EC_800GBASE_CR8_KR8 = 29
Note
The value is the bit position of bitmask (big endian).
fec_mode_result
: integer, FEC mode result from autoneg.
OFF = 0
FC_FEC = 3
RS_FEC_KR = 4
RS_FEC_KP = 5
RS_FEC_INT = 6
pause_mode_result
: integer, pause mode result from autoneg.
NO_PAUSE = 0
SYM_PAUSE = 1
ASYM_PAUSE = 2
Example
# get
input: 0/1 PL1_AUTONEG_STATUS ?
output: 0/1 PL1_AUTONEG_STATUS ENABLED AN_GOOD 0x0000000020080000 0x04 NO_PAUSE SUCCESS IEEE_800GBASE_CR8_KR8 RS_FEC_KP NO_PAUSE