cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Who Me Too'd this topic

asr9k - BGP - communication - route-policy issue

wilsonribeiro
Level 1
Level 1

Hello,

I'm trying a simple BGP example here with asr9k ios 6.0.2

router bgp 100

address-family ipv4 unicast

network 10.10.10.0/24

neighbor 1.1.1.1
remote-as 200
address-family ipv4 unicast
route-policy filtroEntrada in
route-policy ANUNCIO_200 out
!


prefix-set PREFIXOS_200
10.10.10.0/24
end-set

route-policy filtroEntrada
   drop
end-policy

route-policy ANUNCIO_200
if destination in PREFIXOS_200 then
  prepend as-path 200 1
  pass
endif
end-policy

router static
address-family ipv4 unicast
0.0.0.0/0 Bundle-Ether1 1.1.1.1 permanent

So basically, the bgp session is established, I'm filtering all routes delivered by AS 200 as expected, and I'm advertising 10.10.10.0/24 prefix with aspath modified. I have a static default route via neighbor 1.1.1.1.

The problem I'm seeing is I can't communicate with anything through this neighbor. The behavior changes when I change route-policy filtroEntrada to pass everything, then I can communicate with any host via neighbor 1.1.1.1.

What am I missing?

Thanks

Who Me Too'd this topic