]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: add cli command to control explicit-null label usage
authorPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 17 Mar 2023 13:46:13 +0000 (14:46 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 11 Apr 2023 14:08:09 +0000 (16:08 +0200)
commit7ee70320d37010026d0b3c1ce7871fb5c72b26d9
tree624a588bd3164726cbf243e3985afe2939ef3411
parent59cb833f6a602b39eb59f5b62e270fb310b4fb03
bgpd: add cli command to control explicit-null label usage

In BGP labeled unicast address-family, it is not possible to
send explicit-null label values with redistributed or network
declared prefixes.
A new CLI command is introduced:

  > [no] bgp labeled-unicast explicit-null

When used, the explicit-null value for IPv4 ('0' value) or
IPv6 ('2' value) will be used.
It is necessary to reconfigure the networks or the
redistribution in order to inherit this new behaviour.

Add the documentation.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
bgpd/bgp_route.c
bgpd/bgp_vty.c
bgpd/bgpd.h
doc/user/bgp.rst