Description

When changing lldp management-address before the inet interface, the SNMP MIB will not be updated correctly on Remote station (lldpRemManAddr).

Symptoms

When changing the lldp management-address, before changing the L3 address on the physical port, snmp on the remote switch does not update correctly even though the cli "show lldp neighbors interface ge-0/0/0" sees the updated lldp remote management address.

Toplogy :

EX-Switch1(Local)=====ge-0/0/0=====EXSwitch2(Remote)

Local Switch1:

{master:1}[edit]
juniper@Wade-ASP# delete protocols lldp management-address 10.203.203.2

{master:1}[edit]
juniper@Wade-ASP# commit synchronize
fpc1:
configuration check succeeds
fpc0:
commit complete
fpc1:
commit complete

{master:1}[edit]
juniper@Wade-ASP# set protocols lldp management-address 10.203.203.1               <<<<<<<<< cli should error here since .1 is not configured on the physical link yet.

{master:1}[edit]
juniper@Wade-ASP# commit synchronize
fpc1:
configuration check succeeds
fpc0:
commit complete
fpc1:
commit complete

{master:1}[edit]
juniper@Wade-ASP#


{master:1}[edit]
juniper@Wade-ASP# show interfaces
ge-0/0/0 {
description T0-HQ-rem-0/0/0;
unit 0 {
family inet {
address 10.203.203.2/29;                                                    <<<<<<<<<<<< .2 is still configured
}
}


{master:1}[edit]
juniper@Wade-ASP# run show snmp mib walk lldpMIB |match lldpLocManAddr

lldpLocManAddrLen.1.10.203.203.1 = 5                                                                            <<<<< Local address change good
lldpLocManAddrIfSubtype.1.10.203.203.1 = 2

lldpLocManAddrIfId.1.10.203.203.1 = 240
lldpLocManAddrOID.1.10.203.203.1 = ifName.240



Now go to the remote switch to see what it received as Switch1's management address:


Switch2

{master:0}
root@Wade-HQ> show lldp neighbors interface ge-0/0/0.0
LLDP Neighbor Information:
Local Information:
Index: 5 Time to live: 120 Time mark: Tue May 25 12:30:18 2010 Age: 16 secs
Local Interface : ge-0/0/0.0
Local Port ID : 399

Neighbour Information:
Chassis type : Mac address
Chassis ID : 00:19:e2:54:41:40
Port type : Locally assigned
Port ID : 240
Port description : ge-0/0/0.0
System name : Wade-ASP

System Description : Juniper Networks, Inc. ex4200-48t , version 10.0R3.10 Build date: 2010-04-16 07:36:17 UTC

System capabilities
Supported: Bridge Router
Enabled : Bridge Router

Management Info
Type : IPv4
Address : 10.203.203.1                                     <<<<<<< CLI correctly received the new remote address
Port ID : 240
Subtype : 1
Interface Subtype : 2
OID : 1.3.6.1.2.1.31.1.1.1.1.240


{master:0}
root@Wade-HQ> show snmp mib walk lldpMIB |match lldpRemManAddr
lldpRemManAddrIfSubtype.11102.399.5.1.4.10.203.203.2 = 2                                   <<<<<<< Still has INCORRECT old address
lldpRemManAddrIfId.11102.399.5.1.4.10.203.203.2 = 240
lldpRemManAddrOID.11102.399.5.1.4.10.203.203.2 = ifName.4294967280


Solution

Workaround:

Either set the inet interface first for the new address before setting lldp managment-address, or bounce the interface.

Problem Report:
PR/534138 - LLDP MIB does not update RemManAddr if address is changed
  -- When changing lldp management-address before the inet interface, the SNMP MIB will not be updated correctly on Remote station (lldpRemManAddr).

This issue has been resolved in the following releases:   10.2R3, 10.3R2, 10.4R1