LHCONE BGP configuration examples

Brocade

router bgp
 local-as 513
 neighbor 192.16.156.1 remote-as 20641
 neighbor 192.16.156.1 description "----> LHCONE Route Server EU"
 neighbor 192.16.156.1 ebgp-multihop 255
 neighbor 192.16.156.1 password MD5PASSWORD
 neighbor 192.16.156.1 soft-reconfiguration inbound
 neighbor 2001:7f8:1c:3000:0:2:641:1 remote-as 20641
 neighbor 2001:7f8:1c:3000:0:2:641:1 description "----> LHCONE Route Server EU"
 neighbor 2001:7f8:1c:3000:0:2:641:1 ebgp-multihop 255
 neighbor 2001:7f8:1c:3000:0:2:641:1 password MD5PASSWORD

 address-family ipv4 unicast
  network 128.142.0.0/16
  network 137.138.0.0/16
  aggregate-address  128.142.0.0/16 summary-only
  aggregate-address  137.138.0.0/16 summary-only
  neighbor 192.16.156.1 maximum-prefix 100 
  neighbor 192.16.156.1 route-map in LHCONE-IN
  neighbor 192.16.156.1 route-map out LHCONE-OUT
  neighbor 192.16.156.1 send-community
  neighbor 192.16.156.1 weight 100
  no neighbor 2001:7f8:1c:3000:0:2:641:1 activate
 exit-address-family

 address-family ipv6 unicast
 aggregate-address  2001:1458::/32 summary-only
 network 2001:1458::/32
 neighbor 2001:7f8:1c:3000:0:2:641:1 activate                     
 neighbor 2001:7f8:1c:3000:0:2:641:1 maximum-prefix 100 
 neighbor 2001:7f8:1c:3000:0:2:641:1 route-map in LHCONE-IN
 neighbor 2001:7f8:1c:3000:0:2:641:1 route-map out LHCONE-OUT
 neighbor 2001:7f8:1c:3000:0:2:641:1 send-community
 exit-address-family
!
route-map LHCONE-IN permit 10
 set metric 50
 set local-preference 64000                                       
!
route-map LHCONE-OUT permit 10
 match as-path 2
 set metric 50
!
ip as-path access-list 2 seq 5 permit ^$
ip as-path access-list 2 seq 10 permit ^513$
!

Cisco

 no bgp enforce-first-as 
 neighbor 192.16.156.1 remote-as 20641
 neighbor 192.16.156.1 description ---> LHCONE <---
 neighbor 192.16.156.1 shutdown
 neighbor 192.16.156.1 ebgp-multihop 255
 neighbor 192.16.156.1 password 7 MD5Password
 neighbor 192.16.156.1 update-source Vlan3000
 neighbor 192.16.156.1 version 4
 neighbor 192.16.156.1 transport path-mtu-discovery

 neighbor 2001:7F8:1C:3000:0:2:641:1 remote-as 20641
 neighbor 2001:7F8:1C:3000:0:2:641:1 description ---> LHCONE-IPv6 <---
 neighbor 2001:7F8:1C:3000:0:2:641:1 shutdown
 neighbor 2001:7F8:1C:3000:0:2:641:1 ebgp-multihop 255
 neighbor 2001:7F8:1C:3000:0:2:641:1 password 7 MD5Password
 neighbor 2001:7F8:1C:3000:0:2:641:1 update-source Vlan3000
 neighbor 2001:7F8:1C:3000:0:2:641:1 version 4

 address-family ipv4
  no neighbor 2001:7F8:1C:3000:0:2:641:1 activate
  neighbor 192.16.156.1 activate
  neighbor 192.16.156.1 soft-reconfiguration inbound
  neighbor 192.16.156.1 route-map LHCONE-IN in
  neighbor 192.16.156.1 route-map LHCONE-OUT out

 exit

 address-family ipv6
 neighbor 2001:7F8:1C:3000:0:2:641:1 activate
 neighbor 2001:7F8:1C:3000:0:2:641:1 soft-reconfiguration inbound
 neighbor 2001:7F8:1C:3000:0:2:641:1 route-map LHCONE-IN in
 neighbor 2001:7F8:1C:3000:0:2:641:1 route-map LHCONE-OUT out
 exit

Force10

  no bgp enforce-first-as
  neighbor 192.16.156.1 description ---> LHCONE <---
  neighbor 192.16.156.1 route-map LHCONE-IN in
  neighbor 192.16.156.1 route-map LHCONE-OUT out
  neighbor 192.16.156.1 ebgp-multihop 255 
  neighbor 192.16.156.1 maximum-prefix 100
  neighbor 192.16.156.1 send-community 
  neighbor 192.16.156.1 password 7 MD5Password
  neighbor 192.16.156.1 soft-reconfiguration inbound 
  neighbor 192.16.156.1 no shutdown 
  neighbor 2001:7f8:1c:3000:0:2:641:1 remote-as 20641 
  no neighbor 2001:7f8:1c:3000:0:2:641:1 activate
  neighbor 2001:7f8:1c:3000:0:2:641:1 description ---> LHCONE-IPv6 <---
  neighbor 2001:7f8:1c:3000:0:2:641:1 ebgp-multihop 255 
  neighbor 2001:7f8:1c:3000:0:2:641:1 send-community 
  neighbor 2001:7f8:1c:3000:0:2:641:1 password 7 MD5Password

  address-family ipv6 unicast
  neighbor 2001:7f8:1c:3000:0:2:641:1 activate
  neighbor 2001:7f8:1c:3000:0:2:641:1 route-map LHCONE-IPV6-IN in
  neighbor 2001:7f8:1c:3000:0:2:641:1 route-map LHCONE-IPV6-OUT out
  exit-address-family


Juniper

BGP ECMP

 maximum-paths ebgp 2

BGP filtering

 End sites should not export the prefixes received from LHCONE to any other peer.
 You can use the no-export community, or custom communities to handle this.
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r5 - 2011-10-14 - unknown
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LHCONE All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback