]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Have `show bgp vrf all ipv4 uni summ` display vrf NAME 15003/head
authorDonald Sharp <sharpd@nvidia.com>
Tue, 12 Dec 2023 22:48:16 +0000 (17:48 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Tue, 12 Dec 2023 23:26:14 +0000 (18:26 -0500)
commit5be4ee96340a6fcf5c07ff285a0f50a98c85a8f2
treea4fa75f6af78498e9efea3c19f98fbb5d1dc3378
parentc45a9dabe2dedbaff88170c5c2c15b97143217df
bgpd: Have `show bgp vrf all ipv4 uni summ` display vrf NAME

The vrf name was not being displayed in this output.
New output:

eva# show bgp vrf all ipv4 uni summ
BGP router identifier 0.0.0.0, local AS number 99 VRF RED vrf-id 14
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 1, using 20 KiB of memory

Neighbor        V         AS   MsgRcvd   MsgSent   TblVer  InQ OutQ  Up/Down State/PfxRcd   PfxSnt Desc
192.168.119.1   4          0         0         0        0    0    0    never       Active        0 N/A

Total number of neighbors 1
BGP router identifier 0.0.0.0, local AS number 99 VRF GREEN vrf-id 15
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 1, using 20 KiB of memory

Neighbor        V         AS   MsgRcvd   MsgSent   TblVer  InQ OutQ  Up/Down State/PfxRcd   PfxSnt Desc
192.168.119.1   4          0         0         0        0    0    0    never       Active        0 N/A

Total number of neighbors 1
BGP router identifier 192.168.122.1, local AS number 99 VRF default vrf-id 0
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 1, using 20 KiB of memory

Neighbor        V         AS   MsgRcvd   MsgSent   TblVer  InQ OutQ  Up/Down State/PfxRcd   PfxSnt Desc
192.168.119.1   4          0         0         0        0    0    0    never       Active        0 N/A

Total number of neighbors 1
BGP router identifier 0.0.0.0, local AS number 99 VRF GrEEn vrf-id -1
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 1, using 20 KiB of memory

Neighbor        V         AS   MsgRcvd   MsgSent   TblVer  InQ OutQ  Up/Down State/PfxRcd   PfxSnt Desc
192.168.119.1   4          0         0         0        0    0    0    never         Idle        0 N/A

Total number of neighbors 1
eva#

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
bgpd/bgp_vty.c
tests/topotests/all_protocol_startup/r1/show_bgp_ipv6_summary.ref
tests/topotests/all_protocol_startup/r1/show_ip_bgp_summary.ref