One BGP aspath size should be less than 4096 - BGP header size - BGP mandantry attribute size. RS_AS6730>show ip bgp regexp ^([0-9]+)(_\1)+$ BGP table version is 1413944297, local router ID is 193.192.254.90 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale, m multipath, b backup-path, x best-external Origin codes: i - IGP, e - EGP, ? You can change the “as-path prepend” on the fly without rebooting quagga, to do this, connect to it and switch to configuration mode: telnet localhost 2605 configure terminal. Изменим “as-path prepend”: route-map PROVIDER2-OUT permit 10 set as-path prepend 12345 12345 12345. route-map prepend permit 10 set as-path prepend 65001 65001 65001 Gossamer Mailing List Archive. The best thing to do is verify if you're actually prepending by checking what you're advertising: show route advertising-protocol bgp aaa.bbb.ccc.ddd detail, where aaa.bbb.ccc.ddd is … Configuration saved to /etc/quagga/bgpd.conf [OK] Setting up BGP filters ... router bgp 65001 neighbor 10.1.0.2 remote-as 65200 neighbor 10.1.0.2 description Backup ISP neighbor 10.1.0.2 route-map prepend out ! Exit configuration mode and apply the changes: Here is what my config looks like (some parts are cut: neighbor 217.x.x.x remote-as 18513 neighbor 217.x.x.x ebgp-multihop 5 neighbor 217.x.x.x soft-reconfiguration inbound neighbor 217.x.x.x route-map bgp-test out route-map bgp-test permit 10 set community 18513:120 9578:50 ! Hi, just today decided to accomplish a very simple thing with Quagga - as-path prepending. One thing which I'm not sure about is the to protocol bgp statement, I've never used that in policies for prepending. Hi, It seems quagga does not support 'set as-path prepend last-as
One BGP attribute size should be less than 4096 - BGP header size.