Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Adverstise a subnet with bgp

i'm curretly implemented bgp,

router bgp 1000

network 10.1.1.0

neighbor 1.1.1.1 remote-as 2000

neighbor 1.1.1.1 prefix-list first

neighbor 1.1.1.2 remote-as 2000

neighbor 1.1.1.2 prefix-list two

ip prefix-list first 10.1.1.192/26

ip prefix-list two 10.1.1.128/26

The subnet are not advertise to neighbor.

Can somebody help to diagnose ?

Regards.

  • WAN Routing and Switching
1 REPLY
Cisco Employee

Re: Adverstise a subnet with bgp

By default IOS uses the default classful mask, which in the case of 10.1.1.0 is 255.0.0.0. If you want to advertise the /24 configure as follow:

network 10.1.1.0 mask 255.255.255.0

Hope this helps,

187
Views
10
Helpful
1
Replies
This widget could not be displayed.