05-06-2020 02:41 AM
hi,
i have a single site/router with single upstream ISP and i'll be applying AS prepending via a route map.
BGP isn't something i do on a daily basis and just need some advice.
my questions:
1) do i apply the BGP route map in or out?
2) do i perform BGP soft in or out?
route-map AS-PREPEND permit 10
set as-path prepend 123 123
router bgp 123
address-family ipv4
neighbor 200.1.1.1 remote-as 456
neighbor 200.1.1.1 route-map AS-PREPEND out <<< DO I USE IN OR OUT?
#clear ip bgp 200.1.1.1 soft in <<< DO I USE IN OR OUT? OR CAN I JUST USE "soft" THEN HIT ENTER
Solved! Go to Solution.
05-06-2020 06:46 AM
Hello @johnlloyd_13 ,
if both routers support the route refresh capability you can use the in option without soft keyword
see
According to the command reference you can also use the soft option alone.
Hope to help
Giuseppe
05-06-2020 02:57 AM
Hello @johnlloyd_13 ,
the route-map has to be applied outbound = OUT
At this point you should also clear soft out but you can also perform an hard clear if you want.
Hope to help
Giuseppe
05-06-2020 04:22 AM - edited 05-06-2020 04:24 AM
thanks!
can i just issue with a 'soft' and it will do both 'in' and 'out'?
#clear ip bgp 200.1.1.1 soft
05-06-2020 06:46 AM
Hello @johnlloyd_13 ,
if both routers support the route refresh capability you can use the in option without soft keyword
see
According to the command reference you can also use the soft option alone.
Hope to help
Giuseppe
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide