[quagga-users 14499] Re: Networks are not advertised with Quagga 1.1.0 when using route-map
Paweł Staszewski <pstaszewski-n+9KzH4GKXhmR6Xm/[email protected]>
| Newsgroups | gmane.network.quagga.user |
|---|---|
| Message-ID | <[email protected]> |
W dniu 2016-11-02 o 16:58, Alexis Rosen pisze: > On Nov 2, 2016, at 1:38 AM, Paweł Staszewski <pstaszewski-n+9KzH4GKXhmR6Xm/[email protected]> wrote: >> To reproduce problem: >> >> router bgp 100 >> bgp router-id 192.168.0.1 >> network 192.168.0.0/24 route-map NET >> >> neighbor 192.168.0.2 remote-as 64000 >> neighbor 192.168.0.2 description BGP-01 >> neighbor 192.168.0.2 shutdown >> neighbor 192.168.0.2 next-hop-self >> neighbor 192.168.0.2 soft-reconfiguration inbound >> neighbor 192.168.0.2 route-map BGP-01-in in >> neighbor 192.168.0.2 route-map BGP-01-out out >> >> >> ip community-list standard NET-out permit 1000:1 >> ip community-list expanded own-comm permit 1000:.* >> >> route-map NET permit 10 >> set community 1000:1 >> set local-preference 1000 >> route-map BGP-01-in permit 10 >> set comm-list own-comm delete >> set community 1000:102 >> set local-preference 99 >> ! >> route-map BGP-01-out permit 10 >> match community NET-out >> set comm-list own-comm delete >> >> After quagga restart (kill bgpd / zebra - start bgpd / zebra) >> No networks are advertised. > This looks like an ordering problem. What happens if you move the route-map block in the config file so it comes before the "router bgp" declaration? > > Did you write this config manually or was it emitted in that order by quagga? > > /a This is output ordered like from "wr term" -- _______________________________________________ Quagga-users mailing list Quagga-users-UOy77sIEA+cAd7ICUelF/[email protected] https://lists.quagga.net/mailman/listinfo/quagga-users