]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: add 'show bgp label-nexthop [detail]' command
authorPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 16 Jan 2023 17:24:26 +0000 (18:24 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 22 Mar 2023 11:06:29 +0000 (12:06 +0100)
commit084b31717010242f4d9f5f60775d482cc7d26975
tree19d9afe1d2a7747501f9b841b68a3d3d973955d8
parentb314ae7eb4df558f30fea974aa94b712067f82a0
bgpd: add 'show bgp label-nexthop [detail]' command

The following command is made available to list the labels
allocated per-nexthop, along with the paths registered to it.

 > # show bgp vrf vrf1 label-nexthop
 > Current BGP label nexthop cache for IP, VRF vrf1
 >  192.0.2.11, label 20 #paths 3
 >    if r1-eth1
 >    Last update: Mon Jan 16 18:52:11 2023
 >  192.0.2.12, label 17 #paths 2
 >    if r1-eth1
 >    Last update: Mon Jan 16 18:52:08 2023
 >  192.0.2.14, label 18 #paths 1
 >    if r1-eth1
 >    Last update: Mon Jan 16 18:52:07 2023
 >  192.168.255.13, label 19 #paths 1
 >    if r1-eth2
 >    Last update: Mon Jan 16 18:52:10 2023

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
bgpd/bgp_labelpool.c
bgpd/bgp_labelpool.h
bgpd/bgpd.c