Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Debian9-Z9100] - lldp nbr is showing incorrect info #1525

Closed
amitabhja opened this issue Mar 23, 2018 · 3 comments
Closed

[Debian9-Z9100] - lldp nbr is showing incorrect info #1525

amitabhja opened this issue Mar 23, 2018 · 3 comments
Assignees

Comments

@amitabhja
Copy link

-->

Description

The build used on the device is debian 9 but int o/p for "show lldp neighbor detai" the codename "jessie" is shown.
This should be showing up as "stretch"

Steps to reproduce the issue:

  1. check lldp nbr detail o/p in peer

Describe the results you received:
show lldp nbr:
script log:
<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>
"msg": {
"Ethernet1": {
"neighbor_chassis_id": "0x4c7625e4e4c0",
"neighbor_port_desc": "ARISTA16T2:Ethernet1",
"neighbor_port_id": "hundredGigE1/16",
"neighbor_sys_desc": "Debian GNU/Linux 8 (jessie) Linux 4.9.0-5-amd64 #1 SMP Debian 4.9.65-3+deb9u2 (2018-01-04) x86_64",
"neighbor_sys_name": "sonic-z9100-02"
<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>

show cmd on vm:
<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>
ARISTA01T2#show lldp nei det
Interface Ethernet1 detected 1 LLDP neighbors:

Neighbor 4c76.25e4.e4c0/"hundredGigE1/1", age 14 seconds
Discovered 4:16:47 ago; Last changed 4:15:43 ago

  • Chassis ID type: MAC address (4)
    Chassis ID : 4c76.25e4.e4c0
  • Port ID type: Locally assigned (7)
    Port ID : "hundredGigE1/1"
  • Time To Live: 120 seconds
  • Port Description: "ARISTA01T2:Ethernet1"
  • System Name: "sonic-z9100-02"
  • System Description: "Debian GNU/Linux 8 (jessie) Linux 4.9.0-5-amd64 Update README.md #1 SMP Debian 4.9.65-3+deb9u2 (2018-01-04) 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

Interface Ethernet2 detected 0 LLDP neighbors:

Interface Ethernet3 detected 0 LLDP neighbors:

Interface Ethernet4 detected 0 LLDP neighbors:

Interface Ethernet5 detected 0 LLDP neighbors:

Interface Management1 detected 0 LLDP neighbors:

ARISTA01T2#
<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>

Describe the results you expected:

The build used on the device is debian 9 but int o/p for "show lldp neighbor detai" the codename "jessie" is shown.
This should be showing up as "stretch"

@amitabhja amitabhja changed the title Debian9 - lldp nbr is showing incorrect info [Debian9-Z9100] - lldp nbr is showing incorrect info Mar 29, 2018
@amitabhja
Copy link
Author

seen after merge:
root@sonic:~# lldpctl

LLDP neighbors:

Interface: Ethernet116, via: LLDP, RID: 1, Time: 0 day, 00:01:35
Chassis:
ChassisID: mac 34:17:eb:45:de:00
SysName: sonic
SysDescr: Debian GNU/Linux 8 (jessie) Linux 3.16.0-5-amd64 #1 SMP Debian 3.16.51-3+deb8u1 (2018-01-08) x86_64
TTL: 120
MgmtIP: 10.1.0.32
MgmtIP: fe80::3617:ebff:fe45:de00
Capability: Bridge, on
Capability: Router, on
Capability: Wlan, off
Capability: Station, off
Port:
PortID: local hundredGigE1/30
PortDescr: ARISTA14T0:Ethernet1

@pavel-shirshov
Copy link
Contributor

Currently SONiC is running two OSs. We run Debian 9 as host system, Debian 8 as a container system.
lldp shows you a container system. Why do you think it's better to show host system in lldp?

@yxieca
Copy link
Contributor

yxieca commented Sep 19, 2019

Issue has been addressed.

@yxieca yxieca closed this as completed Sep 19, 2019
yxieca added a commit to yxieca/sonic-buildimage that referenced this issue Apr 8, 2021
* d58ba82 2021-04-05 | Fix fast-reboot fdb filtering for IPv6 addresses (sonic-net#1548) (github/201811) [Vaibhav Hemant Dixit]
* cc7ad9e 2021-03-24 | Fast reboot: check if the files are present before accessing (sonic-net#1526) [Vaibhav Hemant Dixit]
* 410323a 2021-03-24 | [201811] Add missing variable DEVPATH to fast-reboot script (sonic-net#1525) [Vaibhav Hemant Dixit]
* eb5023a 2021-03-21 | [201811] soft-reboot (sonic-net#1487) [Sujin Kang]
* 3f10540 2020-12-08 | [fast-reboot] Fix fast-reboot when NDP entries are present (sonic-net#1295) (HEAD -> 201811) [shlomibitton]

Signed-off-by: Ying Xie <[email protected]>
yxieca added a commit that referenced this issue Apr 9, 2021
* d58ba82 2021-04-05 | Fix fast-reboot fdb filtering for IPv6 addresses (#1548) (github/201811) [Vaibhav Hemant Dixit]
* cc7ad9e 2021-03-24 | Fast reboot: check if the files are present before accessing (#1526) [Vaibhav Hemant Dixit]
* 410323a 2021-03-24 | [201811] Add missing variable DEVPATH to fast-reboot script (#1525) [Vaibhav Hemant Dixit]
* eb5023a 2021-03-21 | [201811] soft-reboot (#1487) [Sujin Kang]
* 3f10540 2020-12-08 | [fast-reboot] Fix fast-reboot when NDP entries are present (#1295) (HEAD -> 201811) [shlomibitton]

Signed-off-by: Ying Xie <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants