Let's say i have 4 routers connected.
10.10.10.0 /24 and 188.8.131.52/24 is on Router # 1 which when i advertise to Router # 2, I only want Router # 2 to advertise 10.10.10.0/24 to Router # 3 and the rest of the networks which it learns from Router #1 sends it to other Routers or to different neighbors. My main goal is to filter the networks so it doesn't get injected into other neighbors and only sends to particular neighbors by using access-list on tags
One way of doing it is if on Router # 1, i create a
route-map set_tagging permit
set tag 5
router bgp xxx
network 10.10.10.0 mask 255.255.255.0 route-map set_ tagging
Now, on Router # 2 when it learns about 10.10.10.0/24, depending on the access-list it forwards only to particular neighbor.
Is there any other way of filtering networks coming in without using the route-map tagging on network...Any idea, not sure if i am clear on this one or not.