]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: add bgp default link-state command
authorLouis Scalbert <louis.scalbert@6wind.com>
Tue, 17 Jan 2023 15:34:04 +0000 (16:34 +0100)
committerLouis Scalbert <louis.scalbert@6wind.com>
Mon, 18 Sep 2023 13:06:09 +0000 (15:06 +0200)
commit38a7e20fc98ed750d9b2cdae1c79d1e19ceadcd3
treedfeb75ed6258a4546f4f7f1e2b9c1cbace5a2e47
parent39fb34275f827b3e1134549ed1731d74e72e6c79
bgpd: add bgp default link-state command

Add the "bgp default link-state" command to the "router bgp" context.

> router bgp 65000
>  bgp default link-state

When this command is set, the "link-state/link-state" AFI/SAFI is
activated on all neighbors that are directly specified within the
"router bgp" unless explicitly deactivated:

> router bgp 65000
>  bgp default link-state
>  neighbor 10.0.0.1 remote-as 65001
>  address-family link-state link-state
>   no neighbor 10.0.0.1 activate

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
bgpd/bgp_vty.c