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

cisco nxos bgp neighbor defect fix #505

Merged
merged 2 commits into from Oct 25, 2019
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 7 additions & 3 deletions templates/cisco_nxos_show_ip_bgp_neighbors.template
Expand Up @@ -52,6 +52,7 @@ Value INBOUND_ROUTEMAP (\S+)
Value OUTBOUND_ROUTEMAP (\S+)

Start
^BGP\s+neighbor\s+is -> Continue.Record
^BGP neighbor is ${NEIGHBOR},\s+remote AS\s+${ASN},.*
^\s+Description:\s+${DESCRIPTION}
^\s+BGP state = ${BGP_STATE}, \w+ for ${UPTIME}
Expand Down Expand Up @@ -82,6 +83,8 @@ Start

AddrFamCap
^\s+${ADDR_FAM_ADV} -> Start
^BGP\s+neighbor\s+is -> Continue.Record
^BGP\s+neighbor\s+is\s+${NEIGHBOR},\s+remote\s+AS\s+${ASN},.* -> Start

AddrFamState
^\s+For address family:\s+${ADDR_FAMILY}
Expand All @@ -92,6 +95,7 @@ AddrFamState
^\s+Outbound\s+route-map\s+configured\s+is\s+${OUTBOUND_ROUTEMAP},\s+handle\s+obtained
^\s+Last End-of-RIB received [\d:]+ after session start -> AddrFamState
^\s+Local host:\s+${LOCALHOST_IP}, Local port:\s+${LOCALHOST_PORT}
^\s+Foreign host:\s+${REMOTE_IP}, Foreign port:\s+${REMOTE_PORT} -> Record Start

EOF
^\s+Foreign host:\s+${REMOTE_IP}, Foreign port:\s+${REMOTE_PORT}
^\s+No\s+established\s+BGP\s+session\s+with\s+peer
^BGP\s+neighbor\s+is -> Continue.Record
^BGP\s+neighbor\s+is\s+${NEIGHBOR},\s+remote\s+AS\s+${ASN},.* -> Start