[j-nsp] Matching communities in 'show route receive-protocol bgp' command
Alexander Shikoff
minotaur at crete.org.ua
Wed Jul 6 10:29:08 EDT 2011
Hello,
I have a problem with matching communities in 'show route receive-protocol bgp' command.
For example, I have a route:
minotaur at br1-gdr.ki> show route ams-ix.net receive-protocol bgp 77.88.200.133 detail table World.inet.0
World.inet.0: 362279 destinations, 720396 routes (358851 active, 9 holddown, 3907 hidden)
* 91.200.16.0/22 (2 entries, 1 announced)
Accepted
Nexthop: 77.88.200.133
AS path: 21011 1200 I
AS path: Recorded
Communities: 21011:400 21011:6777 21011:64528 31445:400
Now I'm trying to filter all routes from 77.88.200.133 peer with 21011:64528
community:
minotaur at br1-gdr.ki> show route receive-protocol bgp 77.88.200.133 community 21011:64528
And output is empty.
Then I tried to match community via policy:
minotaur at br1-gdr.ki> show configuration policy-options community Netherlands
members 21011:64528;
minotaur at br1-gdr.ki> show route receive-protocol bgp 77.88.200.133 community-name Netherlands
And output is empty again.
Could please someone give an example of right command?
Thanks in advance!
--
MINO-RIPE
More information about the juniper-nsp
mailing list