10-18-2017 07:32 AM - edited 03-07-2019 12:21 AM
How many BGP neighbor specific distance commands can be configured? I am using Cat6500 with IOS.
Solved! Go to Solution.
10-18-2017 01:28 PM
Credits go to Julio. I was just trying to elaborate and clarify...
10-18-2017 07:35 AM
Hi
Could you please provide more details about the question?
10-18-2017 12:06 PM
10-18-2017 12:19 PM - edited 10-18-2017 12:22 PM
Hi
You can also use BGP attributes to create backup, now you could use the following command before to delete the distance statement
router bgp 100
bgp log-neighbor-changes
neighbor 2.2.2.2 remote-as 300
distance bgp 200 200 200
distance <administrative distance> <source IP it can be the neighbor 2.2.2.2> <wildcard should be 0.0.0.0> <ACL to match, example 1>
Sintaxis
distance <administrative distance 1-255> <source IP> <wildcard> <ACL>
example:
access-list 7 permit 192.168.1.0 0.0.0.255
access-list 7 permit host 172.16.1.77
distance 19 2.2.2.2 0.0.0.0 7
So if you are receiving the networks includedo into the ACL 7 and advertised by the source address 2.2.2.2 it will apply the administrative distance of 19 for the networks into the ACL 7.
You could try that.
10-18-2017 01:09 PM
10-18-2017 01:13 PM
You mean when you have both:
distance bgp 200 200 200
and
distance 15 2.2.2.2 0.0.0.0
in your BGP configuration ? Yes, distance 15 2.2.2.2 0.0.0.0 will take precedence...
10-18-2017 01:16 PM
10-18-2017 01:06 PM
Hello,
in addition to Julio's post (hopefully I am not saying the exact same thing), and that is I think what you are trying to do, you can simply set the distance for neighbor 2.2.2.2 to something lower like the default (20 for EBGP):
distance 15 2.2.2.2 0.0.0.0
You don''t need to set the distance for the other neighbors, since the default is higher than 15.
10-18-2017 01:17 PM
10-18-2017 01:23 PM
You are welcome, please keep us posted.
:-)
10-18-2017 01:28 PM
Credits go to Julio. I was just trying to elaborate and clarify...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide