BGP AS Path Attributes.

CCNA 200-301

CCNA 200-301

CCNP Enterprise

CCNP Enterprise

CCNP Security

CCNP Security

CCIE Enterprise Lab

CCIE Enterprise Lab

CCIE Security Lab

CCIE Security Lab

CCNP Service Provider

CCNP Service Provider

CCNP Data Center

CCNP Data Center

CCNP Collaboration

CCNP Collaboration

CCIE DC Lab

CCIE DC Lab

ic_r
ic_l
BGP AS Path Attributes.
images

BGP Attributes

BGP Attributes catch more attention in the IT industry, and SPOTO is committed to BGP Attributes. What’s more, SPOTO involves so many certifications as CCIE RS, CCNA, CCNP, and CISSP certification. If you want to get more information and download some free study materials, and you can contact us. BGP support a wide variety of path attribute, BGP chooses a route to a network based on the attributes of its path.

Four categories of attributes exist are as follows:-

Well-known mandatory

Well-known discretionary

Optional transitive

Optional non-transitive

A well-known mandatory attribute must be recognized by all BGP routers, present in all BGP updates, and passed on to other BGP routers. AS path, origin, and next hop.

Well-known discretionary must be recognized by all BGP routers and passed on to other BGP routers but need not be present in an update. Local preference.

Optional transitive might or might not be recognized by a BGP router but is passed on to other BGP routers.

If not recognized, it is marked as partial. Aggregation, community.

Optional non-transitive If the BGP process does not recognize the attribute then it can ignore the update and not advertise the path to its peer. Multi-exit discriminator (MED), originator ID

AS_Path attribute- this particular path attribute lists the autonomous system numbers in the end-to-end path.BGP uses AS_Path as its primary loop-prevention tool.

AS_Path attribute is a well-known mandatory attribute. its list of AS through which updates are coming. The shortest AS_PATH list is more desirable.

Next_hop is a well-known, mandatory attribute next hop means IP address to reach the next autonomous system because BGP is AS by AS routing protocol. 

Origin attribute origin informs all AS in internetwork how network got introduced into BGP.

 (i)  represent IGP

 (e) represent EBGP

 (?) represent incomplete   

     

Weight Attribute is a cisco's attribute. its tell how to exit the AS, a path with the highest weight is more desirable. weight is a partial attribute, by default weight 0 learn route 32,769 for locally injected routes. its local to the router did not advertise to any BGP peers.

Local Preference Attribute

Local preference defines how to data traffic should exit from an Autonomous system. path with the highest preference value is more desirable by default is 100, and the range 0 through 232  local preference is well known, discretionary attribute it is advertised only to iBGP neighbor within an Autonomous system.

R3#show ip bgp

BGP table version is 5, the local router ID is 13.0.3.1

Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,

              r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,

              x best-external, an additional-path, c RIB-compressed,

Origin codes: i - IGP, e - EGP, ? - incomplete

RPKI validation codes: V valid, I invalid, N Not found

 Network       Next Hop     Metric  LocPrf     Weight     Path

 r>i 10.0.0.0      11.0.0.1         0   100         0         i

 r>i 20.0.0.0      12.0.0.1         0   100         0         i

 *>  30.0.0.0     0.0.0.0          0              32768      i

 r>i 40.0.0.0       14.0.0.1        0   100         0         i