cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
319
Views
0
Helpful
0
Replies
Highlighted
Beginner

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

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!

Everyone's tags (3)
CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards