[j-nsp] Searching by prefix length
bblackford at gmail.com
Thu May 5 17:51:42 EDT 2011
I want to be able to search the route table for prefixes announced
from a certain peer and of a range of lengths. ex, give me all routes
announced from and through HE but filter by 'upto' /19.
show route aspath-regex .*6939.* terse <upto /19>
show route receive-protocol bgp ###.###.###.### aspath-regex .*6939.*
terse <upto /19>
Is there way to do this?
The best I've come up with is 'sh route aspath-regex .*6939.* | except
/2' This is obviously not a very flexible approach.
Logged into reality and abusing my sudo privileges.....
More information about the juniper-nsp