forked from sonic-net/sonic-utilities
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[chassis]: Support show ip bgp summary to display without error when …
…no external neighbors are configured on chassis LC (sonic-net#3099) Support show ip bgp summary to display without error when no external neighbors are configured on chassis LC
- Loading branch information
1 parent
be6224a
commit b97c5d2
Showing
9 changed files
with
1,588,897 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
{ | ||
"ipv4Unicast":{ | ||
"routerId":"192.0.0.6", | ||
"as":65100, | ||
"vrfId":0, | ||
"vrfName":"default", | ||
"tableVersion":59923, | ||
"ribCount":101147, | ||
"ribMemory":18611048, | ||
"peerCount":3, | ||
"peerMemory":2222424, | ||
"peerGroupCount":2, | ||
"peerGroupMemory":128, | ||
"peers":{ | ||
"3.3.3.1":{ | ||
"hostname":"str2-sonic-lc1-1", | ||
"remoteAs":65100, | ||
"localAs":65100, | ||
"version":4, | ||
"msgRcvd":277, | ||
"msgSent":9, | ||
"tableVersion":0, | ||
"outq":0, | ||
"inq":0, | ||
"peerUptime":"00:00:14", | ||
"peerUptimeMsec":14000, | ||
"peerUptimeEstablishedEpoch":1703036129, | ||
"pfxRcd":33798, | ||
"pfxSnt":2, | ||
"state":"Established", | ||
"peerState":"OK", | ||
"connectionsEstablished":1, | ||
"connectionsDropped":0, | ||
"desc":"str2-sonic-lc1-1-ASIC0", | ||
"idType":"ipv4" | ||
}, | ||
"3.3.3.2":{ | ||
"hostname":"str2-sonic-lc1-1", | ||
"remoteAs":65100, | ||
"localAs":65100, | ||
"version":4, | ||
"msgRcvd":277, | ||
"msgSent":9, | ||
"tableVersion":0, | ||
"outq":0, | ||
"inq":0, | ||
"peerUptime":"00:00:14", | ||
"peerUptimeMsec":14000, | ||
"peerUptimeEstablishedEpoch":1703036129, | ||
"pfxRcd":33798, | ||
"pfxSnt":2, | ||
"state":"Established", | ||
"peerState":"OK", | ||
"connectionsEstablished":1, | ||
"connectionsDropped":0, | ||
"desc":"str2-sonic-lc1-1-ASIC1", | ||
"idType":"ipv4" | ||
}, | ||
"3.3.3.8":{ | ||
"hostname":"str2-sonic-lc2-1", | ||
"remoteAs":65100, | ||
"localAs":65100, | ||
"version":4, | ||
"msgRcvd":12, | ||
"msgSent":10, | ||
"tableVersion":0, | ||
"outq":0, | ||
"inq":0, | ||
"peerUptime":"00:00:15", | ||
"peerUptimeMsec":15000, | ||
"peerUptimeEstablishedEpoch":1703036128, | ||
"pfxRcd":4, | ||
"pfxSnt":2, | ||
"state":"Established", | ||
"peerState":"OK", | ||
"connectionsEstablished":1, | ||
"connectionsDropped":0, | ||
"desc":"ASIC1", | ||
"idType":"ipv4" | ||
} | ||
}, | ||
"failedPeers":0, | ||
"displayedPeers":3, | ||
"totalPeers":3, | ||
"dynamicPeers":0, | ||
"bestPath":{ | ||
"multiPathRelax":"true", | ||
"peerTypeRelax":true | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
{ | ||
"vrfId": 0, | ||
"vrfName": "default", | ||
"tableVersion": 59925, | ||
"routerId": "192.0.0.6", | ||
"defaultLocPrf": 100, | ||
"localAS": 65100, | ||
"routes": { | ||
"0.0.0.0/0": [ | ||
{ | ||
"valid": true, | ||
"multipath": true, | ||
"pathFrom": "internal", | ||
"prefix": "0.0.0.0", | ||
"prefixLen": 0, | ||
"network": "0.0.0.0\/0", | ||
"version": 12050, | ||
"locPrf": 100, | ||
"weight": 0, | ||
"peerId": "3.3.3.2", | ||
"path": "65200 6666 6667", | ||
"origin": "IGP", | ||
"nexthops": [ | ||
{ | ||
"ip": "10.0.0.7", | ||
"hostname": "str2-sonic-lc1-1", | ||
"afi": "ipv4", | ||
"used": true | ||
} | ||
] | ||
}, | ||
{ | ||
"valid": true, | ||
"bestpath": true, | ||
"selectionReason": "Router ID", | ||
"pathFrom": "internal", | ||
"prefix": "0.0.0.0", | ||
"prefixLen": 0, | ||
"network": "0.0.0.0\/0", | ||
"version": 12050, | ||
"locPrf": 100, | ||
"weight": 0, | ||
"peerId": "3.3.3.1", | ||
"path": "65200 6666 6667", | ||
"origin": "IGP", | ||
"nexthops": [ | ||
{ | ||
"ip": "10.0.0.1", | ||
"hostname": "str2-sonic-lc1-1", | ||
"afi": "ipv4", | ||
"used": true | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.