09-12-2021 01:30 AM
I was reading about MPLS LDP session protection. As I understand it's configured in Global config for the entire router, e.g.:
Router(config)#mpls ldp session protection
It seems like you would want the option to enable this only on certain interfaces. Is there a way to enable it on a single interface, or a way to disable it on some interfaces after you've enabled it globally?
Solved! Go to Solution.
09-12-2021 10:29 AM - edited 09-12-2021 11:08 AM
Hi,
you can use "mpls ldp session protection [vrf vpn-name] [for acl]" for specify the LDP peers that should be protected.
The access list (acl) you can configure lets you specify the LDP peers that should be protected. It should hold the LDP Router Identifier of the LDP neighbors that need protection.
here is example:
R1
access-list 1 permit 2.2.2.2
mpls ldp session protection for 1
mpls ldp discovery targeted-hello accept
R2
access-list 1 permit 1.1.1.1
mpls ldp session protection for 1
mpls ldp discovery targeted-hello accept
09-12-2021 10:29 AM - edited 09-12-2021 11:08 AM
Hi,
you can use "mpls ldp session protection [vrf vpn-name] [for acl]" for specify the LDP peers that should be protected.
The access list (acl) you can configure lets you specify the LDP peers that should be protected. It should hold the LDP Router Identifier of the LDP neighbors that need protection.
here is example:
R1
access-list 1 permit 2.2.2.2
mpls ldp session protection for 1
mpls ldp discovery targeted-hello accept
R2
access-list 1 permit 1.1.1.1
mpls ldp session protection for 1
mpls ldp discovery targeted-hello accept
09-13-2021 02:44 AM
Thanks for the response!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide