The flow-route command configures a static BGP Flow Specification route and displays the Flow-Route view.
The undo flow-route command deletes the static BGP Flow Specification route.
By default, no static BGP Flow Specification route is created.
Usage Scenario
To filter out the attack traffic of a certain type, you can run the flow-route command to manually configure a static BGP Flow Specification route with a filtering rule and a traffic controlling action. Receiving the route, a BGP Flow Specification peer generates a traffic policy to control the attack traffic.
One BGP Flow Specification route can include multiple if-match and apply clauses. The if-match clauses define filtering rules. The apply clauses specify actions. The relationships between if-match clauses and between apply clauses are as follows:Configuration Impact
After the BGP-IPv4 Flow address family is enabled using the ipv4-family flow command, the manually generated BGP Flow Specification route is imported to the BGP routing table.
if-match port and if-match destination-port or if-match source-port are mutually exclusive.