Public bug reported:

The switch it's configured by auto dcb parameter by "neighbor"

Chassis ID TLV
        MAC: MACDEVICE
Port ID TLV
        MAC: MACDEVICE
Time to Live TLV
        120
IEEE 8021QAZ ETS Configuration TLV
         Willing: yes
         CBS: not supported
         MAX_TCS: 8
         PRIO_MAP: 0:1 1:0 2:2 3:3 4:4 5:4 6:5 7:6 
         TC Bandwidth: 7% 20% 25% 33% 15% 0% 0% 1% 
         TSA_MAP: 0:ets 1:ets 2:ets 3:ets 4:ets 5:strict 6:strict 7:strict 
IEEE 8021QAZ ETS Recommendation TLV
         PRIO_MAP:  0:1 1:0 2:2 3:3 4:4 5:4 6:5 7:6 
         TC Bandwidth: 7% 20% 25% 15% 33% 0% 0% 0% 
         TSA_MAP: 0:ets 1:ets 2:ets 3:ets 4:ets 5:strict 6:strict 7:strict 
IEEE 8021QAZ PFC TLV
         Willing: yes
         MACsec Bypass Capable: no
         PFC capable traffic classes: 8
         PFC enabled: none
IEEE 8021QAZ APP TLV
        App#0:
         Priority: 3
         Sel: 1
         Ethertype: 0x8906

Port Description TLV
        Alcatel-Lucent OS6900 XNI 1/1/1
System Name TLV
        OmniSwitch_Cluster_6900
System Description TLV
        Alcatel-Lucent Enterprise OS6900-T20 8.3.1.160.R02 GA, December 22, 
2016.
System Capabilities TLV
        System capabilities:  Bridge, Router
        Enabled capabilities: Bridge, Router
Management Address TLV
        IPv4: 0.0.0.0
        Ifindex: 0
Port VLAN ID TLV
        PVID: 1
Port and Protocol VLAN ID TLV
        PVID: 0, not supported, not enabled
VLAN Name TLV
        VID 1: Name VLAN 1
Protocol Identity TLV
        88.cc.
Management VID TLV
        Mgmt VID: unsupported
VID Usage Digest TLV
        VID 0: Name 
Link Aggregation TLV
        Aggregation capable
        Currently not aggregated
        Aggregated Port ID: -1
MAC/PHY Configuration Status TLV
        Auto-negotiation supported and enabled
        PMD auto-negotiation capabilities: 0x0400
        MAU type: 10G BaseX
LLDP-MED Capabilities TLV
        Device Type:  netcon
        Capabilities: LLDP-MED, Network Policy, Extended Power via MDI-PSE
End of LLDPDU TLV


version 1.0.1 Work TLV:

/opt/llpdap/sbin/lldptool -t -i enp5s0f0

Chassis ID TLV
        MAC: MACDEVICE
Port ID TLV
        MAC: MACDEVICE
Time to Live TLV
        120
Port Description TLV
        Interface   6 as enp5s0f0
System Name TLV
        upruebasan
System Description TLV
        Linux upruebasan 4.10.0 #1 SMP Tue Apr 18 18:05:01 ART 2017 x86_64
System Capabilities TLV
        System capabilities:  Station Only
        Enabled capabilities: Station Only
Management Address TLV
        IPv6: IPV6
        Ifindex: 6
IEEE 8021QAZ ETS Configuration TLV
         Willing: yes
         CBS: not supported
         MAX_TCS: 4
         PRIO_MAP: 0:1 1:0 2:2 3:3 4:4 5:4 6:5 7:6 
         TC Bandwidth: 7% 20% 25% 15% 33% 0% 0% 0% 
         TSA_MAP: 0:ets 1:ets 2:ets 3:ets 4:ets 5:strict 6:strict 7:strict 
IEEE 8021QAZ PFC TLV
         Willing: yes
         MACsec Bypass Capable: no
         PFC capable traffic classes: 4
         PFC enabled: none
IEEE 8021QAZ APP TLV
        App#0:
         Priority: 3
         Sel: 1
         Ethertype: 0x8906

End of LLDPDU TLV


With the version Original packages, DON'T work TLV

version 0.9.46-3.1

Format: 3.0 (quilt)
Source: lldpad
Binary: lldpad-dev, lldpad
Architecture: any
Version: 0.9.46-3.1
Maintainer: Debian FCoE Maintainers <[email protected]>
Uploaders: Ritesh Raj Sarraf <[email protected]>, Liang Guo 
<[email protected]>, Jacob Luna Lundberg <[email protected]>
Homepage: http://open-lldp.org/
Standards-Version: 3.9.6
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-fcoe/lldpad.git;a=summary
Vcs-Git: git://anonscm.debian.org/pkg-fcoe/lldpad.git


lldptool -t -i enp5s0f0 
Chassis ID TLV
        MAC: a0:36:9f:d4:c6:44
Port ID TLV
        MAC: a0:36:9f:d4:c6:44
Time to Live TLV
        120
Port Description TLV
        Interface   6 as enp5s0f0
System Name TLV
        upruebasan
System Description TLV
        Linux upruebasan 4.10.0 #1 SMP Tue Apr 18 18:05:01 ART 2017 x86_64
System Capabilities TLV
        System capabilities:  Station Only
        Enabled capabilities: Station Only
Management Address TLV
        IPv6: fe80::a236:9fff:fed4:c644
        Ifindex: 6
End of LLDPDU TLV


¿When version lldpad 1.0.1 will be available?

the version 1.0.1, there are some functions without implementing also,
for exmaple :

source => 
http://lists.open-lldp.org/pipermail/lldp-devel/2011-April/000120.html
http://patchwork.open-lldp.org/patch/97/
https://patchwork.openembedded.org/patch/106067/

edit file lldp_8021qaz.c

/*
 * LLDP_8021QAZ_MOD_OPS - CLIF_CMD
*/
inline int ieee8021qaz_clif_cmd(void *data, struct sockaddr_un *from,
                                socklen_t fromlen, char *ibuf, int ilen,
                                char *rbuf)
{
        /*custom correction for compile enable*/
        DISCARD_PARAMETER(data);
        DISCARD_PARAMETER(from);
        DISCARD_PARAMETER(fromlen);
        DISCARD_PARAMETER(ibuf);
        DISCARD_PARAMETER(ilen);
        DISCARD_PARAMETER(rbuf);
        return 0;
}


/*
 * LLDP_8021QAZ_MOD_OPS - CHECK_OPERSTATE
 */
inline int ieee8021qaz_check_operstate()
{
        return 0;
}


Thanks and sorry for the inconvenience

** Affects: lldpad (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1686835

Title:
  lldptool don't work with TLV parameter by SWITCH automatic
  configuration

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lldpad/+bug/1686835/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to