Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dual line support for Cisco NX-OS 'ip bgp summary' command #772

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"