A protection switching function, such as link or node protection, can be configured to provide high availability for an inter-AS seamless MPLS network.
Tunnel Type |
Protected Object |
Nodes to Be Configured |
Detection Method |
Protection Function |
---|---|---|---|---|
MPLS TE tunnel (without Ps on links at the network layer) |
Protects access rings, aggregation rings, and links at the core layer. |
All nodes |
Configure either of the following TE FRR functions: |
|
MPLS TE tunnel (with Ps on links at the network layer) |
Protects access rings, aggregation rings, and links at the core layer. |
All nodes |
||
MPLS TE tunnel |
Protects AGGs, AGG ASBRs, and core ASBRs. |
CSGs, AGGs, AGG ASBRs, and MASGs |
Configure BGP LSP FRR. |
|
MPLS LDP LSP |
Protects access rings and aggregation rings, as well as links, AGGs, AGG ASBRs, and core ASBRs at the core layer. |
All nodes |
Configure static BFD to monitor an LDP LSP or dynamic BFD for LDP LSPs. |
Configure BGP LSP FRR. |
MPLS TE tunnel or MPLS LDP LSP |
Protect links between each pair of an AGG ASBR and a core ASBR. |
AGG ASBRs and core ASBRs |
Configure BGP LSP FRR. |
|
MPLS TE tunnel or MPLS LDP LSP |
Protects a whole BGP LSP and MP-BGP peers on an L3VPN. |
CSGs and MASGs |
Configure either of the following VPN FRR functions: |
The system view is displayed.
A BFD session for IPv4 is bound to an interface.
The local discriminator of the BFD session is created.
The remote discriminator of the BFD session is created.
The local and remote discriminators on the two ends of a BFD session must be correctly associated. That is, the local discriminator of the local device must be the same as the remote discriminator of the remote device, and the remote discriminator of the local device must be the same as the local discriminator of the remote device. If the association is incorrect, a BFD session cannot be set up.
The configuration is committed.
Perform the following steps on the ingress of the primary tunnel:
The system view is displayed.
The tunnel interface view of the primary tunnel is displayed.
The TE FRR function is enabled.
The configuration is committed.
Configure an FRR bypass tunnel.
The system view is displayed.
The tunnel interface view of a bypass tunnel is displayed.
MPLS TE is configured as a tunnel protocol.
The LSR ID of an MP is configured as the destination address of the bypass tunnel.
A tunnel ID of the bypass tunnel is set.
An explicit path is specified for the bypass tunnel.
Physical links of a bypass tunnel cannot overlap protected physical links of the primary tunnel.
The bandwidth is set for the bypass tunnel.
The bypass tunnel function is enabled.
After a bypass tunnel is configured, the device automatically records routes related to the bypass tunnel.
Note the following settings to prevent a protection failure:
A tunnel interface can only be used by either a bypass tunnel or a backup tunnel. A protection failure will occur if the mpls te bypass-tunnel and mpls te backup commands are both run on the tunnel interface.
A tunnel interface can only be used by either a bypass tunnel or a primary tunnel. A protection failure will occur if the mpls te bypass-tunnel and mpls te fast-reroute commands are both run on the tunnel interface.
The interface on which traffic is protected by the bypass tunnel is specified.
A tunnel interface can only be used by either a bypass tunnel or a backup tunnel. A protection failure will occur if the mpls te protected-interface and mpls te backup commands are both run on the tunnel interface.
A tunnel interface can only be used by either a bypass tunnel or a backup tunnel. A protection failure will occur if the mpls te protected-interface and mpls te fast-reroute commands are both run on the tunnel interface.
The configuration is committed.
Perform the following steps on the ingress or a transit node of a primary tunnel:
The system view is displayed.
The MPLS view is displayed.
MPLS TE Auto FRR is enabled globally.
Return to the system view.
The view of the outbound interface on the primary tunnel is displayed.
TE Auto FRR is enabled on the interface.
By default, all MPLS TE-enabled interfaces support TE Auto FRR after MPLS TE Auto FRR is enabled globally. To disable TE Auto FRR on interfaces, run the mpls te auto-frr block command on these interfaces. The mpls te auto-frr block command disables TE Auto FRR on interfaces, even if TE Auto FRR is enabled or re-enabled globally.
By default, TE Auto FRR is disabled.
If the mpls te auto-frr default command is run, the interface Auto FRR capability status is the same as the global Auto FRR capability status.
The TE FRR function is enabled.
The bandwidth parameter can be configured to enable FRR bandwidth protection for the primary tunnel.
Attributes for the Auto FRR bypass tunnel are set.
These attributes for the Auto FRR bypass tunnel can be set only after the mpls te fast-reroute bandwidth command is run for the primary tunnel.
The setup priority of the bypass tunnel cannot be higher than the holding priority. Each priority of the bypass tunnel cannot be higher than that of the primary tunnel.
If the primary tunnel bandwidth is changed or FRR is disabled, the bypass tunnel attributes are automatically deleted.
On one TE tunnel interface, the bypass tunnel bandwidth and the multi-CT are mutually exclusive.
The configuration is committed.
The system view is displayed.
BFD is enabled globally on the local node, and the BFD view is displayed.
The BFD session is bound to the primary or backup CR-LSP of the specified tunnel.
If the backup parameter is specified, the BFD session is bound to the backup CR-LSP.
The local discriminator of the BFD session is configured.
The remote discriminator of the BFD session is configured.
The local discriminator of the local device and the remote discriminator of the remote device are the same, and the remote discriminator of the local device and the local discriminator of the remote device are the same. A discriminator inconsistency causes the BFD session to fail to be established.
BFD is enabled to modify the port status table or link status table.
If the BFD session on a trunk or VLAN member interface allows BFD to modify the port status table or link status table, and the interface is configured with the BFD session, you must configure the WTR time for the BFD session for detecting the interface. This prevents the BFD session on the interface from flapping when the member interface joins or leave the interface.
The minimum interval at which BFD packets are sent is configured.
The local minimum interval at which BFD packets are received is configured.
The local BFD detection multiplier is configured.
The configuration is committed.
The system view is displayed.
BFD is enabled globally on the local node, and the BFD view is displayed.
The TE tunnel interface view is displayed.
The capability of dynamically creating BFD sessions is enabled on the TE tunnel.
The command configured in the tunnel interface view takes effect only on the current tunnel interface.
The configuration is committed.
The system view is displayed.
The MPLS TE tunnel interface view is displayed.
CR-LSP hot standby is configured.
mode revertive [ wtr interval ]: enables a device to switch traffic back to the primary CR-LSP.
mode non-revertive: disables a device from switching traffic back to the primary CR-LSP.
overlap-path: allows a hot-standby CR-LSP to overlap the primary CR-LSP if no available path is provided for the hot-standby CR-LSP.
wtr interval: sets the time before a traffic switchback is performed.
dynamic-bandwidth: enables a hot-standby CR-LSP to obtain bandwidth resources only after the hot-standby CR-LSP takes over traffic from a faulty primary CR-LSP. This function helps efficiently use network resources and reduce network costs.
The configuration is committed.
The system view is displayed.
BFD is enabled globally on the local node, and the BFD view is displayed.
The TE tunnel to be detected by BFD sessions is specified.
When the TE tunnel is in the Down state, a BFD session cannot be established.
The local discriminator of the BFD session is configured.
The remote discriminator of the BFD session is configured.
The local discriminator of the local device and the remote discriminator of the remote device are the same, and the remote discriminator of the local device and the local discriminator of the remote device are the same. A discriminator inconsistency causes the BFD session to fail to be established.
BFD is enabled to modify the port status table or link status table.
If the BFD session on a trunk or VLAN member interface allows BFD to modify the port status table or link status table, and the interface is configured with the BFD session, you must configure the WTR time for the BFD session for detecting the interface. This prevents the BFD session on the interface from flapping when the member interface joins or leave the interface.
The minimum interval at which BFD packets are sent is configured.
The local minimum interval at which BFD packets are received is configured.
The local BFD detection multiplier is configured.
The configuration is committed.
The system view is displayed.
BFD is enabled globally on the local node, and the BFD view is displayed.
A BFD session is bound to an LDP LSP.
The local discriminator of the BFD session is configured.
The remote discriminator of the BFD session is configured.
The local discriminator of the local device and the remote discriminator of the remote device are the same, and the remote discriminator of the local device and the local discriminator of the remote device are the same. A discriminator inconsistency causes the BFD session to fail to be established.
BFD is enabled to modify the port status table or link status table.
If the BFD session on a trunk or VLAN member interface allows BFD to modify the port status table or link status table, and the interface is configured with the BFD session, you must configure the WTR time for the BFD session for detecting the interface. This prevents the BFD session on the interface from flapping when the member interface joins or leave the interface.
The minimum interval at which BFD packets are sent is configured.
The local minimum interval at which BFD packets are received is configured.
The local BFD detection multiplier is configured.
The configuration is committed.
Perform the following steps on the ingress:
The system view is displayed.
BFD is globally enabled.
Return to the system view.
The MPLS view is displayed.
The capability of dynamically establishing a BFD session is configured on the ingress.
A policy is configured to establish a BFD session to monitor an LDP LSP.
The configuration is committed.
Perform the following steps on the egress:
The system view is displayed.
BFD is globally enabled, and the BFD view is displayed.
The capability of passively creating a BFD session is configured on the egress.
The configuration is committed.
In a seamless MPLS scenario, BGP LSP FRR must be configured on both the ingress and a transit node.
Perform the following steps on the ingress:
The system view is displayed.
The BGP view is displayed.
The BGP-IPv4 unicast address family view is displayed.
BGP Auto FRR is enabled for unicast routes.
Labeled BGP IPv4 unicast routes can participate in route selection only when their next hops recurse to tunnels.
The BGP LSP FRR protection mode is configured.
Perform this step on each CSG and MASG to implement protection switching for the entire BGP LSP.
A delay for selecting a route to the intermediate device on the primary path is configured. After the primary path recovers, an appropriate delay ensures that traffic switches back to the primary path after the intermediate device completes refreshing forwarding entries.
The configuration is committed.
Perform the following steps on the transit node:
The system view is displayed.
BFD is enabled globally.
The BGP-IPv4 unicast address family view is displayed.
BGP Auto FRR for unicast routes is enabled.
The device is enabled to allow labeled BGP IPv4 unicast routes that recurse only to MPLS tunnels to participate in route selection.
A delay for selecting a route is configured.
After the primary path recovers, a delay for selecting a route to the intermediate device on the primary path is configured. An appropriate delay ensures that traffic switches back to the primary path after the intermediate device completes refreshing forwarding entries.
The configuration is committed.
Perform the following steps on the ingress of an E2E BGP tunnel:
The system view is displayed.
BFD is enabled globally.
Return to the system view.
The MPLS view is displayed.
The ability to dynamically establish BGP BFD sessions is enabled on the ingress.
A policy for dynamically establishing a BGP BFD session is configured.
The configuration is committed.
Perform the following steps on the egress of an E2E BGP tunnel:
The system view is displayed.
BFD is enabled globally, and the BFD view is displayed.
The capability of passively creating a BFD session is configured on the egress.
The configuration is committed.
The system view is displayed.
The VPN instance view is displayed.
The VPN instance IPv4 address family view is displayed.
VPN FRR is enabled.
Return to the system view.
Return to the system view.
The BGP view is displayed.
The ability to establish an MPLS local IFNET tunnel between a CSG and MASG is disabled.
In the inter-AS seamless MPLS network transmitting L3VPN services, a CSG and MASG establish an MP-EBGP peer relationship. Therefore, an MPLS local IFNET tunnel between the CSG and MASG is established over the MP-EBGP peer relationship. The MPLS local IFNET tunnel fails to transmit traffic because the CSG and MASG are indirectly connected.
If a fault occurs on the BGP LSP between the CSG and MASG, traffic recurses to the MPLS local IFNET tunnel, not an FRR bypass tunnel. As the MPLS local IFNET tunnel cannot forward traffic, traffic is interrupted. To prevent the traffic interruption, run the peer mpls-local-ifnet disable command to disable the establishment of an MPLS local IFNET tunnel between the CSG and MASG.
The BGP-VPN instance IPv4 address family view is displayed.
A VPN route is configured to participate in route selection only when its next hop recurses to a tunnel. This configuration ensures that packets are not lost during a traffic switchback.
A delay for selecting a route to the intermediate device on the primary path is configured. After the primary path recovers, an appropriate delay ensures that traffic switches back to the primary path after the intermediate device completes refreshing forwarding entries.
The delay-value is an integer ranging from 0 to 3600, in seconds. The default delay-value is 0, indicating that the device on which FRR is configured selects a route to the intermediate device on the primary path without a delay.
The configuration is committed.
The system view is displayed.
The BGP view is displayed.
The ability to establish an MPLS local IFNET tunnel between a CSG and MASG is disabled.
In the inter-AS seamless MPLS network transmitting L3VPN services, a CSG and MASG establish an MP-EBGP peer relationship. Therefore, an MPLS local IFNET tunnel between the CSG and MASG is established over the MP-EBGP peer relationship. The MPLS local IFNET tunnel fails to transmit traffic because the CSG and MASG are indirectly connected.
If a fault occurs on the BGP LSP between the CSG and MASG, traffic recurses to the MPLS local IFNET tunnel, not an FRR bypass tunnel. As the MPLS local IFNET tunnel cannot forward traffic, traffic is interrupted. To prevent the traffic interruption, run the peer mpls-local-ifnet disable command to disable the establishment of an MPLS local IFNET tunnel between the CSG and MASG.
The BGP-VPN instance IPv4 address family view is displayed.
VPN Auto FRR is enabled.
A VPN route is configured to participate in route selection only when its next hop recurses to a tunnel. This configuration ensures that packets are not lost during a traffic switchback.
A delay for selecting a route to the intermediate device on the primary path is configured. After the primary path recovers, an appropriate delay ensures that traffic switches back to the primary path after the intermediate device completes refreshing forwarding entries.
The delay-value is an integer ranging from 0 to 3600, in seconds. The default delay-value is 0, indicating that the device on which FRR is configured selects a route to the intermediate device on the primary path without a delay.
The configuration is committed.