Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
juniper:bgp [2006/04/21 11:09]
a
juniper:bgp [2008/02/03 22:39]
a
Line 1: Line 1:
 +====== BGP on Juniper (JunOS) ======
 +
 http://www.juniper.net/techpubs/software/nog/nog-mpls/html/config-mpls12.html http://www.juniper.net/techpubs/software/nog/nog-mpls/html/config-mpls12.html
 http://www.space.net/~gert/RIPE/ipv6-filters.html http://www.space.net/~gert/RIPE/ipv6-filters.html
 +
 +See also:
 +
 +   * {{juniper:junos-bgp-template.pdf|JunOS Secure BGP Template v1.92}}
 +   * [[http://www.cymru.com/Documents/secure-bgp-template.html|Cisco Secure BGP Template]]
 +   * [[http://www.qorbit.net/documents/junos-template.htm|JunOS Secure Template]]
 +   * [[http://www.juniper.net/techcenter/app_note/350001.html|Minimizing the Effects of DoS Attacks]]
 +
 +===== Powerful BGP commands =====
 +
 +What do we advertice to our neighbor
 +   show route advertising-protocol bgp <IP>
 +
 +What do we get from our neighbor
 +  show route receive-protocol bgp <IP>
 +
 +
 +
 +
 +===== Exporting =====
 +
 +  policy-statement foobar-export {
 +     term foobar {
 +       from {
 +          route-filter x.x.x.0/24 exact accept;
 +       }
 +     }
 +    term rest {
 +       then reject;
 +    }
 +  }
 +
 +**Remember, that you need to have something in the routing table**!
 +
 +  routing-options:
 +   static {
 +     route x.x.x.0/24 discard metric 100;
 +     ...
 +   }
 +
 +
 +   protocol {
 +     bgp {
 +      group uplink {
 +        type external;
 +        description foobar_uplink;
 +        export foobar-export;
 +        neighbor x.x.x.x {
 +            peer-as <ASNUM>;
 +       }
 +     }
 +   }
 +
 +**Remember to also filter the import or your can be flooded**
juniper/bgp.txt ยท Last modified: 2009/05/25 00:35 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready