ktbyers / netmiko_tools

Command line tools built on Netmiko to simplify information gathering
Apache License 2.0
93 stars 32 forks source link

NXOS show bgp output is missing a newline #31

Open ktbyers opened 7 years ago

ktbyers commented 7 years ago
netmiko-show --cmd "show bgp all summary vrf all" nxos1
BGP summary information for VRF default, address family IPv4 Unicast
BGP router identifier 0.0.0.0, local AS number 22
BGP table version is 12, IPv4 Unicast config peers 1, capable peers 0
0 network entries and 0 paths using 0 bytes of memory
BGP attribute entries [0/0], BGP AS path entries [0/0]
BGP community entries [0/0], BGP clusterlist entries [0/0]
Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
1.1.1.1         4    33       0       0        0    0    0    4d22h Idle     
BGP summary information for VRF default, address family IPv6 Unicast
ktbyers commented 7 years ago

When I run this on box the last line BGP summary info for IPv6 Unicast has a newline between it and the BGP table.

Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
1.1.1.1         4    33       0       0        0    0    0    4d22h Idle 

BGP summary information for VRF default, address family IPv6 Unicast