Open
Description
"show ip bgp summary" command does not give all information when executed outside vtysh prompt.
Within the vtysh prompt it shows prefix sent per neighbor and outside it does not.
Any specific reason to remove "PfxSnt" from sonic shell?
(put "x" in "[ ]" if you already tried following)
[X] Did you check if this is a duplicate issue?
[X] Did you test it on the latest FRRouting/frr master branch?
Steps to reproduce the behavior
Issue "show ip bgp summary" from sonic shell and vtysh
Sonic:
dut-t002:~$ show ip bgp summary
IPv4 Unicast Summary:
BGP router identifier 10.1.0.32, local AS number 65100 vrf-id 0
BGP table version 3205
RIB entries 3219, using 412032 bytes of memory
Peers 8, using 164736 KiB of memory
Peer groups 2, using 128 bytes of memory
Neighbhor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd NeighborName
----------- --- ----- --------- --------- -------- ----- ------ --------- -------------- --------------
10.0.0.1 4 65200 4340 4341 3205 0 0 02:56:41 1594 ARISTA01T2
10.0.0.3 4 65200 4426 4427 3205 0 0 03:00:58 1594 ARISTA02T2
10.0.0.5 4 65200 4426 4427 3205 0 0 03:00:59 1594 ARISTA03T2
10.0.0.7 4 65200 4426 4427 3205 0 0 03:00:58 1594 ARISTA04T2
10.0.0.33 4 64001 4428 4427 3205 0 0 03:00:58 4 ARISTA01T0
10.0.0.35 4 64002 4428 4427 3205 0 0 03:00:58 3 ARISTA02T0
10.0.0.37 4 64003 4428 4427 3205 0 0 03:00:59 4 ARISTA03T0
10.0.0.39 4 64004 4428 4427 3205 0 0 03:00:58 3 ARISTA04T0
Total number of neighbors 8
vtysh:
Hello, this is FRRouting (version 10.0.1).
Copyright 1996-2005 Kunihiro Ishiguro, et al.
2025/02/06 05:31:01 [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
dut-t002# show ip bgp summary
IPv4 Unicast Summary:
BGP router identifier 10.1.0.32, local AS number 65100 VRF default vrf-id 0
BGP table version 3205
RIB entries 3219, using 402 KiB of memory
Peers 8, using 161 KiB of memory
Peer groups 2, using 128 bytes of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc
10.0.0.1 4 65200 4344 4345 3205 0 0 02:56:54 1594 1611 ARISTA01T2
10.0.0.3 4 65200 4430 4431 3205 0 0 03:01:11 1594 1611 ARISTA02T2
10.0.0.5 4 65200 4430 4431 3205 0 0 03:01:12 1594 1611 ARISTA03T2
10.0.0.7 4 65200 4430 4431 3205 0 0 03:01:11 1594 1611 ARISTA04T2
10.0.0.33 4 64001 4432 4431 3205 0 0 03:01:11 4 1611 ARISTA01T0
10.0.0.35 4 64002 4432 4431 3205 0 0 03:01:11 3 1611 ARISTA02T0
10.0.0.37 4 64003 4432 4431 3205 0 0 03:01:12 4 1611 ARISTA03T0
10.0.0.39 4 64004 4432 4431 3205 0 0 03:01:11 3 1611 ARISTA04T0
Expected behavior
- Expecting to see "PfxSnt" column when command is issued from sonic shell.
Versions
- OS Kernel: [e.g. Linux, OpenBSD, etc] [version]
dut-t002:~$ show version
SONiC Software Version: SONiC.202411.719713-2ad469032
SONiC OS Version: 12
Distribution: Debian 12.6
Kernel: 6.1.0-22-2-amd64
Build commit: 2ad469032
Build date: Thu Dec 12 12:23:23 UTC 2024
Built by: azureuser@ec8e1ee0c000001
- FRR Version [version]
Hello, this is FRRouting (version 10.0.1).
Copyright 1996-2005 Kunihiro Ishiguro, et al.
2025/02/06 05:31:01 [YDG3W-JND95] FD Limit set: 1048576 is stupidly large. Is this what you intended? Consider using --limit-fds also limiting size to 100000
Metadata
Metadata
Assignees
Labels
No labels