Hello. I do the next command from birdc to get routes with special ASN in bgp_path: bird> show route filter { if ( ASN ~ bgp_path ) then accept; reject; } It show me nothing and in syslog i see:
Hi, On Wed, Mar 07, 2012 at 03:45:58PM +0400, Oleg wrote:
Hello.
I do the next command from birdc to get routes with special ASN in bgp_path:
bird> show route filter { if ( ASN ~ bgp_path ) then accept; reject; }
It show me nothing and in syslog i see:
bird: filters, line 1: ~ applied on unknown type pair
How can i do this in the right way?
show route where bgp_path ~ [= * ASN * =] -- Alexander Shikov Technical Staff, Digital Telecom IX
On Wed, Mar 07, 2012 at 02:02:34PM +0200, Alexander Shikov wrote:
Hi,
On Wed, Mar 07, 2012 at 03:45:58PM +0400, Oleg wrote:
Hello.
I do the next command from birdc to get routes with special ASN in bgp_path:
bird> show route filter { if ( ASN ~ bgp_path ) then accept; reject; }
It show me nothing and in syslog i see:
bird: filters, line 1: ~ applied on unknown type pair
How can i do this in the right way?
show route where bgp_path ~ [= * ASN * =]
O, yeah :-). Thanks! I'm stupid.
participants (2)
-
Alexander Shikov -
Oleg