You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when using command show ip route bgp json I will get an invalid json data.
However, it I execute the command in vtysh, I can get the valid json data.
So, I think it's the show command has bug.
admin@xxxxx:~$ docker exec bgp vtysh -c 'show ip route bgp json' | head
{
"0.0.0.0/0":[
{
"prefix":"0.0.0.0/0",
"prefixLen":0,
"protocol":"bgp",
"vrfId":0,
"vrfName":"default",
"selected":true,
"destSelected":true,
admin@xxxxx:~$ show ip route bgp json | head
:
{
"0.0.0.0/0":[
{
"prefix":"0.0.0.0/0",
"prefixLen":0,
"protocol":"bgp",
"vrfId":0,
"vrfName":"default",
"selected":true,
admin@xxxxx:~$
Steps to reproduce the issue
Use command show ip route bgp json or show ipv6 route bgp json
Description
when using command
show ip route bgp json
I will get an invalid json data.However, it I execute the command in vtysh, I can get the valid json data.
So, I think it's the show command has bug.
Steps to reproduce the issue
Use command
show ip route bgp json
orshow ipv6 route bgp json
Describe the results you received
Describe the results you expected
Additional information you deem important (e.g. issue happens only occasionally)
Output of
show version
The text was updated successfully, but these errors were encountered: