The traffic steering configuration allows you to recurse routes to Flex-Algo-based SR-MPLS BE tunnels (also called Flex-Algo LSPs) for traffic forwarding.
After a Flex-Algo LSP is configured, traffic needs to be steered into the LSP for forwarding. Currently, Flex-Algo LSPs can be used for various routes, such as BGP and static routes, as well as various services, such as BGP L3VPN, BGP4+ 6PE, and EVPN services. This section describes how to use tunnel policies to recurse a service to a Flex-Algo LSP.
Before configuring traffic steering, complete the following tasks:
Configure BGP routes, static routes, BGP4+ 6PE services, BGP L3VPN services, BGP L3VPNv6 services, or EVPN services correctly.
Configure an IP prefix list and a tunnel policy to limit the number of routes that can recurse to a Flex-Algo LSP.
Configure non-labeled public BGP routes to recurse to Flex-Algo LSPs.
For details about how to configure BGP, see Configuring Basic BGP Functions.
Run route recursive-lookup tunnel [ ip-prefix ip-prefix-name ] tunnel-policy policy-name
Non-labeled public BGP routes are configured to recurse to Flex-Algo LSPs.
Run commit
The configuration is committed.
Configure static routes to recurse to Flex-Algo LSPs.
For details about how to configure a static route, see Configuring IPv4 Static Routes.
Run ip route-static recursive-lookup tunnel [ ip-prefix ip-prefix-name ] tunnel-policy policy-name
Static routes are configured to recurse to Flex-Algo LSPs for MPLS forwarding.
Run commit
The configuration is committed.
Configure a BGP L3VPN service to recurse to a Flex-Algo LSP.
For details about how to configure a BGP L3VPN service, see Configuring a Basic BGP/MPLS IP VPN.
The VPN instance view is displayed.
The VPN instance IPv4 address family view is displayed.
A tunnel policy is applied to the VPN instance IPv4 address family.
The default color is specified for the L3VPN service to recurse to a Flex-Algo LSP. This color is used for recursion if a remote VPN route without the color extended community attribute is leaked to the local VPN instance.
Run commit
The configuration is committed.
Configure a BGP L3VPNv6 service to recurse to a Flex-Algo LSP.
For details about how to configure a BGP L3VPNv6 service, see Configuring a Basic BGP/MPLS IPv6 VPN.
The VPN instance view is displayed.
The VPN instance IPv6 address family view is displayed.
A tunnel policy is applied to the VPN instance IPv6 address family.
The default color is specified for the L3VPNv6 service to recurse to a Flex-Algo LSP. This color is used for recursion if a remote VPN route without the color extended community attribute is leaked to the local VPN instance.
Run commit
The configuration is committed.
Configure a BGP4+ 6PE service to recurse to a Flex-Algo LSP.
For details about how to configure a BGP4+ 6PE service, see Configuring BGP4+ 6PE.
The BGP view is displayed.
The BGP-IPv6 unicast address family view is displayed.
The local device is enabled to exchange routes with a specified 6PE peer in the address family view.
A tunnel policy is applied to the 6PE peer.
Run commit
The configuration is committed.
Configure an EVPN service to recurse to a Flex-Algo LSP.
For details about how to configure an EVPN service, see Configuring BD-EVPN Functions.
The VPN instance view is displayed.
The VPN instance IPv4 or IPv6 address family view is displayed.
A tunnel policy is applied to the EVPN L3VPN instance.
The default color is specified for the EVPN L3VPN service to recurse to a Flex-Algo LSP.
This color is used for recursion if a remote EVPN route without the color extended community attribute is leaked to the local VPN instance.
Run commit
The configuration is committed.
Run evpn vpn-instance vpn-instance-name bd-mode
The BD EVPN instance view is displayed.
Run tnl-policy policy-name
A tunnel policy is applied to the BD EVPN instance.
The default color is specified for the EVPN service to recurse to a Flex-Algo LSP. This color is used for recursion if a remote EVPN route without the color extended community attribute is leaked to the local EVPN instance.
Run commit
The configuration is committed.
Run evpn vpn-instance vpn-instance-name vpws
The view of the EVPN instance in EVPN VPWS mode is displayed.
Run tnl-policy policy-name
A tunnel policy is applied to the EVPN instance in EVPN VPWS mode.
The default color is specified for the EVPN service to recurse to a Flex-Algo LSP. This color is used for recursion if a remote EVPN route without the color extended community attribute is leaked to the local EVPN instance.
Run commit
The configuration is committed.
Run evpn vpn-instance vpn-instance-name
The EVPN instance view is displayed.
Run tnl-policy policy-name
A tunnel policy is applied to the basic EVPN instance.
Run commit
The configuration is committed.