How can I control the behavior of VPLS class-based forwarding with multiple label-switched paths (LSPs) when one LSP goes down?
The following configuration is an example in which class-based forwarding is applied to a VPLS. It works as expected when both RSVP LSPs are up. If one of the LSPs goes down, all traffic uses the remaining LSP.
For example, if the to-brg2-private LSP or tunnel goes down, all of the PRIVATE class traffic then uses the REALTIME tunnel.
next-hop-map NHOP-LSP-MAP { forwarding-class REALTIME { lsp-next-hop to-brg2-realtime; } forwarding-class PRIVATE { lsp-next-hop to-brg2-private; }}
To change this behavior, apply a filter that only allows traffic of the specific forwarding class on each LSP:
set protocols mpls label-switched-path name policing filter name
For more information, click Layer 2 VPNs and VPLS Feature Guide.