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

What is the difference between the two following BGP configs?

caobo1020
Level 1
Level 1

My question is what's the fucntion of the empty route-map in the second config?

Config 1:

router bgp 100

  neighbor 1.1.1.1

Config 2:

router bgp 100

  neighbor 1.1.1.1 route-map IBGP-Neighbor-OUT out

route-map IBGP-Neighbor-OUT permit 20

Thanks,

Bo

1 Reply 1

John Blakley
VIP Alumni
VIP Alumni

Technically, config 1 is incorrect. The neighbor command specifies the neighbor and their AS or other parameters that can be applied directly to a neighbor.

Config 2 on the other hand isn't necessary because you're allowing everything out. Route maps have an implicit deny at the end of them. Because this route map doesn't have any match clause, it matches everything, so everything would be allowed out. It's the same as not having a route-map configured on the neighbor.

HTH,
John

*** Please rate all useful posts ***

HTH, John *** Please rate all useful posts ***
Review Cisco Networking products for a $25 gift card