Skip to content

Commit

Permalink
Bugfix: Dual line support - cisco_nxos_show_ip_bgp_summary (#772)
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Kennedy <Robert.Kennedy@cirrus.com>
  • Loading branch information
rtkennedy and Robert Kennedy authored Jul 3, 2020
1 parent 8254775 commit a3e4b94
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/cisco_nxos_show_ip_bgp_summary.textfsm
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ Start
^BGP\s+router\s+identifier\s+${ROUTER_ID},\s+[Ll]ocal\s+[Aa][Ss]\s+number\s+${LOCAL_AS}
^Neighbor\s+V\s+AS\s+MsgRcvd\s+MsgSent\s+TblVer\s+InQ\s+OutQ\s+Up/Down\s+State/PfxRcd\s*$$
^${BGP_NEIGH}\s+\d+\s+${NEIGH_AS}\s+${MSG_RCVD}\s+${MSG_SENT}\s+\d+\s+${IN_QUEUE}\s+${OUT_QUEUE}\s+${UP_DOWN}\s+${STATE_PFXRCD}\s*$$ -> Record
^${BGP_NEIGH}\s+\d+\s+${NEIGH_AS}
^\s+${MSG_RCVD}\s+${MSG_SENT}\s+\d+\s+${IN_QUEUE}\s+${OUT_QUEUE}\s+${UP_DOWN}\s+${STATE_PFXRCD}\s*$$ -> Record
^BGP\s+table\s+version
^\d+\s+network\s+entries
^BGP attribute entries
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.0.0.8 4 65007 12250936 9181571 512185203 0 0 1y10w 82
10.0.0.9 4 65008 222146 14368489 512185203 0 0 22w0d 0
10.0.0.10 4 65009 26930508 942614 512185203 0 0 1y10w Idle (Admin)
10.0.0.11 4 65010
2655204 14931352 512185206 0 0 1w5d 4452
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,14 @@ parsed_sample:
out_queue: "0"
up_down: "1y10w"
state_pfxrcd: "Idle (Admin)"
- router_id: "2.2.2.3"
local_as: "102"
vrf: "default"
bgp_neigh: "10.0.0.11"
neigh_as: "65010"
msg_rcvd: "2655204"
msg_sent: "14931352"
in_queue: "0"
out_queue: "0"
up_down: "1w5d"
state_pfxrcd: "4452"

0 comments on commit a3e4b94

Please sign in to comment.