-
Notifications
You must be signed in to change notification settings - Fork 745
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BugFix: IOS - show ip bgp summary: Added new field ADDR_FAMILY for an…
…y that may have an address family (#679)
- Loading branch information
1 parent
5bb82ba
commit 591c23e
Showing
4 changed files
with
67 additions
and
0 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
32 changes: 32 additions & 0 deletions
32
tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary_all.raw
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,32 @@ | ||
For address family: IPv4 Unicast | ||
BGP router identifier 1.1.1.1, local AS number 65000 | ||
BGP table version is 9, main routing table version 9 | ||
8 network entries using 1152 bytes of memory | ||
9 path entries using 720 bytes of memory | ||
2/2 BGP path/bestpath attribute entries using 272 bytes of memory | ||
1 BGP AS-PATH entries using 24 bytes of memory | ||
2 BGP extended community entries using 48 bytes of memory | ||
0 BGP route-map cache entries using 0 bytes of memory | ||
0 BGP filter-list cache entries using 0 bytes of memory | ||
BGP using 2216 total bytes of memory | ||
BGP activity 24/0 prefixes, 25/0 paths, scan interval 60 secs | ||
|
||
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd | ||
10.0.14.4 4 65001 26 27 9 0 0 00:20:06 7 | ||
|
||
For address family: VPNv4 Unicast | ||
BGP router identifier 2.2.2.2, local AS number 65010 | ||
BGP table version is 17, main routing table version 17 | ||
16 network entries using 2496 bytes of memory | ||
16 path entries using 1280 bytes of memory | ||
4/3 BGP path/bestpath attribute entries using 576 bytes of memory | ||
1 BGP AS-PATH entries using 24 bytes of memory | ||
2 BGP extended community entries using 48 bytes of memory | ||
0 BGP route-map cache entries using 0 bytes of memory | ||
0 BGP filter-list cache entries using 0 bytes of memory | ||
BGP using 4424 total bytes of memory | ||
BGP activity 24/0 prefixes, 25/0 paths, scan interval 60 secs | ||
|
||
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd | ||
10.10.13.3 4 65001 48 48 17 0 0 00:40:00 5 | ||
10.10.14.4 4 65001 0 0 1 0 0 never Idle |
23 changes: 23 additions & 0 deletions
23
tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary_all.yml
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,23 @@ | ||
--- | ||
parsed_sample: | ||
- router_id: "1.1.1.1" | ||
local_as: "65000" | ||
addr_family: "IPv4 Unicast" | ||
bgp_neigh: "10.0.14.4" | ||
neigh_as: "65001" | ||
up_down: "00:20:06" | ||
state_pfxrcd: "7" | ||
- router_id: "2.2.2.2" | ||
local_as: "65010" | ||
addr_family: "VPNv4 Unicast" | ||
bgp_neigh: "10.10.13.3" | ||
neigh_as: "65001" | ||
up_down: "00:40:00" | ||
state_pfxrcd: "5" | ||
- router_id: "2.2.2.2" | ||
local_as: "65010" | ||
addr_family: "VPNv4 Unicast" | ||
bgp_neigh: "10.10.14.4" | ||
neigh_as: "65001" | ||
up_down: "never" | ||
state_pfxrcd: "Idle" |