cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
458
Views
0
Helpful
2
Replies

Route map question

caijunjie
Level 1
Level 1

Hi

May i know wat doe sthe below command mean?

network A.A.A.A mask B.B.B.B route-map community-no-export

route-map community-no-export permit 10

set local-preference 100

set community 100:12345 no-export

access-list 10 access-list 10 permit 64.220.221.96 0.0.0.31

Does the above mean the below.

- Take ip that is permit by access list 10 and apply the route map and advertise it out?

Please help

Thanks

Does the above mean

2 Replies 2

Danilo Dy
VIP Alumni
VIP Alumni

Hi,

The answer is NO.

The route-map has a "set" parameters but no "match" parameter

However, since you have the line "network A.A.A.A mask B.B.B.B route-map community-no-export" this means the route-map "set" parameters applies to this network "A.A.A.A/B.B.B.B". When the router announce this prefix to its neighbor, it will have those attributes set in the route-map.

You can see it by checking what is being advertised to your peers. i.e.

show ip bgp neighbor peer_ip_address advertised-routes

regards,

Dandy

Hi

Thanks for the reply, u are right, i had get access list and route map mix up.

Regards

Alan