Ethernet Switches & Routers

Reply
Regular Visitor
Posts: 1
Registered: ‎02-07-2015

No routes are advertised to Neighbor

Hello, 

 

We are setting up a new router setup. We have the folowing BGP configuration: 

#show ip bgp config
Current BGP configuration:

router bgp
local-as 201290
capability as4 enable
neighbor 91.201.165.249 remote-as 39637
neighbor 185.41.37.133 remote-as 201290

address-family ipv4 unicast
network 185.41.36.0/22
exit-address-family

address-family ipv4 multicast
exit-address-family

address-family ipv6 unicast
exit-address-family

address-family ipv6 multicast
exit-address-family

 

The problem is that the network 185.41.36.0/22 is not advertised to neighbor 91.201.165.249

 

The BGP sesion is established and i recive routes from that BGP neighbor. 

 

We running on a CER 2024 whit firmware 5.5

Frequent Contributor
Posts: 98
Registered: ‎07-12-2011

Re: No routes are advertised to Neighbor

Does the route exist in the local IP table? Does that router own that subnet?

 

you might also look into the redisribute if it's a static, directly connected or ospf route

 

http://www.brocade.com/downloads/documents/html_product_manuals/FI_ICX6650_07500_L3RCG/wwhelp/wwhimpl/common/html/wwhelp.htm#context=Layer_3-converted&file=FI_BGP4.09.06.html

 

Modifying redistribution parameters
By default, the Layer 3 Switch does not redistribute route information between BGP4 and the IP IGPs (RIP and OSPF). You can configure the switch to redistribute OSPF routes, RIP routes, directly connected routes, or static routes into BGP4 by using the following methods.
To enable redistribution of all OSPF routes and directly attached routes into BGP4, enter the following commands.
Brocade(config)#router bgp
Brocade(config-bgp-router)#redistribute ospf
Brocade(config-bgp-router)#redistribute connected
Brocade(config-bgp-router)#write memory
 
Syntax:
[no] redistribute connected | ospf | rip | static
The connected parameter indicates that you are redistributing routes to directly attached devices into BGP.
The ospf parameter indicates that you are redistributing OSPF routes into BGP4.
NOTE: Entering redistribute ospf simply redistributes internal OSPF routes. If you want to redistribute external OSPF routes also, you must use the redistribute ospf match external... command. Refer to “Redistributing OSPF external routes”.
The rip parameter indicates that you are redistributing RIP routes into BGP4.
The static parameter indicates that you are redistributing static routes into BGP.
Occasional Contributor
Posts: 12
Registered: ‎10-29-2014

Re: No routes are advertised to Neighbor

Create a prefix-list  with the ip address in there.

 

ip prefix-list netblocks seq 10 permit 185.41.36.0/22

ip prefix-list netblocks seq 1000 deny 0.0.0.0/0

 

Create a route-map matching on the prefix list

 

route-map netblocks-outbound permit 20

match ip address prefix-list netblocks

 

bind route-map for the neighbor to announce the ip space.

 

neighbor 91.201.165.249 route-map out netblocks-outbound

neighbor 185.41.37.133 route-map out netblocks-outbound

 

clear bgp neighbor for configuration changes to take effect.

 

 

You do need a null for that route if it's not in the CER already.

 

ip route 185.41.36.0/22 null0 dist 250

 

 

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.