BGP Attributes
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
Well-known mandatory attributes 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 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
Local Preference Attribute
R3#show ip bgp
BGP table version is 5, 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, a 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
Here is the lists of all BGP labs and theories CCNA to CCIE
1.Introduction of BGP
2.BGP Neighbors
3.BGP Peer Group
4.BGP Attributes
5.BGP Weight Attribute
6.BGP Local Preference (Local_Pref)
7.BGP Multi Exit Discriminator (MED)
8.BGP AS Path Prepending
9.BGP Route Reflectors (RR)
10.BGP Communities_No-advertise configuration
11.BGP community Local-AS
12.BGP Confederations and configuration
13.BGP Route filtering methods
No comments:
Post a Comment