Routing
Highlighted
Routing

LDP authentication configuration

‎07-26-2016 05:51 AM

Hi

 

The way I know LDP authentication is configured is as follows

set protocols ldp session 1.2.3.4 authentication-key "xxx"

 

Assuming directly connected ldp neighbors and autodiscovery. This way one has to manually configure and maintain redundant neighbor information. Is there a way to configure LDP authentication per interface or as default for all neighbors without specifying per-neighbor ip addresses?

 

Something like this:

set protocols ldp session all authentication-key "xxx"

Or:

set protocols ldp interface ge-1/0/0.100 authentication-key "xxx"

 

 

Thanks

1 REPLY 1
Highlighted
Routing

Re: LDP authentication configuration

[ Edited ]
‎07-26-2016 07:59 AM

 There is no interface specific authentication and authentication with session all for LDP.

 

 However you can aggregate your LDP neighbors and configure authentication , something like below

 

 

 

set protocols ldp session-group 7.7.0.0/16 authentication-key juniper (say if your network falls under this)

 

 

 

The above said command is very useful even if your neighbor is dynamic(say in the case of RLFA , targetted/indirect LDP neighbor is automatically picked from any of the nodes in the network)

 

 

 

 

This is supported from 15.1F7 and 16.1 onward

Feedback