Auto-Negotiation#

Configuration#

Auto-negotiation configuration.

Corresponding CLI command: PP_AUTONEG

# Auto-Negotiation Settings
resp = await port.pcs_pma.auto_neg.settings.get()
resp.tec_ability
resp.fec_capable
resp.fec_requested
resp.pause_mode

Status#

Status of auto-negotiation.

Corresponding CLI command: PP_AUTONEGSTATUS

a# Auto-Negotiation Status
resp = await port.pcs_pma.auto_neg.status.get()
resp.mode
resp.auto_state
resp.tec_ability
resp.fec_capable
resp.fec_requested
resp.fec
resp.pause_mode

Selection#

Whether the port responds to incoming auto-negotiation requests.

Note

Only applicable to RJ45 ports

Corresponding CLI command: P_AUTONEGSELECTION

# Auto-Negotiation Selection
# Only applicable to RJ45 ports
await port.autoneg_selection.set(on_off=enums.OnOff.ON)
await port.autoneg_selection.set_on()
await port.autoneg_selection.set(on_off=enums.OnOff.OFF)
await port.autoneg_selection.set_off()

resp = await port.autoneg_selection.get()
resp.on_off