Page MenuHomePhabricator

Deleting BGP communities from prefix does not work
Open, NormalPublicBUG

Description

I tried filtering incoming communities on prefixes using the following route-map:

rule 1 {
    action permit
    description "Strip RPKI communities"
    set {
        comm-list {
            comm-list 5
            delete
        }
        local-preference 700
    }
}

And the following community-list:

rule 1 {
    action permit
    regex 60927:404
}

The local-preference is just to see whether the route-map was actually being applied.

But after resetting the connection to the neighbor the community isn't actually being removed:

BGP routing table entry for 2001:5:8::/48
Paths: (2 available, best #1, table default)
  Not advertised to any peer
  6939 200334
    2a0b:b601::9 from 2a0b:b601::9 (185.167.204.236)
      Origin IGP, localpref 700, valid, internal, best
      Community: 60927:404
      Last update: Thu Dec 20 15:56:37 2018

As you can see the local pref is being updated however

Details

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

Event Timeline

pasik added a subscriber: pasik.Dec 20 2018, 5:14 PM
syncer assigned this task to dmbaturin.Dec 21 2018, 10:17 AM
syncer edited projects, added VyOS 1.3 Equuleus; removed VyOS 1.2 Crux.
syncer triaged this task as Normal priority.