Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

What is the difference between the two following BGP configs?

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

What is the difference between the two following BGP configs?

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 ***
223
Views
0
Helpful
1
Replies
CreatePlease to create content