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. And see here for current known issues.

BGP: Setting Weight

Hi,

I read Routing TCP/IP Volume II and it was stated there that when route maps are used to set weights, only the AS_PATH can be matched; individual IP addresses cannot be matched with the "match ip address" command.

However, I saw some implementations that used IP address in route-maps to set the weight. I don't know if this is a revised behavior of "weight".

Is this still true or not? Thanks.

John

1 REPLY
Hall of Fame Super Silver

Re: BGP: Setting Weight

Hello John,

there were three options to do this

neigh x.x.x.x weight YYY

that would set to YYY the weight of all routes received by x.x.x.x

neigh x.x.x.x filter-list Z weight YYY

Z is an as path access-list but this has been removed

see

12.1

The weight keyword was removed.

http://www.cisco.com/en/US/docs/ios/iproute/command/reference/irp_bgp3.html#wp1037204

the third option is that of using a route-map.

Inside the route-map as you have noted you can use different match commands not only match AS-path.

the second option now not available according to documentation was limited to AS paths.

Hope to help

Giuseppe

96
Views
0
Helpful
1
Replies