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!
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: