route-map in out
i m confusing with route-map WORD in or out i want to make sure if i m not mistake thats when you apply out direction its mean apply the route-map everything will coming from outside and in everything will go through me is it true
Comments
-
srg Member Posts: 140in == apply the routemap on all matching traffic in the inbound direction on the interface
out == apply the routemap to all matching traffic in the outbound direction on the interface -
GT-Rob Member Posts: 1,090It depends what you are trying to effect with it.
For example, are do you want to stop a specific route from going OUT? Or stopping one from coming IN? -
mcse_696 Member Posts: 151i have seen example R1 configured router-map weight to prefer R2 for 10.x.x.x and prefer R3 for 20.x.x.x
access-list 1 permit 10.x.x.x x.x.x.x
access-list 2 pemit 20.x.x.x .x.x.x.x
router-map R2 permit 10
match ip address 10
set weight 200
router-map R2 permit 20
route-map R3 permit 10
match ip address 2
set weight 200
(config-router)#neighbor 2.2.2.2 route-map 1 in
(config-router)#neighbor 3.3.3.3 route-map 2 in
why is not out
R2 R3 other AS -
cisco_trooper Member Posts: 1,441 ■■■■□□□□□□Man, this config is invalid or has major typos. Try again.
Also, post more complete configs. You could be doing god knows what on the other deivices, we are not going to guess.... -
kryolla Member Posts: 785mcse_696 wrote:
(config-router)#neighbor 2.2.2.2 route-map 1 in
(config-router)#neighbor 3.3.3.3 route-map 2 in
why is not out
R2 R3 other AS
Because weight a BGP attribute is only locally significant to the router it does not propagate to other routers so it is always set inbound and it well affect outbound traffic.Studying for CCIE and drinking Home Brew