PP_AUTONEG

code: 381

Attention

Only for the following modules:

  • Thor-400G-7S-1P

# set
<module-index>/<port-index> PP_AUTONEG <mode> <tec_ability> <fec_capable> <fec_requested> <pause_mode>

# get
<module-index>/<port-index> PP_AUTONEG ?

Description

Auto-negotiation configurations

Actions

set, get

Parameters

  1. mode: integer, auto-negotiation on/off status

  • ANEG_OFF = 0

  • ANEG_ON = 1

  1. tec_ability: integer, technology ability to advertise

  • DEFAULT_TECH_MODE = 0

  • 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

  1. fec_capable: integer, FEC capability to advertise

  • DEFAULT_FEC = 0

  • NO_FEC = 1

  • FCFEC = 2

  • RSFEC_CL91 = 4

  • RS528 = 256

  • RS544 = 512

  • RS272 = 1024

  1. fec_requested: integer, FEC request to advertise

  • DEFAULT_FEC = 0

  • NO_FEC = 1

  • FCFEC = 2

  • RSFEC_CL91 = 4

  • RS528 = 256

  • RS544 = 512

  • RS272 = 1024

  1. pause_mode: integer, pause ability to advertise

  • NO_PAUSE = 0

  • SYM_PAUSE = 1

  • ASYM_PAUSE = 2

Example

# set
input:  0/1 PP_AUTONEG ANEG_OFF DEFAULT_TECH_MODE DEFAULT_FEC DEFAULT_FEC NO_PAUSE
output: <OK>

# get
input:  0/1 PP_AUTONEG ?
output: 0/1 PP_AUTONEG ANEG_OFF DEFAULT_TECH_MODE DEFAULT_FEC DEFAULT_FEC NO_PAUSE