Manually configure a BGP IPv6 FlowSpec route and define a redirection rule to redirect the route to an SRv6 TE Policy.
Before configuring BGP IPv6 FlowSpec route redirection to an SRv6 TE Policy, complete the following tasks:
In a scenario where no controller is deployed, you can manually configure BGP IPv6 FlowSpec route redirection to an SRv6 TE Policy. The configuration process mainly includes the following steps:
The system view is displayed.
SRv6 is enabled, and the SRv6 view is displayed.
A source address is specified for SRv6 VPN encapsulation.
An SRv6 locator is configured.
A public network End.DT6 SID is configured.
Exit the SRv6 locator view.
Exit the SRv6 view.
The configuration is committed.
Establish a BGP IPv6 FlowSpec peer relationship between the headend of the SRv6 TE Policy and the device on which the BGP IPv6 FlowSpec route is manually configured. If the BGP IPv6 FlowSpec route is manually configured on the headend of the SRv6 TE Policy, skip this step.
After the configuration is complete, 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.