R2 has a locally originated prefix 192.168.130.0/24 and has these configurations:
What is the result when the route-map OUT command is applied toward an eBGP neighbor R1 (1.1.1.1) by using the neighbor 1.1.1.1 route-map OUT out command?
R2 has a locally originated prefix 192.168.130.0/24 and has these configurations:
What is the result when the route-map OUT command is applied toward an eBGP neighbor R1 (1.1.1.1) by using the neighbor 1.1.1.1 route-map OUT out command?
When the route-map OUT command is applied toward an eBGP neighbor R1 (1.1.1.1) by using the neighbor 1.1.1.1 route-map OUT out command, R1 sees 192.168.130.0/24 as two AS hops away instead of one AS hop away. This is because the route-map matches the prefix 192.168.130.0/24 and sets the AS-path with an additional AS number (65000) using the prepend command. This makes the route appear to traverse two AS hops, making the route less preferred by other networks.
I'm going with A. The as-prepend will add the additional AS identifier which in turn makes the route 2 AS hops a way. This is used with multihomed ISP configurations to determine the path of incoming traffic.
https://community.cisco.com/t5/networking-knowledge-base/understanding-bgp-best-path-selection-manipulation/ta-p/3150576
R1 sees 192.168.130.0/24 as two AS hops away. "A" is rite answer.
A is correct
A is the correct answer. AS-path prepending is a trick where you add extra steps to a route's path in BGP. This makes the route seem less appealing to other routers by making it look longer than it really is.
I would say B. Who said that the ebgp peers are directly connected? it can be an ebgp-multihop 3 or something in the config. The only answer what is right in any circumstances is B....
is an "OUT" route map, so u are advertising only the 192.168.130.0/24, so it cannot be the Answer B.
A - PREPEND 65000 in the as-path, R2 see 65000 65000 for this prefix
What if the Routemap does not have a permit statement sequence 20? Then B should also be an answer as the explicit deny statement will deny any network other than 192.168.130.x
The wording is tricky here, R1 will accept routes other than 192.168.130.x because R1 does not have any RM in place, R2 however will not sent any routes other than 192.168.130.x
Brilliant comment!! You nailed it. Very tricky question.
A looks to be correct
A is correct
key word is 'locally originated' hence now R1 sees R2 as 2 hops.
A. R1 sees 192.168.130.0/24 as two AS hops away instead of one AS hop away. and R2 does filter all other route adverticements other than 192.168.130.0/24 when sending to R1, fue to ipmlicit deny (missing route-map permit 20 statement
The given answer is correct
//ORIGINAL WITHOUT AS-PREPEND// R3#sh ip bgp | i 192. *> 192.168.130.0 2.2.2.2 0 65002 65000 i //ORIGINAL WITH AS-PREPEND// R3#sh ip bgp | i 192. *> 192.168.130.0 2.2.2.2 0 65002 65000 65000 i
The correct answer is: A
the given answer is correct
The given answer is correct