How to show community value

Mo Shivji moyaze at linx.net
Thu Jul 12 12:06:35 CEST 2018


> On 12 Jul 2018, at 10:58, Isaac HO <isaacho.jc at gmail.com> wrote:
> 
> Thanks all but tried two method no luck.
> 
> echo "show route all x.x.x.0/24" | sudo /usr/bin/birdc -s /var/run/bird.ctl
> sudo: /usr/bin/birdc: command not found

Perhaps birdc is under a different path on your box.


> 
> birdc 'show route for x.x.x.0/24 all'
> BIRD 1.6.4 ready.
> 5.195.208.0/24 <http://5.195.208.0/24>     via 192.168.199.202 on ens160 [R77654x1 14:32:50] * (100) [AS77654i]
>         Type: BGP unicast univ
>         BGP.origin: IGP
>         BGP.as_path: 77654
>         BGP.next_hop: 192.168.199.202
>         BGP.med: 0
>         BGP.local_pref: 100
> 

I guess the community attribute is not showing because the prefix is not tagged with any communities.

The above works for me also  and shows the tagged communities.

Mo



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20180712/50dc08b8/attachment.html>


More information about the Bird-users mailing list