cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
876
Views
5
Helpful
3
Replies

BGP network statement with a non existent route-map

pauljackson059
Level 1
Level 1

I am facing an issue where my router is not advertising routes to its iBGP neighbors. While checking the configuration I came across this. (192.168.52.0 is a network that needs to be advertised)


Router01#sh run | in 192.168.52.0
network 192.168.52.0 mask 255.255.252.0 route-map MAP1
ip route 192.168.52.0 255.255.252.0 GigabitEthernet0/2 192.168.60.1
Router01#sh route-map MAP1
route-map MAP1 not found

Looks like the network is advertised into BGP with a non-existent route-map statement. Would this be the reason why its not advertising this route?

Thanks.

1 Accepted Solution

Accepted Solutions

milan.kulik
Level 10
Level 10

Hi,

yes, that's the reason probably.

As you can read here

http://www.cisco.com/c/en/us/td/docs/ios/iproute_bgp/command/reference/irg_book/irg_bgp4.html#wp1145316

"... The route map should be examined to filter the networks to be advertised. If not specified, all networks are advertised. If the keyword is specified, but no route map tags are listed, no networks will be advertised. "

Best regards,

Milan

View solution in original post

3 Replies 3

milan.kulik
Level 10
Level 10

Hi,

yes, that's the reason probably.

As you can read here

http://www.cisco.com/c/en/us/td/docs/ios/iproute_bgp/command/reference/irg_book/irg_bgp4.html#wp1145316

"... The route map should be examined to filter the networks to be advertised. If not specified, all networks are advertised. If the keyword is specified, but no route map tags are listed, no networks will be advertised. "

Best regards,

Milan

Hi Milan,

Thanks for your response. I will be removing this route-map from the network statement tomorrow and I will post back here with the results.

Regards,

Paul

Hi all,

The issue is resolved. I removed the route-map statement yesterday and the router immediately began to advertise its subnets via BGP.

Thanks for your help on this Milan

Regards,

Paul