Community discussions

MikroTik App
 
dannyleroux3
just joined
Topic Author
Posts: 2
Joined: Tue Jul 26, 2022 8:51 pm

IP Route Print where ...

Tue Jul 26, 2022 9:08 pm

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.
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7038
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: IP Route Print where ...  [SOLVED]

Tue Jul 26, 2022 9:52 pm

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
 
dannyleroux3
just joined
Topic Author
Posts: 2
Joined: Tue Jul 26, 2022 8:51 pm

Re: IP Route Print where ...

Wed Jul 27, 2022 4:31 pm

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

Appreciate the help.

Who is online

Users browsing this forum: No registered users and 17 guests