Page 1 of 1

lldpad and port ID to show interface name

Posted: 2017/09/06 04:02:22
by mdb9676
We have a BGP setup where the servers have both 10g interfaces connected to different switches. On the switch end we run the following and see this...

swtor403#sh lldp ne eth35
Last table change time : 0:03:43 ago
Number of table inserts : 636
Number of table deletes : 596
Number of table drops : 0
Number of table age-outs : 6

Port Neighbor Device ID Neighbor Port ID TTL
Et35 tbvertui01sh1 48df.3706.bda9 120
swtor403#

I am trying to find the setting on the lldpad on the server end that will tell the switches the interface name " ie eno49/50" for the Neighbor Port ID, instead of the MAC address.

I have run this command on the server and still not getting it to change.

lldptool set-lldp -i eno49 adminStatus=rxtx  ;
      lldptool -T -i eno49 -V  sysName enableTx=yes;
      lldptool -T -i eno49 -V  portDesc enableTx=yes ;
      lldptool -T -i eno49 -V  sysDesc enableTx=yes;
      lldptool -T -i eno49 -V sysCap enableTx=yes;
      lldptool -T -i eno49 -V mngAddr enableTx=yes;

Re: lldpad and port ID to show interface name

Posted: 2017/09/06 18:38:03
by aks
Some label applied to a networking device is meaningless, in Ethernet (or IPv4), MAC address has meaning, arbitrary labels not.
You can supply the label as data thought. What are you *really* trying to achieve?

Re: lldpad and port ID to show interface name

Posted: 2017/09/11 16:30:46
by mdb9676
Our Network team was hoping to have the interface "Name" instead of the MAC address listed, so it would allow them to know if it is "ens49" or "ens50" , when troubleshooting network issues.

ie ...

Port Neighbor Device ID Neighbor Port ID TTL
Et35 tbvertui01sh1 ens49 120
swtor403#