cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
732
Views
0
Helpful
0
Replies

BGP dynamic neighbors. Listen range command with overlapping network/prefix-length

aalex1055
Level 1
Level 1

Hello,

 

In IOS-XE, when configuring BGP dynamic neighbors, if I configure the same "bgp listen range network/prefix-len", my command gets rejected since the same network cannot be associated with multiple peer-groups. Thanks OK.

But if I use the same "bgp listen range network/prefix-len" command with different but overlapping network/prefix-len the command is accepted:

 

router bgp 65005
bgp router-id 1.1.1.1
bgp log-neighbor-changes
bgp listen range 10.1.0.0/16 peer-group GROUP1
bgp listen range 10.1.1.1/32 peer-group GROUP2

 

So my question is: If a dynamic neighbor comes up with source IP 10.1.1.1, which peer group will it be associated with?

Will it trigger the most specific prefix/len statement?

Will it match the first one in the config?

 

Any help is appreciated!

Thanks!

0 Replies 0
Review Cisco Networking for a $25 gift card