diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2025-03-03 17:11:33 +0100 |
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2025-03-03 20:43:11 +0100 |
| commit | bf15730267628e2d47ad78cc58895bc375d1b400 (patch) | |
| tree | 76116ba18c4af46fd14556ef853ab90831d3baeb /lib/pid_output.c | |
| parent | e0f585fcab3e5ab6c1bc6e2174262d4b18872068 (diff) | |
bgpd: fix syncs suppressed prefixes in VPN environments
By using the summary-only option for aggregated prefixes, the suppressed
prefixes are however exported as VPN prefixes, whereas they should not.
> r1# show bgp vrf vrf1 ipv4
> [..]
> *> 172.31.1.0/24 0.0.0.0 0 32768 ?
> s> 172.31.1.1/32 0.0.0.0 0 32768 ?
> s> 172.31.1.2/32 0.0.0.0 0 32768 ?
> s> 172.31.1.3/32 0.0.0.0 0 32768 ?
> [..]
> r1#
>
> r1# show bgp ipv4 vpn
> [..]
> *> 172.31.1.0/24 0.0.0.0@4< 0 32768 ?
> UN=0.0.0.0 EC{52:100} label=101 type=bgp, subtype=5
> *> 172.31.1.1/32 0.0.0.0@4< 0 32768 ?
> UN=0.0.0.0 EC{52:100} label=101 type=bgp, subtype=5
> *> 172.31.1.2/32 0.0.0.0@4< 0 32768 ?
> UN=0.0.0.0 EC{52:100} label=101 type=bgp, subtype=5
> *> 172.31.1.3/32 0.0.0.0@4< 0 32768 ?
> UN=0.0.0.0 EC{52:100} label=101 type=bgp, subtype=5
> [..]
> r1#
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/pid_output.c')
0 files changed, 0 insertions, 0 deletions
