Page MenuHomePhabricator

Can't search for prefixes by community: Community malformed: AA:NN
Open, NormalPublicBUG

Description

I'm unable to search for prefixes with a particular community, this results in: Community malformed: AA:NN

For example:

vyos@r1:~$ show ipv6 bgp community 60927:666
% Community malformed: AA:NN

I also tried this directly using FRR but there I get the same issue:

root@r1:~# vtysh -c 'show bgp community 60927:666'
% Community malformed: AA:NN

As a workaround a made a community-list and filtered on that instead.

Details

Difficulty level
Unknown (require assessment)
Version
1.2.0-rc11
Why the issue appeared?
Will be filled on close

Event Timeline

m.cremers updated the task description. (Show Details)
pasik added a subscriber: pasik.Dec 20 2018, 12:24 PM
syncer assigned this task to dmbaturin.Dec 21 2018, 10:24 AM
syncer triaged this task as Normal priority.
syncer edited projects, added VyOS 1.2 Crux ( VyOS 1.2.0-EPA); removed VyOS 1.2 Crux.

In the latest rolling VyOS 1.3-rolling-201912090242 it work fine.
R1 advertise ipv6 routes with community 65001:666
R2 receives these routes.

R1

R1# show policy 
 route-map EXPORT-V6 {
     rule 10 {
         action permit
         set {
             community 65001:666
         }
     }
 }

R1# show protocols bgp 65001 neighbor 2001:db8:85a3::8a2e:370:2 
 address-family {
     ipv6-unicast {
         nexthop-self
         route-map {
             export EXPORT-V6
         }
     }
 }
 remote-as 65002
 update-source 2001:db8:85a3::8a2e:370:1
[edit]

R2

R2# show protocols bgp 65002 neighbor 2001:db8:85a3::8a2e:370:1 
 address-family {
     ipv6-unicast {
         nexthop-self
         soft-reconfiguration {
             inbound
         }
     }
 }
 remote-as 65001
 update-source 2001:db8:85a3::8a2e:370:2
[edit]

We show these routes via community 65001:666

R2$ show ipv6 bgp community 65001:666
BGP table version is 4, local router ID is 192.168.133.2, vrf id 0
Default local pref 100, local AS 65002
Status codes:  s suppressed, d damped, h history, * valid, > best, = multipath,
               i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes:  i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
*> 2001:db8:85a3::/64
                    fe80::5054:ff:feb6:7fc7
                                             0             0 65001 i

I think this bug can be closed.