On Junos OS and Junos OS Evolved platforms with SNMP (Simple Network Management Protocol) enabled, an SNMP walk may fail and returns a general error when LLDP (Link Layer Discovery Protocol) is configured on an interface whose index value is greater than 4096. The issue happens because the system is unable to process the large interface index value. This issue might be seen if the following conditions are met: * On Junos OS and Junos OS Evolved platforms * LLDP configured on the interface have index larger than 4096 and SNMP is configured * SNMP walk for LLDP is performed
When performing an LLDP MIB walk, the operation stops midway with a general error. This happens when the SNMP interface index is very large (greater than 4096). The SNMP walk fails at the MIB object lldpConfigManAddrPortsTxEnable because the system is unable to handle the large index value returned by LLDP during the SNMP walk. Error Message: Error in packet. Reason: (genError) A general failure occurred Failed object: iso.0.8802.1.1.2.1.1.6.1.4.66642956 To check the SNMP interface index, execute the CLI command: user@device> show interface (check for the SNMP index of IFD) Physical interface: xe-x/x/x, Enabled, Physical link is Down Interface index: 153, SNMP ifIndex: 540 <<<<<<<<<<<<<<<<<<<<<<<< Link-level type: Ethernet, MTU: 1514, MRU: 1522, LAN-PHY mode, Speed: 10Gbps, BPDU Error: None, Loop Detect PDU Error: None, Ethernet-Switching Error: None, MAC-REWRITE Error: None, Loopback: None, Source filtering: Disabled, Flow control: Enabled, Speed Configuration: Auto Device flags : Present Running Down Interface Specific flags: Internal: 0x100000 Interface flags: Hardware-Down SNMP-Traps Internal: 0x4000 Link flags : None CoS queues : 8 supported, 8 maximum usable queues Current address: xx:xx:xx:xx:xx:xx, Hardware address: xx:xx:xx:xx:xx:xx Last flapped : <timestamp> (03:01:37 ago) Input rate : 0 bps (0 pps) Output rate : 0 bps (0 pps) Active alarms : LINK Active defects : None PCS statistics Seconds Bit errors 0 Errored blocks 0 Link Degrade : Link Monitoring : Disable Interface transmit statistics: Disabled
Due to huge ifl snmp index, snmplib is not able to handle huge memory sent out as value by lldp and general error is thrown in snmp walk.
This issue is resolved in
evo:22.4R3-S9-EVO evo:23.2R2-S6-EVO evo:23.4R2-S7-EVO evo:24.2R2-S4-EVO evo:24.4R2-S3-EVO evo:25.2R2-EVO evo:25.4R1-EVO evo:25.4R2-EVO evo:26.1R1-EVO junos:22.4R3-S7-J7 junos:23.2R2-S6 junos:23.4R2-S7 junos:24.2R2-S4 junos:24.4R2-S3 junos:25.2R2 junos:25.4R1 junos:25.4R2 junos:26.1R1