You are on page 1of 1

BGP – Cheatsheet – Part-2 Version 2

Important BGP Address Families


BGP Packet Format AFI /sAFI No. Name Detail
8 16 24 32
AFI=0 Reserved -
Marker (128bit)

Length Type AFI=1 Ipv4 Internet Protocol version 4


AFI=2 Ipv6 Internet Protocol version 6
sAFI=134 vpnv4 VPN version 4
DATA
AFI=25 l2vpn Layer 2 VPN
www.networkwalks.com AFI=3 nsap Network Service Access Point address

ICAOOE BGP Status Codes


BGP Neighbor States Code Detail
State Detail *(Valid) A valid route and BGP is able to use it
I DLE Neighbor is NOT responding
> (Best) Currently selected best route out of all available routes
C ONNECT TCP session established s (Suppressed) BGP knows the network but won’t advertise it
A CTIVE Attempting to connect BGP doesn’t advertise this network because it was Un-stable/flapping
d (Damped)
too often (so it got a penalty)
O PEN SENT Open message sent
www.networkwalks.com

h (History) BGP learned this network but doesn’t have a valid route at the moment
O PEN CONFIRM Response received
r (RIB-failure) BGP learned this network but didn’t install it in the routing table
E STABLISHED Adjacency established
S (Stale) Used for non-stop forwarding

BGP PATH ATTRIBUTES WLAAS OMNI ARN


No Attribute Name Category / Class
1 W E I G H T (Cisco) Highest Wt, Def=0 (0-65535) --

2 LO CAL _PREF Highest LP, Def=100 (0-4294967295) Well-Known Discretionary

3 A G G R E G A T E (Locally Originated?) (Network) Locally Originated via Aggregate/Network/Redistribution > Learned by a BGP Peer Optional Transitive

4 AS _ P AT H Shortest AS path www.networkwalks.com Well-Known Mandatory

5 ORIGIN i/IGP > e/EGP > ?/Incomplete Well-Known Mandatory

6 M E D (Metric) Lowest MED, Def=0 (0-4294967295) Optional Non-Transitive

7 N E I G H B O R T y p e (eBGP > iBGP) eBGP -

8 I G P M e t r i c (NEXT_HOP) Lowest IGP metric to the next BGP Hop Well-Known Mandatory
Oldest (more stable)
9 R o u t e AG E -
This is for comparison only b/w eBGP routes

10 R O U T E R I D (ORIGINATOR ID) Lowest RID Optional Non-Transitive


Lowest IP
11 NEI G HBO R I P -
Final tie breaker & can’t be same!

New batch of online Cisco CCNA 200-301 is starting!


Enrol today with us for quality training: info@networkwalks.com

/Network Walks /NetworkWalks /company/networkwalks


Visit our website & You Channel for more FREE resources like Cheatsheets,
Workbooks, Labs, Interview Questions, Quiz, VCE exams

Network Walks Training Academy www.networkwalks.com


Your Feedback, Comments are always Welcomed: info@networkwalks.com

You might also like