T5150: Kernel/Zebra route-map support

This commit is contained in:
Christian Breunig 2023-04-13 21:22:26 +02:00
parent 035853c8e7
commit b14b62d91d
3 changed files with 81 additions and 25 deletions

View File

@ -27,6 +27,21 @@ System configuration commands
Use this command to use Layer 4 information for IPv4 ECMP hashing. Use this command to use Layer 4 information for IPv4 ECMP hashing.
Zebra/Kernel route filtering
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Zebra supports prefix-lists and Route Mapss to match routes received from
other FRR components. The permit/deny facilities provided by these commands
can be used to filter which routes zebra will install in the kernel.
.. cfgcmd:: set system ip protocol <protocol> route-map <route-map>
Apply a route-map filter to routes for the specified protocol. The following
protocols can be used: any, babel, bgp, connected, eigrp, isis, kernel,
ospf, rip, static, table
.. note:: If you choose any as the option that will cause all protocols that
are sending routes to zebra.
Operational commands Operational commands
-------------------- --------------------

View File

@ -23,6 +23,21 @@ System configuration commands
Use this command to user Layer 4 information for ECMP hashing. Use this command to user Layer 4 information for ECMP hashing.
Zebra/Kernel route filtering
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Zebra supports prefix-lists and Route Mapss to match routes received from
other FRR components. The permit/deny facilities provided by these commands
can be used to filter which routes zebra will install in the kernel.
.. cfgcmd:: set system ipv6 protocol <protocol> route-map <route-map>
Apply a route-map filter to routes for the specified protocol. The following
protocols can be used: any, babel, bgp, connected, isis, kernel, ospfv3,
ripng, static, table
.. note:: If you choose any as the option that will cause all protocols that
are sending routes to zebra.
Operational commands Operational commands
-------------------- --------------------

View File

@ -30,7 +30,6 @@ then enslaved to a VRF device.
.. note:: A routing table ID can not be modified once it is assigned. It can .. note:: A routing table ID can not be modified once it is assigned. It can
only be changed by deleting and re-adding the VRF instance. only be changed by deleting and re-adding the VRF instance.
.. cfgcmd:: set vrf bind-to-all .. cfgcmd:: set vrf bind-to-all
By default the scope of the port bindings for unbound sockets is limited to By default the scope of the port bindings for unbound sockets is limited to
@ -41,6 +40,33 @@ then enslaved to a VRF device.
TCP & UDP services running in the default VRF context (ie., not bound to any TCP & UDP services running in the default VRF context (ie., not bound to any
VRF device) can work across all VRF domains by enabling this option. VRF device) can work across all VRF domains by enabling this option.
Zebra/Kernel route filtering
----------------------------
Zebra supports prefix-lists and Route Mapss to match routes received from
other FRR components. The permit/deny facilities provided by these commands
can be used to filter which routes zebra will install in the kernel.
.. cfgcmd:: set vrf <name> ip protocol <protocol> route-map <route-map>
Apply a route-map filter to routes for the specified protocol.
The following protocols can be used: any, babel, bgp, connected, eigrp,
isis, kernel, ospf, rip, static, table
.. note:: If you choose any as the option that will cause all protocols that
are sending routes to zebra.
.. cfgcmd:: set vrf <name> ipv6 protocol <protocol> route-map <route-map>
Apply a route-map filter to routes for the specified protocol.
The following protocols can be used: any, babel, bgp, connected, isis,
kernel, ospfv3, ripng, static, table
.. note:: If you choose any as the option that will cause all protocols that
are sending routes to zebra.
Interfaces Interfaces
---------- ----------