IP Route Print where ...

Hi all,

Attempting to print routes which have / contains a certain AS Path but I am unable to on the latest ROS7.4.
On ROS6 it would have simply been something similar to: ip route print where bgp-as-path~“XXXXX$”, where “XXXXX” is the ASN.
The same is not available on ROS7.4. Is the feature note available yet or am I missing something?

Thanks.

Danny.

ip route menu does not have protocol specific parameters. It should be used only for static route configuration and probably quick route view.

Use routing/route menu

Thanks for the response.
“routing route print where bgp.as-path~“xxxxx$”” did the trick.

Appreciate the help.