On 12 Jul 2018, at 10:58, Isaac HO <isaacho.jc@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     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