Modify Weightrouter BGP 1 nrighbor [Address] weight 10 Modify single access-list 6 Permit 6.6.6.6&N Bsp router-map XXX Permit 10 match IP address 6 &N Bsp Set weight 20 router-map xxx permit 20router bap 1 neihgbor [address] Router-map xxx In 2.local_preference:as Valid within, as within the pass, the default value is 100, compared to other as modified Local_preferenceroute-map XXX Permit 10 set local-preference 110router BGP 1 neighbor [address] route-map XXX out & nbsp Bring local-preference properties to neighbors neighbor [address] route-map xxx in routes learned from neighbors carry the Local-preference attribute 3. Local priority Route aggregation router BGP 1 aggregate-address mask after aggregation of network segments summary-only as-set & Nbsp;summary only: Suppress the detail, only send the aggregation route As-set: Bring the original As_path information after aggregation  4.AS_PATHBGP Bestpath As-pathIgnore Ignore As_path route, hide command. suppression list Suppress-map sends summary and detail routes to neighbors, except for suppressed routes router BGP [as] aggregate-address converged network segment converged Mask Suppress-map xxxroute-map xxx match IP address abc 4.as_pathroute-map XXX permit 10& Nbsp; set as-path prepend 5router bgp 1 neighbor neighbor address route-map xxx in 5. Road By Source: Igp>egp>incomplete  I>E>?  BGP bestpath As-path Ignore ignore pa_path routing, hide command, must be entered manually prefer the path with the lowest multi-exit discriminator (med) med: Passed to another as to be used for alternative as routes. Default 0. modify Med:route-map XXX permit 10 set metric 119router BGP 2 neighbor neighbor address Rou Te-map xxx out -------------------------------------------------------------------------------- --------------------------- If the As_path of the received BGP route contains its own as number, reject the routing solution 1:allowas-inrouter BGP as number neighbor [address] allowas-in*allow-in allowed to carry their own as number of the roadBetween the entry solution 2:as-overridepe-ce: Router BGP as number neighbor [address] as-override*asoverride sender processing, When sending, check the As_path, if you have the as number and the peer as number, then change to their as number. as_pathip as-path access-list 1 Permit _2$ Allow source to route IP as-path access-list 2 Permit ^2$ Federation (Federation): 64512-6553 5BGP Confederation identifier as BGP Confederation Peer0 as number community attribute Local-as only one asno-advertise pass No-export Transmit only one public as requires neighbor BGP neighbor address send-community Mate aa:nn Pass comunity requires IP bgp-community New-format command to display the correct format router BGP as number neighbor BGP neighbor address route-map xxx Outneighbor bgp neighbor address Send-communityroute-map xxx Permit 10
CCIE Learning notes----BGP