Skip to content

Commit a323cca

Browse files
authored
Fix BGP multipath in cisco_asa_show_bgp_summary (#2222)
1 parent 6e75b64 commit a323cca

File tree

7 files changed

+42
-12
lines changed

7 files changed

+42
-12
lines changed

ntc_templates/templates/cisco_asa_show_bgp_summary.textfsm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Start
1010
^BGP\s+table\s+version\s+is\s+\d+,\s+main\s+routing\s+table\s+version\s+\d+\s*$$
1111
^\d+\s+network\s+entries\s+using\s+\d+\s+bytes\s+of\s+memory\s*$$
1212
^\d+\s+path\s+entries\s+using\s+\d+\s+bytes\s+of\s+memory\s*$$
13+
^\d+\s+multipath\s+network\s+entries\s+and\s+\d+\s+multipath\s+paths
1314
^\d+\/\d+\s+BGP\s+path\/bestpath\s+attribute\s+entries\s+using\s+\d+\s+bytes\s+of\s+memory\s*$$
1415
^\d+\s+BGP\s+AS-PATH\s+entries\s+using\s+\d+\s+bytes\s+of\s+memory\s*$$
1516
^\d+\s+BGP\s+community\s+entries\s+using\s+\d+\s+bytes\s+of\s+memory\s*$$
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
parsed_sample:
3-
- router_id: "172.25.40.2"
3+
- bgp_neigh: "172.16.243.53"
44
local_as: "65045"
5-
bgp_neigh: "172.16.243.53"
65
neigh_as: "186"
7-
up_down: "4d06h"
6+
router_id: "172.25.40.2"
87
state_pfxrcd: "111"
9-
- router_id: "172.25.40.2"
8+
up_down: "4d06h"
9+
- bgp_neigh: "172.16.248.53"
1010
local_as: "65045"
11-
bgp_neigh: "172.16.248.53"
1211
neigh_as: "196"
13-
up_down: "never"
12+
router_id: "172.25.40.2"
1413
state_pfxrcd: "Idle"
14+
up_down: "never"
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
parsed_sample:
3-
- router_id: "10.10.254.1"
3+
- bgp_neigh: "10.10.254.1"
44
local_as: "65101"
5-
bgp_neigh: "10.10.254.1"
65
neigh_as: "65101"
7-
up_down: "4w6d"
6+
router_id: "10.10.254.1"
87
state_pfxrcd: "5"
9-
- router_id: "10.10.254.1"
8+
up_down: "4w6d"
9+
- bgp_neigh: "10.10.254.9"
1010
local_as: "65101"
11-
bgp_neigh: "10.10.254.9"
1211
neigh_as: "65101"
13-
up_down: "4w6d"
12+
router_id: "10.10.254.1"
1413
state_pfxrcd: "1"
14+
up_down: "4w6d"
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
BGP router identifier 10.3.230.2, local AS number 65503
2+
BGP table version is 45, main routing table version 45
3+
20 network entries using 4000 bytes of memory
4+
23 path entries using 1840 bytes of memory
5+
3 multipath network entries and 6 multipath paths
6+
6/6 BGP path/bestpath attribute entries using 1248 bytes of memory
7+
1 BGP AS-PATH entries using 40 bytes of memory
8+
0 BGP route-map cache entries using 0 bytes of memory
9+
0 BGP filter-list cache entries using 0 bytes of memory
10+
BGP using 7128 total bytes of memory
11+
BGP activity 20/0 prefixes, 24/1 paths, scan interval 60 secs
12+
13+
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
14+
10.13.24.52 4 65423 280687 253252 45 0 0 27w5d 3
15+
10.13.24.54 4 65423 280684 253232 45 0 0 27w5d 3
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
parsed_sample:
3+
- bgp_neigh: "10.13.24.52"
4+
local_as: "65503"
5+
neigh_as: "65423"
6+
router_id: "10.3.230.2"
7+
state_pfxrcd: "3"
8+
up_down: "27w5d"
9+
- bgp_neigh: "10.13.24.54"
10+
local_as: "65503"
11+
neigh_as: "65423"
12+
router_id: "10.3.230.2"
13+
state_pfxrcd: "3"
14+
up_down: "27w5d"

0 commit comments

Comments
 (0)