Configuring LLDP link discovery

Description

The nim, or Network Infrastructure Management section specifies the method by which LLDP link discovery is accomplished.

In the MDM framework, NSP supports the LLDP-based discovery of physical links in the network topology. This discovery mechanism uses the MDM to read the LLDP neighbor information. NSP then adds the discovered links to the common store so that all applicable functions can access the link information.

Note: This function is supported only for the physical links with the Nearest Bridge transmission scope.

## nim                    - Network Infrastructure Management

     #    lldp                 - LLDP configuration

     #      linkDiscovery      - Link discovery type.  Valid values are:

     #                             "sdn" - indicates link discovery is based on LLDP AMI v1

     #                             "nim" - indicates link discovery is based on LLDP AMI v2 and onwards (default)

If upgrading from an NSP release earlier than 22.6, the linkDiscovery parameter is set to “sdn” by default. In order to change the value to “nim”, the following commands must be executed only when the lldpv2 adaptors are available or deployed for all managed devices:

./nspdeployerctl install --config

./nspdeployerctl install --deploy

kubectl delete pods `kubectl get pods -A | grep lldp-app | awk '{ print $2 }'` -n $(kubectl get pods -A | awk '/lldp-app/ {print$1;exit}')`