summaryrefslogtreecommitdiff
path: root/doc/user/bgp.rst
AgeCommit message (Collapse)Author
2025-01-14bgpd: add 'match community-count' command to restrict comm countPhilippe Guibert
Add a mechanism in route-map to filter out route-map which have a list of communities greater than the given number. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
2025-01-07bgpd: add debugging command for route aggregationEnke Chen
Add a new debugging command: debug bgp aggregate [prefix <A.B.C.D/M|X:X::X:X/M>] Signed-off-by: Enke Chen <enchen@paloaltonetworks.com>
2025-01-07Merge pull request #17431 from krishna-samy/bgpd_json_commitsRuss White
bgpd: show json output changes to optimize various show commands
2024-11-27Merge pull request #17527 from guoguojia2021/guozhongfeng_alibabaDonatas Abraitis
doc:Fix bgp doc warning
2024-11-27doc:Fix bgp doc warningguozhongfeng.gzf
Signed-off-by: guozhongfeng.gzf <guozhongfeng.gzf@alibaba-inc.com>
2024-11-19bgpd: Disable sending ROV extended community by defaultDonatas Abraitis
https://datatracker.ietf.org/doc/html/rfc8097 defines ROV extended community, but https://datatracker.ietf.org/doc/draft-ietf-sidrops-avoid-rpki-state-in-bgp is against sending it by default even for iBGP peers. Let's do this practice and reverse it. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-11-18bgpd: add documentation for show bgp router json commandKrishnasamy R
Signed-off-by: Krishnasamy R <krishnasamyr@nvidia.com>
2024-11-08Merge pull request #17231 from guoguojia2021/guozhongfeng_alibabaDonatas Abraitis
bgpd:support of color extended community color-only types
2024-11-07doc:the doc of extcomumnity colorguozhongfeng.gzf
Signed-off-by: guozhongfeng.gzf <guozhongfeng.gzf@alibaba-inc.com>
2024-10-28Merge pull request #16354 from Sokolmish/zebra-no-raDavid Lamparter
2024-10-24bgpd: compare aigp after local route check in bgp_path_info_cmp()Enke Chen
For consistency between RIB and BGP, the aigp comparison should be made after the local route check in bgp bestpath selection. Signed-off-by: Enke Chen <enchen@paloaltonetworks.com>
2024-10-14doc: clarify bgp as-overrideLouis Scalbert
Clarify bgp as-override Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2024-10-10bgpd: Allow specification of vrf in show bgp neighbor graceful-restartDonald Sharp
This command did not allow the operator to display neighbor information related to graceful-restart when used inside of a vrf. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2024-10-02bgpd: Actually make ` --v6-with-v4-nexthops` it workDonatas Abraitis
It was using `-v` which is actually a _version_. Fixes: 0435b31bb8ed55377f83d0e19bc085abc3c71b44 ("bgpd: Allow bgp to specify if it will allow v6 routing with v4 nexthops") Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-09-24bgpd: add `bgp ipv6-auto-ra` commandMikhail Sokolovskiy
Introduce a command to stop bgpd from enabling IPv6 router advertisement messages sending on interfaces. Signed-off-by: Mikhail Sokolovskiy <sokolmish@gmail.com>
2024-09-18Merge pull request #16816 from opensourcerouting/feature/bgp_dual_asDonald Sharp
bgpd: Implement BGP dual-as feature
2024-09-18Merge pull request #16720 from ↵Russ White
opensourcerouting/fix/default_originate_not_needed_if_not_enabled bgpd: Do not scan update-groups if default-originate timer is set to 0
2024-09-13doc: Document `neighbox X local-as Y replace-as no-prepend dual-as`Donatas Abraitis
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-09-05bgpd: Allow using `solo` for peer-groupsDonatas Abraitis
Inherit solo flag for peer-group members also. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-09-02bgpd: Do not scan update-groups if default-originate timer is set to 0Donatas Abraitis
With lots of update-groups, subgroups, this could be very tricky and the timer is spawned even if it's totally unnecessary (default-originate is not enabled). Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-08-27bgpd: Respect BLACKHOLE community for internal BGP peering alsoDonatas Abraitis
rfc7999 does not define to use this technique ONLY for EBGP sessions. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-07-04bgpd: Implement `neighbor X remote-as auto`Donatas Abraitis
In some cases (large scale) it's desired to avoid changing configurations, but let the BGP to automatically handle ASN changes. `auto` means the peering can be iBGP or eBGP. It will be automatically detected and adjusted from the OPEN message. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-07-01*: Add and use option for graceful (re)startvivek
Add a new start option "-K" to libfrr to denote a graceful start, and use it in zebra and bgpd. zebra will use this option to denote a planned FRR graceful restart (supporting only bgpd currently) to wait for a route sync completion from bgpd before cleaning up old stale routes from the FIB. An optional timer provides an upper-bounds for this cleanup. bgpd will use this option to denote either a planned FRR graceful restart or a bgpd-only graceful restart, and this will drive the BGP GR restarting router procedures. Signed-off-by: Vivek Venkatraman <vivek@nvidia.com>
2024-07-01tests: Updated topotest and documentationPooja Jagadeesh Doijode
Added topotest and documentation for BGP wide GR configurations Signed-off-by: Pooja Jagadeesh Doijode <pdoijode@nvidia.com>
2024-06-05doc: Add missing `clear bgp ASNUM` commandDonatas Abraitis
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-06-02bgpd: Adjust terminology related to DSCPDavid Ward
The default DSCP used for BGP connections is CS6. The DSCP value is not part of the TCP header. When setting the IP_TOS or IPV6_TCLASS socket options, the argument is not the 6-bit DSCP value, but an 8-bit value for the former IPv4 Type of Service field or IPv6 Traffic Class field, respectively. Fixes: 425bd64be847 ("bgpd: Allow bgp to control the DSCP session TOS value") Signed-off-by: David Ward <david.ward@ll.mit.edu>
2024-05-03doc: user doc for route-flap dampening commandsDavid Schweizer
Changes update the user documentation to include a description of the now available commands to enable/disable route-flap dampening for peers and peer groups. Signed-off-by: David Schweizer <dschweizer@opensourcerouting.org> Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-04-26Merge pull request #15723 from ↵Russ White
opensourcerouting/feature/extended_link_bw_refactored_v1 bgpd: Implement extended link-bandwidth
2024-04-25bgpd: Explain Better admin w/ redistribution a bit better.Donald Sharp
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2024-04-22doc: Add `neighbor ... extended-link-bandwidth` commandDonatas Abraitis
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-04-15bgpd: Fix display when using `missing-as-worst`Donald Sharp
The usage of the `bgp bestpath med missing-as-worst` command was being accepted and applied during bestpath, but during output of the routes affected by this it would not give any indication that this was happening or what med value was being used. Fixes: #15718 Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2024-04-08doc: fix one bgp commandanlan_cs
Fixed one bgp comamnd based on code. Signed-off-by: anlan_cs <anlan_cs@tom.com>
2024-03-20bgpd: Enable BGP dynamic capability by default for datacenter profileDonatas Abraitis
Dynamic capability provides more value without resetting the sessions for some important other capabilities to exchange, like: graceful-restart, addpath, orf, fqdn, etc. Since we support it already, enable it by default. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-02-27Merge pull request #14810 from dmytroshytyi-6WIND/srv6_bgp_sid_reachabilityRuss White
SRv6 BGP SID reachability
2024-02-13doc: Add `neighbor ... addpath-rx-paths-limit` commandDonatas Abraitis
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-02-07doc: Add `neighbor X send-community extended rpki` commandDonatas Abraitis
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-02-05doc: Document `update-source <IFNAME>` command betterDonald Sharp
There was a question in regards to how the update-source choose the ip address for the source when using the `update-source` command in BGP. Upon looking at the code, I was a but surprised, so I decided to document this behavior. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2024-02-04doc: remove [no] from commandsIgor Ryzhov
The rule is to document only positive versions of commands. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-02-02doc: add neighbor PEER capability fqdn commandFrancois Dumontet
improve bgp doc Signed-off-by: Francois Dumontet <francois.dumontet@6wind.com>
2024-01-30doc: bgp ipv4 l3vpn sid reachabilityDmytro Shytyi
BGP IPv4 L3VPN with SRv6 SID reachability example provided in the documentation Signed-off-by: Dmytro Shytyi <dmytro.shytyi@6wind.com>
2024-01-23doc: Drop single whitespace from show bgp outputsDonatas Abraitis
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-01-19doc: Update bgp unnumbered documentationDonald Sharp
Mention the limitations of this type of peering in bgp. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2024-01-13doc: update config file doc for integrated requirementChristian Hopps
Signed-off-by: Christian Hopps <chopps@labn.net>
2024-01-07bgpd: Add `debug bgp updates detail` commandDonatas Abraitis
When filtering with `debug bgp updates in x.x.x.x prefix-list plist`, we want to filter out unnecessary messages like: ``` 127.0.0.1(Unknown) rcvd UPDATE wlen 0 attrlen 20 alen 5 ``` Such a line as above will be repeated for all the paths received and it's useless without knowing the prefix (because NLRIs are not parsed yet). But want to see only relevant ones: ``` 127.0.0.1(Unknown) rcvd UPDATE w/ attr: nexthop 127.0.0.1, origin i, path 65002 127.0.0.1(Unknown) rcvd 10.255.255.1/32 IPv4 unicast ``` With `debug bgp updates detail` we can combine this to something like: ``` 127.0.0.1(Unknown) rcvd UPDATE w/ attr: nexthop 127.0.0.1, origin i, path 65002 127.0.0.1(Unknown) rcvd UPDATE wlen 0 attrlen 20 alen 5 127.0.0.1(Unknown) rcvd 10.255.255.1/32 IPv4 unicast ``` Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2023-12-14doc: Update examples of show bgp summaryDonatas Abraitis
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2023-11-29doc: Update bgp.rstBenjamin Ryzman
Fix typo in VRF Route Leaking general configuration example. Signed-off-by: Benjamin Ryzman <benjamin@ryzman.fr>
2023-11-28Merge pull request #14819 from ↵Russ White
opensourcerouting/feature/bgp_debug_updates_with_route-map bgpd: Add an ability to filter UPDATEs using neighbor with prefix-list
2023-11-22doc: Add `debug bgp updates <in|out> NEIGHBOR route-map RMAP` cmdDonatas Abraitis
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2023-11-21doc: explain rt list exportation with route-mapsPhilippe Guibert
Explain that an export route target list can be configured alternatively by using route-maps. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
2023-10-31Merge pull request #14388 from pguibert6WIND/redistribute_table_bgp_2Russ White
Redistribute table bgp without copying data to the default routing table