Use a controller to dynamically deliver a BGP IPv6 FlowSpec route to a forwarder and define a redirection rule on the forwarder to redirect the route to a specified SRv6 TE Policy.
Before configuring BGP IPv6 FlowSpec route redirection to an SRv6 TE Policy, complete the following tasks:
In a scenario where a controller is deployed, the controller can be used to deliver a BGP IPv6 FlowSpec route and an SRv6 TE Policy. The process of redirecting the BGP IPv6 FlowSpec route to the SRv6 TE Policy mainly includes the following steps:
Establish a BGP-LS peer relationship between the controller and forwarder, enabling the controller to collect such information as topology information and SIDs through BGP-LS.
Network topology information includes link cost, latency, packet loss rate and more.
Establish an IPv6 SR-Policy address family-specific BGP peer relationship between the controller and forwarder, so that the controller can dynamically compute an SRv6 TE Policy based on link cost, latency, packet loss rate and other factors and then deliver the SRv6 TE Policy to the headend through the peer relationship. Upon receipt, the headend generates an SRv6 TE Policy entry.
The following procedure focuses on forwarder configurations.
After configuring BGP IPv6 FlowSpec route redirection to an SRv6 TE Policy, verify the configuration.
Run the display bgp flow ipv6 peer command to check BGP IPv6 FlowSpec peer information.
Run the display bgp flow ipv6 routing-table command to check BGP IPv6 FlowSpec routing information.
Run the display bgp flow ipv6 routing-table statistics command to check BGP IPv6 FlowSpec route statistics.