Skip to content

[snmp] LLDPRemManAddrTable does not gets populated if Remote Interface has both ipv4/6 address #7036

@abdosi

Description

@abdosi

Issue:
When the Remote LLDP Neighbor advertise both ipv4 and ipv6 address LLDPRemManAddrTable does not gets populated

Eg: below is APP DB where both v4 and v6 address present in lldp_rem_man_addr

  "LLDP_ENTRY_TABLE:Ethernet0": {
    "lldp_rem_port_id_subtype": "5",
    "lldp_rem_sys_cap_supported": "28 00",
    "lldp_rem_index": "1",
    "lldp_rem_chassis_id": "00:11:22:33:44:55",
    "lldp_rem_sys_desc": "I'm a little teapot.",
    "lldp_rem_time_mark": "18545",
    "lldp_rem_sys_cap_enabled": "28 00",
    "lldp_rem_port_desc": " ",
    "lldp_rem_chassis_id_subtype": "4",
    "lldp_rem_sys_name": "switch13",
    "lldp_rem_port_id": "Ethernet1",
    "lldp_rem_man_addr": "10.224.25.100,2603:10e2:290:5016::"
  },

It will fail with below error:
syslog:Mar 11 19:49:18.570078 str-sxxxx-on-2 WARNING snmp#snmp-subagent [sonic_ax_impl] WARNING: Invalid mgmt IP 10.224.25.100,2603:10e2:290:5016:

Expectation:

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions