Building network automation solutions

9 module online course

Start now!


  1. Also useful thing to generate BGP-routes is NET::BGP module in perl. I use this module to upload multiple Internet full view tables to router in lab for testing purposes.
  2. Hi I'm using quagga in production evironment (non-business though) and feature that network command is creating a bgp route even if router hasn't same prefix in routing table was very annoying to me. I've actually consider it as a drawback rather then feature.
    Never thought about it as a possibility to use this feature/weakness for such testing :-)
    Thanks for tip.
  3. @pigo: One of our engineers managed to crash a high-end router in this manner :) Net::BGP is great for stress-testing purposes.
  4. 2 Ivan: Its very strange that router crashed. Our tests with Cisco and Juniper produced only tracebacks in bad cases but nothing more :)
  5. Why not use Vyatta?

    It includes Quagga and has a command line structure more like IOS and JunOS. Plus lots of documentation.
  6. Sadly Quagga lacks MPBGP capability, though it does have it coded in it isn't stable enough to be usable.
  7. Oh, I would never use Quagga in a production environment (and I guess there are numerous people that disagree with me :), but it's perfect in a test lab.
  8. Hi Ivan, by reading at the CT3 wiki doc (, I saw that "set as-path prepend 1 2 3 4" is there, and I believe the AS_PATH should looks like 1 2 3 4 65000, but seems like it get appended instead of prepended based on the output of the "show ip bgp" command on the Cisco router in the last code snippet in the mentioned document. 8-)
  9. In my example the AS-path is “prepended” to an empty AS-path when the route is inserted into the BGP table. You can use the “set as-path prepend” to prepend AS-path when sending it to a neighbor or to set AS-path when inserting the route in the BGP table. In both cases, the local AS is always prepended to the AS-path as the update is sent to the neighbor, see also:
Add comment