The apply extcommunity redirect ip command applies a redirection IP address extended community attribute to routes matching specified filtering rules.
The undo apply extcommunity redirect ip command restores the default configuration.
By default, no redirection IP address extended community attribute is applied to routes matching specified filtering rules.
Usage Scenario
To apply a redirection extended community attribute to BGP FlowSpec routes matching specified filtering rules, run the apply extcommunity redirect command. To enable BGP FlowSpec routes to redirect traffic to a specified next hop, run the apply extcommunity redirect ip command to add an IP address extended community attribute to these routes.
Prerequisites
A route-policy has been configured.
Configuration Impact
If a route matches the filtering rules of a specified route-policy, the redirection extended community attribute will be applied to the route.