Skip to content

[LLDP] lldp portidsubtype was NOT set to "locally assigned" but "mac address" #1457

@keboliu

Description

@keboliu

In the latest version

SONiC Software Version: SONiC.HEAD.253-20ab99b
Distribution: Debian 8.10
Kernel: 3.16.0-5-amd64
Build commit: 20ab99b
Build date: Sun Mar  4 07:39:19 UTC 2018
Built by: johnar@jenkins-worker-3

the lldp portidsubtype wasn't set to "locally assigned" but "mac address", it can be verified on the peer Arista VM with t0 topology.

ARISTA04T1#show lldp neighbors detail
Interface Ethernet1 detected 1 LLDP neighbors:

  Neighbor 248a.0740.0966/248a.0740.0940, age 2 seconds
  Discovered 0:09:01 ago; Last changed 0:09:01 ago
  - Chassis ID type: MAC address (4)
    Chassis ID     : 248a.0740.0966
  - Port ID type: MAC address (3)
    Port ID     : 248a.0740.0940
  - Time To Live: 120 seconds
  - Port Description: "Ethernet120"
  - System Name: "arc-mtbc-1001"
  - System Description: "Debian GNU/Linux 8 (jessie) Linux 3.16.0-5-amd64 #1 SMP Debian 3.16.51-3+deb8u1 (2018-01-08) x86_64"
  - System Capabilities : Bridge, WLAN Access Point, Router, Station Only
    Enabled Capabilities: Bridge, Router
  - Management Address Subtype: IPv4 
    Management Address        : 10.12.206.180
    Interface Number Subtype  : ifIndex (2)
    Interface Number          : 2
    OID String                : 
  - Management Address Subtype: IPv6 
    Management Address        : fc00:2::32
    Interface Number Subtype  : ifIndex (2)
    Interface Number          : 2
    OID String                : 
  - IEEE802.1/IEEE802.3 Link Aggregation
    Link Aggregation Status: Capable, Disabled (0x01)
    Port ID                : 0
  - IEEE802.3 MAC/PHY Configuration/Status
    Auto-negotiation       : Not Supported
    Operational MAU Type   : Unknown

This is different with the version build on 28th Feb, on this version it was set to "locally assigned"

ARISTA04T1#show lldp neighbors detail
Interface Ethernet1 detected 1 LLDP neighbors:

  Neighbor 248a.0740.0966/"Ethernet120", age 27 seconds
  Discovered 0:00:26 ago; Last changed 0:00:26 ago
  - Chassis ID type: MAC address (4)
    Chassis ID     : 248a.0740.0966
  - Port ID type: Locally assigned (7)
    Port ID     : "Ethernet120"
  - Time To Live: 120 seconds
  - Port Description: "ARISTA04T1:Ethernet1"
  - System Name: "arc-mtbc-1001"
  - System Description: "Debian GNU/Linux 8 (jessie) Linux 3.16.0-5-amd64 #1 SMP Debian 3.16.51-3+deb8u1 (2018-01-08) x86_64"
  - System Capabilities : Bridge, WLAN Access Point, Router, Station Only
    Enabled Capabilities: Bridge, Router
  - Management Address Subtype: IPv4 
    Management Address        : 10.1.0.32
    Interface Number Subtype  : ifIndex (2)
    Interface Number          : 1
    OID String                : 
  - Management Address Subtype: IPv6 
    Management Address        : fc00:1::32
    Interface Number Subtype  : ifIndex (2)
    Interface Number          : 1
    OID String                : 
  - IEEE802.1/IEEE802.3 Link Aggregation
    Link Aggregation Status: Capable, Disabled (0x01)
    Port ID                : 0
  - IEEE802.3 MAC/PHY Configuration/Status
    Auto-negotiation       : Not Supported
    Operational MAU Type   : Unknown

when this happened, the lldpmgrd is running:

root@arc-mtbc-1001:/# ps -A
  PID TTY          TIME CMD
    1 ?        00:00:00 supervisord
   16 ?        00:00:00 rsyslogd
   21 ?        00:00:00 lldpd
   23 ?        00:00:00 lldpd
   25 ?        00:00:00 python2
   31 ?        00:00:00 python
  191 ?        00:00:00 bash
  196 ?        00:00:00 ps

root@arc-mtbc-1001:/# cat /proc/31/environ
TERM=xtermSUPERVISOR_SERVER_URL=unix:///var/run/supervisor.sockDEBIAN_FRONTEND=noninteractiveHOSTNAME=arc-mtbc-1001SUPERVISOR_ENABLED=1SUPERVISOR_PROCESS_NAME=lldpmgrdSUPERVISOR_GROUP_NAME=lldpmgrdHOME=/rootPATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
root@arc-mtbc-1001:/# 

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions