Open ppikh opened 3 years ago
Command "show ip bgp summary" failed in case when no BGP configuration
Error displayed
Usage: show ip bgp summary [OPTIONS] Try "show ip bgp summary -h" for help. Error: bgp summary from bgp container in invalid format
Command executed successfully, command display empty output, or message like "No BGP configuration"
show version
SONiC Software Version: SONiC.202012.98-1e9cb300_Internal Distribution: Debian 10.9 Kernel: 4.19.0-12-2-amd64 Build commit: 1e9cb300 Build date: Sun Jun 6 18:19:37 UTC 2021 Built by: sw-r2d2-bot@r-build-sonic02-005 Platform: x86_64-mlnx_msn2010-r0 HwSKU: ACS-MSN2010 ASIC: mellanox ASIC Count: 1 Serial Number: MT1749X10061 Uptime: 10:48:58 up 11:13, 1 user, load average: 2.61, 3.41, 3.49 Docker images: REPOSITORY TAG IMAGE ID SIZE docker-wjh 202012.202012.0-dirty-20210607.080635 6bda131a4e3b 454MB docker-wjh latest 6bda131a4e3b 454MB docker-syncd-mlnx 202012.98-1e9cb300_Internal d74b304fbc7f 658MB docker-syncd-mlnx latest d74b304fbc7f 658MB docker-snmp 202012.98-1e9cb300_Internal 38f75194f242 442MB docker-snmp latest 38f75194f242 442MB docker-teamd 202012.98-1e9cb300_Internal 402aab892ebe 411MB docker-teamd latest 402aab892ebe 411MB docker-router-advertiser 202012.98-1e9cb300_Internal bb185aa9856a 401MB docker-router-advertiser latest bb185aa9856a 401MB docker-nat 202012.98-1e9cb300_Internal 1e7836ea21fe 414MB docker-nat latest 1e7836ea21fe 414MB docker-platform-monitor 202012.98-1e9cb300_Internal 1c823846c0f4 683MB docker-platform-monitor latest 1c823846c0f4 683MB docker-lldp 202012.98-1e9cb300_Internal cc6e94a090ac 440MB docker-lldp latest cc6e94a090ac 440MB docker-database 202012.98-1e9cb300_Internal 6311bc6ac740 400MB docker-database latest 6311bc6ac740 400MB docker-orchagent 202012.98-1e9cb300_Internal 4208dea7faeb 429MB docker-orchagent latest 4208dea7faeb 429MB docker-dhcp-relay 202012.98-1e9cb300_Internal 668a9c594362 407MB docker-dhcp-relay latest 668a9c594362 407MB docker-sonic-telemetry 202012.98-1e9cb300_Internal da2b87da3fd8 490MB docker-sonic-telemetry latest da2b87da3fd8 490MB docker-sonic-mgmt-framework 202012.98-1e9cb300_Internal bb3e07c65c2d 621MB docker-sonic-mgmt-framework latest bb3e07c65c2d 621MB docker-fpm-frr 202012.98-1e9cb300_Internal c2dbf0a82dd6 429MB docker-fpm-frr latest c2dbf0a82dd6 429MB docker-sflow 202012.98-1e9cb300_Internal 7cd981d21a8a 412MB docker-sflow latest 7cd981d21a8a 412MB
show techsupport
[sonic_dump_r-boxer-sw01_20210608_103929.tar.gz](https://github.com/Azure/sonic-buildimage/files/6615872/sonic_dump_r-boxer-sw01_20210608_103929.tar.gz)
Output from 'vtysh'
vtysh -c 'show ip bgp summary' % BGP instance not found
error message should be updated, expected message like "bgp instance not found"
Description
Command "show ip bgp summary" failed in case when no BGP configuration
Steps to reproduce the issue:
Describe the results you received:
Error displayed
Describe the results you expected:
Command executed successfully, command display empty output, or message like "No BGP configuration"
Output of
show version
:Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):
Output from 'vtysh'