summaryrefslogtreecommitdiff
path: root/doc/manpages/conf.py
diff options
context:
space:
mode:
authorTrey Aspelund <taspelund@nvidia.com>2022-10-26 20:53:09 +0000
committerTrey Aspelund <taspelund@nvidia.com>2022-10-26 21:09:55 +0000
commit8c4d4624d2619ac23f082c354064b48b1c7e2842 (patch)
treed7eb888ebd8d217f88723ab2b550cfac5a4e3723 /doc/manpages/conf.py
parent659800f3c1db5a7edb97e5d09a9a1817759d02e6 (diff)
bgpd: Check for IP-format Site-of-Origin
When deciding whether to apply "neighbor soo" filtering towards a peer, we were only looking for SoO ecoms that use either AS or AS4 encoding. This makes sure we also check for IPv4 encoding, since we allow a user to configure that encoding style against the peer. Config: ``` router bgp 1 address-family ipv4 unicast network 100.64.0.2/32 route-map soo-foo neighbor 192.168.122.12 soo 3.3.3.3:20 exit-address-family ! route-map soo-foo permit 10 set extcommunity soo 3.3.3.3:20 exit ``` Before: ``` ub20# show ip bgp neighbors 192.168.122.12 advertised-routes BGP table version is 5, local router ID is 100.64.0.222, vrf id 0 Default local pref 100, local AS 1 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 RPKI validation codes: V valid, I invalid, N Not found Network Next Hop Metric LocPrf Weight Path *> 2.2.2.2/32 0.0.0.0 0 100 32768 i *> 100.64.0.2/32 0.0.0.0 0 100 32768 i Total number of prefixes 2 ``` After: ``` ub20# show ip bgp neighbors 192.168.122.12 advertised-routes BGP table version is 5, local router ID is 100.64.0.222, vrf id 0 Default local pref 100, local AS 1 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 RPKI validation codes: V valid, I invalid, N Not found Network Next Hop Metric LocPrf Weight Path *> 2.2.2.2/32 0.0.0.0 0 100 32768 i Total number of prefixes 1 ``` Signed-off-by: Trey Aspelund <taspelund@nvidia.com>
Diffstat (limited to 'doc/manpages/conf.py')
0 files changed, 0 insertions, 0 deletions