You can view and clear a routing policy after you create it.
After you create a routing policy, you can run the display command in any view to display the status of the routing policy and verify the configuration effects.
You can run the reset command in the user view to clear the statistics of a routing policy.
Action |
Command |
|---|---|
Display the autonomous system (AS)-path filter list of the Border Gateway Protocol (BGP). |
display ip as-path-filter [ as-path-filter-number | as-path-filter-name ] |
Display the community-filter list of BGP. |
display ip community-filter [ basic-comm-filter-num | adv-comm-filter-num | comm-filter-name ] |
Display the extcommunity-filter list of BGP. |
display ip extcommunity-filter [ basic-extcomm-filter-num | advanced-extcomm-filter-num | extcomm-filter-name ] |
Display the statistics on the IPv4 prefix list. |
display ip ip-prefix [ ip-prefix-name ] |
Display the statistics on the IPv6 prefix list. |
display ip ipv6-prefix [ ipv6-prefix-name ] |
Display the routing policy information |
display route-policy [ route-policy-name ] |
Clear the statistics on the IPv4 prefix list. |
reset ip ip-prefix [ ip-prefix-name ] |
Clear the statistics on the IPv6 prefix list. |
reset ip ipv6-prefix [ ipv6-prefix-name ] |
Clear the number of routes which match or do not match the Route-Policy |
reset route-policy route-policy-name counters |