Options

route-map in out

mcse_696mcse_696 Member Posts: 151
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

  • Options
    srgsrg Member Posts: 140
    in == 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
  • Options
    GT-RobGT-Rob Member Posts: 1,090
    It 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?
  • Options
    mcse_696mcse_696 Member Posts: 151
    i 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
  • Options
    cisco_troopercisco_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....
  • Options
    kryollakryolla Member Posts: 785
    mcse_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
Sign In or Register to comment.