P_UE_LINKNEG_OPTIONS

code: 1016

# set
<module-index>/<port-index> P_UE_LINKNEG_OPTIONS <lldp_agent_index> <llr_wanted_local>

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

Description

This command selects which LLDP agent to use for UE Link Negotiation Options, and configures the desired LLR-W (local) setting. After the set operation, the UE Link Negotiation Options TLV will be added to the LLDPDU (if it is not already present in the LLDPDU) or replace the existing one (if Options TLV was previously added in LLDP configurataion).

The UE Link Negotiation Options TLV is used to discover and configure advanced UE link capabilities. Currently, the Options TLV is used to advertise the following UEC Link features:

  • Link Layer Retry (LLR): Provides link level re-transmissions for packets with errors.

Note

In Link Negotiation for LLR, the R/W access of the four flags are:

  • LLR-W (local): RW

  • LLR-W (remote): RO

  • LLR-E (local): RO

  • LLR-E (remote): RO

When Link Negotiation is enabled on a LLDP agent, the only configurable parameter is LLR-W (local). To read LLR-W (remote), use P_UE_LINKNEG_OPTIONS_STATUS. To read LLR-E (local) and LLR-E (remote), use P_UE_LLR_MODE

To disable Link Negotation for UE Link Options, send the command with no parameters. This will remove the Options TLV from the LLDPDU and disable Link Negotiation for UE Link Options.

Actions

set, get

Parameters

1. lldp_agent_index: byte, The LLDP agent index to use for advertising the advanced UE link capabilities. An LLDP agent must be created and configured separately using the LLDP commands before it can be used with this command. Values: 0 to 7.

  1. llr_wanted_local: byte, Indicates whether the local port wants LLR.

    • NO = 0: The port does not want to use LLR.

    • RSVD1 = 1: Reserved value.

    • RSVD2 = 2: Reserved value.

    • BI = 3: port wants bi-directional LLR (it both sends and receives).

Examples

Enable Link Negotiation for UE Link Options and set LLR-W (local) to 3.

# set
input:  0/1 P_UE_LINKNEG_OPTIONS 0 BI
output: <OK>

# get
input:  0/1 P_UE_LINKNEG_OPTIONS ?
output: 0/1 P_UE_LINKNEG_OPTIONS 0 BI

Disable Link Negotiation for Options TLV.

# set
input:  0/1 P_UE_LINKNEG_OPTIONS
output: <OK>