[quagga-users 14486] Re: Networks are not advertised with Quagga 1.1.0 when using route-map
Alexis Rosen <[email protected]>
| Newsgroups | gmane.network.quagga.user |
|---|---|
| Message-ID | <[email protected]> |
On Nov 2, 2016, at 1:38 AM, Paweł Staszewski <[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 _______________________________________________ Quagga-users mailing list [email protected] https://lists.quagga.net/mailman/listinfo/quagga-users