Menu
kemot-net.com
  • Home
  • Blog
  • CCIE
  • Contact Me
  • About Me
kemot-net.com

BGP – Modifying the AD of Backdoor networks

Posted on December 10, 2011January 8, 2019 by Tom Kacprzynski

As you may know that the backdoor feature of BGP changes the AD to 200. But is there a way to modify it?

There is a way, it’s not very intuitive. When you configure a network as a backdoor network you are creating a local-route that you don’t originate to others. To modify a local-route you can use the distance bgp command. Remember that bgp distance format it:

distance bgp (eBGP) (iBGP) (Local/Backdoor)

Below is a quick example where I use the route 10.1.4.0/24 as a backdoor route.

router bgp 5
no synchronization
bgp log-neighbor-changes
network 10.1.4.0 mask 255.255.255.0 backdoor
neighbor 10.1.45.4 remote-as 4
distance bgp 20 200 233
no auto-summary

 

After modifying the distance make sure to clear that route to apply changes:

 

Router#clear ip route 10.1.4.0
Router#sh ip route | i 10.1.4.0
B       10.1.4.0 [233/0] via 10.1.45.4, 00:00:05

As you can see the distance of the backdoor network is 233 instead of the default 200.

When you change the AD of BGP local routes you are also changing the AD of any summary null routes when configuring aggregations.

 

Share on Social Media
twitter facebook linkedin

Recent Posts

  • Why I’m running for the NANOG Board of Directors? September 14, 2020
  • What is CHI-NOG (Chicago-NOG) September 8, 2014
  • Pseudowire FAT Interoperability May 15, 2014
  • New GNS3 – Redesign changing networking again December 2, 2013
  • Anycast DNS with IP SLA DNS September 26, 2013

Popular Posts

  • Password Recovery – Nexus 5548
  • BGP Decision Process
  • Nexus – iBGP with BFD
  • When NTP access-control needs ACL for 127.127.7.1?
  • OSPF Area Range – Active vs Passive Advertisment
  • Home
  • Blog
  • CCIE
  • Contact Me
  • About Me

Tags

650-001 acl bgp blog bootcamp cac call-rate CCIE ccie written configuration lab cost courses dmvpn doccd documentation exam flash cards g.7.29 g.711 general-prefix gns3 ine intro ipexpert ipv6 ipv6 6to4 ipv6 acl mind map money narbik ospf qos rsvp security summary super memo technology based labs tips tom troubleshooting lab tunneling VIRL voip wiki workbooks
©2023 kemot-net.com | Powered by WordPress & Superb Themes