Configuring LLDP

Note: The procedures in this section describe manual fabric switch configuration, which is only required if you have NPS deployed on your system, and Cloud Pak for Data System version is 1.0.7.3 or earlier. Starting with 1.0.7.4, this step is automated on NPS systems, provided that the NPS nodes are added to the BOM.

This step is optional but it is recommended that you perform it to know what is attached to customer devices.

About this task

In the example, replace the System Name with the customer relevant name. Typically, it is the name given to the application IP Address.

Example:
cumulus@fabsw1a:/etc/network/interfaces.d$ sudo cp /etc/lldpd.d/README.conf /etc/lldpd.d/icpds.conf 
cumulus@fabsw1a:/etc/network/interfaces.d$ sudo sed -i -e ’/#/d’ /etc/lldpd.d/icpds.conf 
cumulus@fabsw1a:/etc/network/interfaces.d$ sudo sed -i -e "/configure/s/ure .*/ure system description ’System Name Fabsw1a’/" /etc/lldpd.d/icpds.conf 
cumulus@fabsw1a:/etc/network/interfaces.d$ cat /etc/lldpd.d/icpds.conf
configure system description ’System Name Fabsw1a’ 
cumulus@fabsw1a:/etc/network/interfaces.d$ sudo systemctl stop lldpd 
cumulus@fabsw1a:/etc/network/interfaces.d$ sudo systemctl start lldpd
	
cumulus@fabsw1a:/etc/network/interfaces.d$ sudo systemctl status lldpd 
* lldpd.service - LLDP daemon 
	Loaded: loaded (/lib/systemd/system/lldpd.service; enabled) 
	Active: active (running) since Fri 2019-10-18 18:42:15 UTC; 58s ago 
		Docs: man:lldpd(8) 
Main PID: 12543 (lldpd) 
	CGroup: /system.slice/lldpd.service 
		|-12543 lldpd: monitor. 
		+-12547 lldpd: 2 neighbors.

Oct 18 18:42:15 fabsw1a systemd[1]: Started LLDP daemon. 
Oct 18 18:42:15 fabsw1a lldpd[12543]: dmiinfo = {bios_version:4.6.5,manufac...:} 
Oct 18 18:42:15 fabsw1a lldpd[12547]: found lsb_release = Cumulus Linux, ls....3 
Oct 18 18:42:15 fabsw1a lldpd[12547]: protocol LLDP enabled 
Oct 18 18:42:15 fabsw1a lldpd[12547]: protocol CDPv1 enabled 
Oct 18 18:42:15 fabsw1a lldpd[12547]: protocol CDPv2 enabled 
Oct 18 18:42:15 fabsw1a lldpd[12547]: libevent 2.0.21-stable initialized wi...od 
Oct 18 18:42:15 fabsw1a lldpcli[12544]: LLDP PortID TLV type set to new valu...e 
Oct 18 18:42:15 fabsw1a lldpcli[12544]: description set to new value System ...a
Oct 18 18:42:15 fabsw1a lldpcli[12544]: lldpd should resume operations 
Hint: Some lines were ellipsized, use -l to show in full. 
cumulus@fabsw1a:/etc/network/interfaces.d$
Note: In an HA Leaf situation both switches need to be updated. The FabSw1b should be so noted in the system description (line 3 in the example).

What to do next

The platform is now set and ready for use. You have to configure the application with the appcli command to use the new application name given by the customer. Review the appropriate documentation for instructions.