Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thepacketgeek/d7ff94bdce21fe073124fc3ec142a648 to your computer and use it in GitHub Desktop.
Save thepacketgeek/d7ff94bdce21fe073124fc3ec142a648 to your computer and use it in GitHub Desktop.
Parsed BGP Packets
Update {
withdrawn_routes: [],
attributes: [
ORIGIN(
IGP
),
AS_PATH(
ASPath {
segments: []
}
),
NEXT_HOP(
V4(
3.3.3.3
)
),
MULTI_EXIT_DISC(
0
),
LOCAL_PREF(
100
)
],
announced_routes: [
10.30.3.0/24,
10.30.2.0/24,
10.30.1.0/24
]
}
Update {
withdrawn_routes: [],
attributes: [
ORIGIN(
INCOMPLETE
),
AS_PATH(
ASPath {
segments: []
}
),
NEXT_HOP(
V4(
3.3.3.3
)
),
MULTI_EXIT_DISC(
0
),
LOCAL_PREF(
100
)
],
announced_routes: [
172.16.0.12/30,
172.16.0.4/30
]
}
Update {
withdrawn_routes: [],
attributes: [
ORIGIN(
INCOMPLETE
),
AS_PATH(
ASPath {
segments: [
AS_SEQUENCE(
[
65100,
65200
]
)
]
}
),
NEXT_HOP(
V4(
1.1.1.1
)
),
MULTI_EXIT_DISC(
0
),
LOCAL_PREF(
100
)
],
announced_routes: [
172.16.0.8/30
]
}
Update {
withdrawn_routes: [],
attributes: [
ORIGIN(
IGP
),
AS_PATH(
ASPath {
segments: [
AS_SEQUENCE(
[
65100,
65200
]
)
]
}
),
NEXT_HOP(
V4(
1.1.1.1
)
),
MULTI_EXIT_DISC(
0
),
LOCAL_PREF(
100
)
],
announced_routes: [
10.20.3.0/24,
10.20.2.0/24,
10.20.1.0/24
]
}
Update {
withdrawn_routes: [],
attributes: [
ORIGIN(
IGP
),
AS_PATH(
ASPath {
segments: [
AS_SEQUENCE(
[
65100
]
)
]
}
),
NEXT_HOP(
V4(
1.1.1.1
)
),
MULTI_EXIT_DISC(
0
),
LOCAL_PREF(
100
)
],
announced_routes: [
10.10.3.0/24,
10.10.2.0/24,
10.10.1.0/24
]
}
Update {
withdrawn_routes: [],
attributes: [
ORIGIN(
INCOMPLETE
),
AS_PATH(
ASPath {
segments: [
AS_SEQUENCE(
[
65100
]
)
]
}
),
NEXT_HOP(
V4(
1.1.1.1
)
),
MULTI_EXIT_DISC(
0
),
LOCAL_PREF(
100
)
],
announced_routes: [
172.16.0.0/30
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment