diff --git a/show/bgp_frr_v4.py b/show/bgp_frr_v4.py index 8551198f22..f479d786d0 100644 --- a/show/bgp_frr_v4.py +++ b/show/bgp_frr_v4.py @@ -75,7 +75,7 @@ def neighbors(ipaddress, info_type, namespace): ns_list = multi_asic.get_namespace_list(namespace) output = "" for ns in ns_list: - output += bgp_util.run_bgp_command(command, ns) + output += bgp_util.run_bgp_show_command(command, ns) click.echo(output.rstrip('\n')) @@ -122,5 +122,5 @@ def network(ipaddress, info_type, namespace): if info_type is not None: command += ' {}'.format(info_type) - output = bgp_util.run_bgp_command(command, namespace) - click.echo(output.rstrip('\n')) \ No newline at end of file + output = bgp_util.run_bgp_show_command(command, namespace) + click.echo(output.rstrip('\n')) diff --git a/show/bgp_frr_v6.py b/show/bgp_frr_v6.py index 13255c0a6c..d06f89bcec 100644 --- a/show/bgp_frr_v6.py +++ b/show/bgp_frr_v6.py @@ -71,7 +71,7 @@ def neighbors(ipaddress, info_type, namespace): ns_list = multi_asic.get_namespace_list(namespace) output = "" for ns in ns_list: - output += bgp_util.run_bgp_command(command, ns) + output += bgp_util.run_bgp_show_command(command, ns) click.echo(output.rstrip('\n')) @@ -120,5 +120,5 @@ def network(ipaddress, info_type, namespace): if info_type is not None: command += ' {}'.format(info_type) - output = bgp_util.run_bgp_command(command, namespace) - click.echo(output.rstrip('\n')) \ No newline at end of file + output = bgp_util.run_bgp_show_command(command, namespace) + click.echo(output.rstrip('\n'))