I want to discover neighbor through LLDP but there's no LLDP command on M120.
Any features can do like that?
Yes you pointed it rightly, this feature is not available on M series.
Checked this and as per our documentation as well the LLDP is not available for M series routers.
Link : https://apps.juniper.net/feature-explorer/parent-feature-info.html?pFKey=1377&pFName=Link%20Layer%20Discovery%20Protocol%20(LLDP)
I suppose there are no alternatives for the neighbor discovery, so the answer is No.
Hope this helps.
Please mark "Accept as solution" if this answers your query.
Kudos are appreciated too!
I believe LLDP feature isn't available on the router as it doesn't show up here in the below link.
Adding on to the previous replies.
As there is no LLDP feature in M-series, but the device can still discover the IPv6 neighbors by neighbor discovery protocol.
Neighbor discovery is a protocol that allows different nodes on the same link to advertise their existence to their neighbors, and to learn about the existence of their neighbors.
Routers and hosts (nodes) use Neighbor Discovery (ND) messages to determine the link-layer addresses of neighbors that reside on attached links and to overwrite invalid cache entries. Hosts also use ND to find neighboring routers that can forward packets on their behalf.
In addition, nodes use ND to actively track the ability to reach neighbors. When a router (or the path to a router) fails, nodes actively search for alternatives to reach the destination.
Example: Configuring IPv6 Interfaces and Enabling Neighbor Discovery
I hope this helps. Please mark this post "Accept as solution" if this answers your query.
Kudos are always appreciated!