intel/openlldp

How to set the display type of the port id ?

zhangguanzhang opened this issue · 3 comments

It doesn't work

# lldptool -T -i ens2f0 -V portID subtype=PORT_ID_INTERFACE_NAME
# lldptool -t -i ens2f0 -V portID
Port ID TLV
	MAC: 70:57:bf:fa:ab:20

I use the version to resolve this,lldpad-1.0.1-5.git036e314.el7.x86_64.rpm

# lldptool -T -i ens2f0 -V portID subtype=PORT_ID_INTERFACE_NAME
subtype=PORT_ID_INTERFACE_NAME
# lldptool -t -i ens2f0
Chassis ID TLV
	MAC: 70:57:bf:fa:ab:20
Port ID TLV
	Ifname: ens2f0
Time to Live TLV
	120
System Name TLV
	HB1-BJ1-BigData-002
IEEE 8021QAZ ETS Configuration TLV
	 Willing: yes
	 CBS: not supported
	 MAX_TCS: 8
	 PRIO_MAP: 0:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0 
	 TC Bandwidth: 0% 0% 0% 0% 0% 0% 0% 0% 
	 TSA_MAP: 0:strict 1:strict 2:strict 3:strict 4:strict 5:strict 6:strict 7:strict 
IEEE 8021QAZ PFC TLV
	 Willing: yes
	 MACsec Bypass Capable: no
	 PFC capable traffic classes: 8
	 PFC enabled: none
End of LLDPDU TLV

lldpad-0.9.42-1.1.2.unic.el7.x86_64 ---> lldpad-1.0.1-5.git036e314.el7.x86_64.rpm