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

Fix #1549 #1550

Merged
merged 5 commits into from
Oct 16, 2023
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
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Value ORIGIN ([ie\?\|&])


Start
^Can't\s+find\s+neighbor
^Peer\s+
^BGP\s+(routing|table)\s
^Status:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Can't find neighbor 10.1.1.1 in VRF TEST_1

Peer 10.1.1.1 routes for address family IPv4 Unicast:
BGP table version is 401423, Local Router ID is 10.10.10.10
Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, *-valid, >-best
Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-injected
Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup, 2 - best2

Network Next Hop Metric LocPrf Weight Path
*>e10.20.20.0/27 10.1.1.1 5000 0 100 200 i
*>e10.10.202.0/30 10.10.2.1 0 64102 64202 i
*>l100.100.100.100/30 0.0.0.0 100 32768 i
x e100.100.100.104/30 10.10.2.1 0 64102 64002 i
*>e 10.10.1.1 0 64101 64002 i
*>e100.100.100.108/30 10.10.2.1 0 64102 {64201 64202} i
*>e100.100.100.112/30 10.10.2.1 0 64102 {64201 64202} 64203 i
*>e100.100.100.114/30 10.10.2.1 0 64102 {64201 64202} 64203 64500.2345 i
*>e100.100.100.116/30 10.10.2.1 0 {64102 64201 64202} 64203 64500.2345 i
*>e100.100.100.118/30 10.10.2.1 0 64102.444 {64201 64202} 64203 64500.2345 i
*>e100.100.100.120/30 10.10.2.1 0 {64102.333 64201 64202} 64203 64500.2345 i
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
---
parsed_sample:
- as_path: "100 200"
local_pref: "5000"
metric: ""
network: "10.20.20.0/27"
next_hop: "10.1.1.1"
origin: "i"
path_selection: ">"
route_source: "e"
status: "*"
weight: "0"
- as_path: "64102 64202"
local_pref: ""
metric: ""
network: "10.10.202.0/30"
next_hop: "10.10.2.1"
origin: "i"
path_selection: ">"
route_source: "e"
status: "*"
weight: "0"
- as_path: ""
local_pref: "100"
metric: ""
network: "100.100.100.100/30"
next_hop: "0.0.0.0"
origin: "i"
path_selection: ">"
route_source: "l"
status: "*"
weight: "32768"
- as_path: "64102 64002"
local_pref: ""
metric: ""
network: "100.100.100.104/30"
next_hop: "10.10.2.1"
origin: "i"
path_selection: " "
route_source: "e"
status: "x"
weight: "0"
- as_path: "64101 64002"
local_pref: ""
metric: ""
network: "100.100.100.104/30"
next_hop: "10.10.1.1"
origin: "i"
path_selection: ">"
route_source: "e"
status: "*"
weight: "0"
- as_path: "64102 {64201 64202}"
local_pref: ""
metric: ""
network: "100.100.100.108/30"
next_hop: "10.10.2.1"
origin: "i"
path_selection: ">"
route_source: "e"
status: "*"
weight: "0"
- as_path: "64102 {64201 64202} 64203"
local_pref: ""
metric: ""
network: "100.100.100.112/30"
next_hop: "10.10.2.1"
origin: "i"
path_selection: ">"
route_source: "e"
status: "*"
weight: "0"
- as_path: "64102 {64201 64202} 64203 64500.2345"
local_pref: ""
metric: ""
network: "100.100.100.114/30"
next_hop: "10.10.2.1"
origin: "i"
path_selection: ">"
route_source: "e"
status: "*"
weight: "0"
- as_path: "{64102 64201 64202} 64203 64500.2345"
local_pref: ""
metric: ""
network: "100.100.100.116/30"
next_hop: "10.10.2.1"
origin: "i"
path_selection: ">"
route_source: "e"
status: "*"
weight: "0"
- as_path: "64102.444 {64201 64202} 64203 64500.2345"
local_pref: ""
metric: ""
network: "100.100.100.118/30"
next_hop: "10.10.2.1"
origin: "i"
path_selection: ">"
route_source: "e"
status: "*"
weight: "0"
- as_path: "{64102.333 64201 64202} 64203 64500.2345"
local_pref: ""
metric: ""
network: "100.100.100.120/30"
next_hop: "10.10.2.1"
origin: "i"
path_selection: ">"
route_source: "e"
status: "*"
weight: "0"
Loading