Donald Sharp
fb8e399e4f
lib: Remove System routes from ip protocol route map choices
...
Do not allow system routes to be selected for ip protocol
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2025-01-29 09:31:53 -05:00
Igor Ryzhov
300f8dbda4
lib: introduce global -w option for VRF netns backend
...
Current -n option is only for zebra and mgmtd. All other daemons receive
the VRF backend configuration from zebra upon connection to it. This
leads to a potential race condition - daemons need to know the backend
before they start reading their config, but they can be not connected to
zebra yet at this point. As the VRF backend cannot change during runtime,
let's introduce a new global -w option for setting netns backend, to
make sure that all daemons know their VRF backend immediately after
start.
The reason for introducing a new option instead of making -n global is
that ospfd already uses -n for another purposes.
Signed-off-by: Igor Ryzhov <idryzhov@gmail.com>
2025-01-15 23:38:27 +02:00
Carmine Scarpitta
fd21131ecf
doc: Show the valid range of SRv6 locator node-len
...
The documentation should provide the valid range of SRv6 locator
node-len parameter, rather than the default value.
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-12-21 09:30:57 +01:00
Carmine Scarpitta
f8ff3e6e06
doc: Show the valid range of SRv6 locator block-len
...
The documentation should provide the valid range of SRv6 locator
block-len parameter, rather than the default value.
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-12-21 09:29:55 +01:00
Carmine Scarpitta
bcad7df60d
doc: Fix the order of SRv6 locator parameters
...
Align the order of the SRv6 locator parameters with the actual implementation:
```
"prefix X:X::X:X/M$prefix [block-len (16-64)$block_bit_len] \
[node-len (16-64)$node_bit_len] [func-bits (0-64)$func_bit_len]"
```
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-12-21 09:26:44 +01:00
Nathan Bahr
06c3436a12
doc: Clean up Multicast RIB documentation
...
Moved it all to PIM section and updated docs for recent changes.
Signed-off-by: Nathan Bahr <nbahr@atcorp.com>
2024-12-13 17:36:34 +00:00
Igor Ryzhov
c3bffa9277
doc: remove no-op "netns NAMESPACE" command from the docs
...
Signed-off-by: Igor Ryzhov <idryzhov@gmail.com>
2024-12-07 17:02:58 +02:00
Carmine Scarpitta
6705703c2c
doc: Fix misspelling SRv6 formats command
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-11-03 08:00:04 +01:00
Carmine Scarpitta
7a58e5e3e2
doc: Fix misspelling locator format command
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-11-03 07:59:56 +01:00
Carmine Scarpitta
f948d8a536
doc: Fix misspelling behavior usid command
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-11-03 07:59:52 +01:00
Carmine Scarpitta
52b5e66f65
doc: Fix misspelling locator prefix command
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-11-03 07:59:48 +01:00
Nathan Bahr
1c50a553fc
doc: Document zebra table import command with additional mrib flag
...
Signed-off-by: Nathan Bahr <nbahr@atcorp.com>
2024-10-29 20:17:59 +00:00
Philippe Guibert
a7fec9c387
zebra: add 'debug zebra srv6' command
...
Add a specific debug command to handle srv6 troubleshooting.
Move the srv6 traces that initially were under 'debug zebra packet'
debug.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
2024-10-28 16:40:33 +01:00
Russ White
add56c61dd
Merge pull request #15259 from dmytroshytyi-6WIND/nexthop_resolution
...
zebra: add LSP entry to nexthop via recursive (part 2)
2024-09-10 10:04:08 -04:00
Donald Sharp
8f47dc93cd
doc: Update documentation to talk about nhe changes
...
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2024-08-30 08:23:48 -04:00
Carmine Scarpitta
33bd67a006
doc: Add documentation for SRv6 SID formats CLI
...
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
2024-06-13 14:54:16 +02:00
Philippe Guibert
b2c2113f29
doc: fec nexthop resolution documentation
...
FEC nexthop entry resolution over MPLS networks
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Signed-off-by: Dmytro Shytyi <dmytro.shytyi@6wind.com>
2024-06-07 12:33:48 +02:00
Donald Sharp
d284e22296
doc: Add missing show ip route summ
command
...
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2024-05-20 15:46:29 -04:00
Donald Sharp
31da224cdf
doc: Fixup show ip route
command doc
...
The documentation for this command is just... wrong.
Let's clean it up.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2024-05-20 15:44:00 -04:00
Donald Sharp
a0c4fe2ca6
doc: Add show fpm status [json]
command to documentation
...
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2024-03-04 11:06:35 -05:00
Igor Ryzhov
f6b381ed54
doc: remove [no] from commands
...
The rule is to document only positive versions of commands.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-02-04 22:26:31 +02:00
Philippe Guibert
e3c62b2aeb
doc, yang, zebra: allow bandwidth up to 1 terabit/sec
...
Allow bandwidth up to 1000000 Mb/s (ie. 1 Tb/s) and document it.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2024-01-29 14:52:35 +01:00
Igor Ryzhov
b688eb7e9e
zebra: convert interface link-params command to NB
...
Make link-params a presence container and activate it when entering the
node. The "enable" command is not necessary anymore but kept hidden for
backwards compatibility.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-28 23:28:39 +02:00
Igor Ryzhov
efa18c6c6f
zebra: convert inteface multicast command to NB
...
Introduce new "[no] multicast <enable|disable>" command to be able to
remove the configuration. Current "[no] multicast" command cannot be
removed. Current command is hidden but still works for backwards
compatibility.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-28 23:28:39 +02:00
Donatas Abraitis
4494680404
doc: Add missing json keyword for show debugging label-table
...
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2024-01-21 23:16:38 +02:00
Igor Ryzhov
b507ad54b4
mgmtd: add option to specify netns as the vrf backend
...
mgmtd has to know if netns is used as the vrf backend to correctly
process interface names in northbound.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-01-14 20:00:22 +02:00
Carmine Scarpitta
fcf17cc05d
doc: Add doc for show segment-routing srv6 manager
...
The `show segment-routing srv6 manager` CLI command allows users to
print the SRv6 information. Currently, the SRv6 information includes
only the SRv6 encapsulation source address.
In this commit, we add the documentation for the
`show segment-routing srv6` command.
Signed-off-by: Carmine Scarpitta <carmine.scarpitta@uniroma2.it>
2023-12-14 14:58:35 +01:00
Carmine Scarpitta
baffed018d
doc: Add doc for SRv6 encapsulation source address
...
Add documentation for the new SRv6 encapsulation source address feature.
Signed-off-by: Carmine Scarpitta <carmine.scarpitta@uniroma2.it>
2023-12-14 14:58:35 +01:00
Rafael Zalamena
1f2ab61403
doc: remove duplicated show route-map
...
Remove zebra duplicated command documentation without description.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
2023-11-24 10:00:33 -03:00
Philippe Guibert
66c85fde7e
doc: add 'mpls label dynamic-block' information
...
Add information on the 'mpls label dynamic-block'
command.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
2023-10-18 17:45:26 +02:00
fmihoub6WIND
2b8e22f264
zebra: dump label table information
...
Add the new command "show debugging labeltable" to show allocated label
chunks in the label table managed with label_manager.c
Signed-off-by: Farid Mihoub <farid.mihoub@6wind.com>
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
2023-09-29 08:24:18 +02:00
Donatas Abraitis
5952e479e5
doc: Add an example on how to set a distance for a route from the kernel
...
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2023-09-28 12:52:15 +03:00
Russ White
abaa68f213
Merge pull request #14162 from opensourcerouting/feature/turn_on_nht_resolve_via_default_for_traditional_profile
...
zebra: Turn on `nht resolve-via-default` by default for traditional profile
2023-09-13 05:57:49 -04:00
Rafael Zalamena
2644ff6e59
doc: document new FPM command
...
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
2023-09-04 16:02:26 -03:00
Martin Pels
4d96ce1b4d
zebra: Make main routing table (RT_TABLE_MAIN) configurable
...
Signed-off-by: Martin Pels <mpels@ripe.net>
2023-08-22 15:29:07 +02:00
Donatas Abraitis
62196fbd19
zebra: Enable nht resolve-via-default
by default for traditional profile
...
Lots of questions raising regarding unresolved nht, I think it's time to
relax this and make it a default ON.
Here is an example list of issues when `nht resolvia-via-default` solved
the problem:
https://github.com/FRRouting/frr/issues/3241
https://github.com/FRRouting/frr/issues/7420
https://github.com/FRRouting/frr/issues/3474
https://github.com/FRRouting/frr/issues/5023
https://github.com/FRRouting/frr/issues/6504
https://github.com/FRRouting/frr/issues/6680
https://github.com/FRRouting/frr/issues/7049
https://github.com/FRRouting/frr/issues/7862
https://github.com/FRRouting/frr/issues/7999
https://github.com/FRRouting/frr/issues/13215
https://github.com/FRRouting/frr/issues/14098
TL;DR;
The BGP session does not come up if using multihop sessions and/or the peer(nexthop)
is not accessible from the RIB, but only via default route. This is even valid for
iBGP, and not only for eBGP peering. Adding a static /32, /128 route for the peer
would do the trick, but it's a workaround.
If the route has a nexthop marked as invalid, most likely this is due to it can't
be resolved from the current RIB, but only via default route.
For instance, Cisco allows this by default (can't find even a knob to turn it
off or I'm blind).
For eBGP sessions it might be also combined with `disable-ebgp-connected-route-check`.
Some people asked if this could be a default, also for instance MetalLB is adding
this by default for all the configs it generates.
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2023-08-17 21:45:55 +03:00
Philippe Guibert
63be83eac5
doc: update mpls per interface command
...
Update mpls per interface command information.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
2023-08-10 18:13:21 +02:00
Donald Sharp
6f6b7e1706
doc: Add --v6-with-v4-nexthops documentation
...
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2023-08-03 08:57:55 -04:00
Donald Sharp
e6174ae2cb
doc: Add show ipv6 rpf X:X::X:X
command to docs
...
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2023-02-16 07:52:35 -05:00
Olivier Dugeon
e2b958ecbc
Merge pull request #12494 from louis-6wind/ext_admin_group
...
lib,zebra,isisd: add support for extended admin group RFC7308
2023-02-15 09:42:03 +01:00
Stephen Worley
9d33108db9
doc: remove "new way" for SVD docs
...
remove "new way" for SVD docs as this could become
stale and become the "old way" at some point.
Signed-off-by: Stephen Worley <sworley@nvidia.com>
2023-02-13 18:12:05 -05:00
Stephen Worley
a04e18c9e8
doc: add docs for show evpn access-vlan
...
Add docs for `show evpn access-vlan`
Signed-off-by: Stephen Worley <sworley@nvidia.com>
2023-02-13 18:12:05 -05:00
Sharath Ramamurthy
aeefc6028b
zebra: Add documentation for Single Vxlan Device support
...
Add documentation for single vxlan device suppport and configuration
commands
Signed-off-by: Sharath Ramamurthy <sramamurthy@nvidia.com>
2023-02-13 18:12:04 -05:00
Louis Scalbert
66a45dae56
doc: add extended admin-group user documentation
...
Add the extended admin-group user documentation using affinity-maps.
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2023-02-10 14:13:46 +01:00
Chirag Shah
d358780207
doc: add documentation for show ip nht route-map
...
Signed-off-by: Chirag Shah <chirag@nvidia.com>
2022-12-16 08:42:53 -08:00
Donatas Abraitis
d1008e9dbb
Merge pull request #12513 from Pdoijode/master
...
zebra: JSON support for show nexthop-group rib
2022-12-15 08:48:35 +02:00
Pooja Jagadeesh Doijode
12a8def3ea
zebra: JSON support for show nexthop-group rib
...
Added JSON support for show nexthop-group rib
command.
JSON output:
{
"10":{
"type":"zebra",
"refCount":3,
"uptime":"00:00:46",
"vrf":"default",
"valid":true,
"installed":true,
"interfaceIndex":3,
"nexthops":[
{
"flags":3,
"fib":true,
"ip":"2001::2",
"afi":"ipv6",
"interfaceIndex":3,
"interfaceName":"eth0",
"vrf":"default",
"active":true,
"weight":1
}
]
}
}
Signed-off-by: Pooja Jagadeesh Doijode <pdoijode@nvidia.com>
2022-12-14 10:46:32 -08:00
Donald Sharp
1d1103a25c
doc: Clarify asic offload documentation in zebra
...
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2022-12-09 15:56:14 -05:00
Sindhu Parvathi Gopinathan
780563cc8b
zebra: json support for show ip nht
...
show ip/ipv6 nht vrf <all | name> json support added.
Commands enhanced with JSON:
----------------------------
show ip nht json
show ip nht <addr> json
show ipv6 nht json
show ipv6 nht <addr> json
show ip nht vrf <name> json
show ip nht vrf all json
show ipv6 nht vrf <name> json
show ipv6 nht vrf all json
show ip nht vrf default <addr> json
show ipv6 nht vrf default <addr> json
Sample JSON output:
-------------------
tor-1# show ip nht vrf default json
{
"default":{
"nexthops":{
"27.0.0.5":{
"nhtConnected":false,
"clientList":[
{
"protocol":"bgp",
"socket":70,
"protocolFiltered":"none"
}
],
"gates":[
{
"ip":"fe80::202:ff:fe00:2b",
"interface":"uplink_1"
},
{
"ip":"fe80::202:ff:fe00:35",
"interface":"uplink_2"
}
],
"resolvedProtocol":"bgp"
},
"27.0.0.6":{
"nhtConnected":false,
"clientList":[
{
"protocol":"bgp",
"socket":70,
"protocolFiltered":"none"
}
],
"gates":[
{
"ip":"fe80::202:ff:fe00:2b",
"interface":"uplink_1"
},
{
"ip":"fe80::202:ff:fe00:35",
"interface":"uplink_2"
}
],
"resolvedProtocol":"bgp"
}
}
}
}
tor-1# show ipv6 nht vrf default json
{
"default": {
"nexthops": {
"fe80::202:ff:fe00:25": {
"nhtConnected": true,
"clientList": [
{
"protocol": "bgp",
"socket": 45,
"protocolFiltered": "none"
}
],
"gates": [
{
"interface": "swp1",
"directlyConnected": true
}
],
"resolvedProtocol": "connected"
},
"fe80::202:ff:fe00:2b": {
"nhtConnected": true,
"clientList": [
{
"protocol": "bgp",
"socket": 45,
"protocolFiltered": "none"
}
],
"gates": [
{
"interface": "swp1",
"directlyConnected": true
}
],
"resolvedProtocol": "connected"
}
}
}
}
tor-1# show ipv6 nht vrf all json
{
"default": {
"nexthops": {
"fe80::202:ff:fe00:25": {
"nhtConnected": true,
"clientList": [
{
"protocol": "bgp",
"socket": 45,
"protocolFiltered": "none"
}
],
"gates": [
{
"interface": "swp1",
"directlyConnected": true
}
],
"resolvedProtocol": "connected"
},
"fe80::202:ff:fe00:2b": {
"nhtConnected": true,
"clientList": [
{
"protocol": "bgp",
"socket": 45,
"protocolFiltered": "none"
}
],
"gates": [
{
"interface": "swp1",
"directlyConnected": true
}
],
"resolvedProtocol": "connected"
}
}
},
"mgmt": {
"nexthops": {}
},
"sym_1": {
"nexthops": {}
}
}
Ticket:#3229013
Issue:3229013
Testing Done: Unit test completed.
Signed-off-by: Chirag Shah <chirag@nvidia.com>
Signed-off-by: Sindhu Parvathi Gopinathan <sgopinathan@nvidia.com>
2022-11-28 15:38:09 -08:00
Ashwini Reddy
fa5a9276d1
bgpd: JSON support for show ip bgp vrf all update-group
...
Ticket:#3229030
Testing Done: UT
Changes:
- JSON support for the update group command.
Testing:
torc-11# show ip bgp vrf all ipv6 update-groups json
torc-12# show bgp vrf all update-groups json
{
"default":{
"2":{
"groupCreateTime":{
"epoch":1669225617,
"epochString":"Wed Nov 23 17:46:57 2022\n"
},
"afi":"IPv6",
"safi":"unicast",
"outRouteMap":"MY_ORIGIN_ASPATH_ONLY",
"minRouteAdvInt":0,
"subGroup":[
{
"subGroupId":2,
"groupCreateTime":{
"epoch":1669225617,
"epochString":"Wed Nov 23 17:46:57 2022\n"
},
"statistics":{
"joinEvents":2,
"pruneEvents":0,
"mergeEvents":0,
"splitEvents":0,
"switchEvents":0,
"peerRefreshEvents":0,
"mergeCheckEvents":2
},
"coalesceTime":1100,
"version":12,
"packetQueueInfo":{
"qeueueLen":0,
"queuedTotal":1,
"queueHwmLen":1,
"totalEnqueued":1
},
"adjListCount":1,
"needsRefresh":false,
"peers":[
"uplink_1",
"uplink_2"
]
}
]
}
}
}
{
"sym_3":{
}
}
{
"sym_5":{
}
}
{
"sym_2":{
}
}
{
"sym_4":{
}
}
{
"sym_1":{
}
}
Co-authored-by: Chirag Shah <chirag@nvidia.com>
Signed-off-by: Ashwini Reddy <ashred@nvidia.com>
2022-11-23 19:04:00 -08:00