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

route map qns

leowchongwei
Level 1
Level 1

Taken from cisco white paper : http://www.cisco.com/univercd/cc/td...sbgp4.htm#11513

=====================================================

Assume that on Router C you want to set to 300 the community attribute of outgoing updates for network 170.10.0.0. The following commands apply a route map to outgoing updates on Router C:

!Router C

router bgp 300

network 170.10.0.0

neighbor 2.2.2.2 remote-as 100

neighbor 2.2.2.2 route-map SETCOMMUNITY out

!

route-map SETCOMMUNITY permit 10

match ip address 1

set community 300

!

access-list 1 permit 0.0.0.0 255.255.255.255

Access list 1 denies any update for network 170.10.0.0 and permits updates for any other network.

=====================================================

Qns 1 :

Can use "access-list 1 permit 170.10.0.0 ... ... " instead? and what's the difference?

Qns 2 :

anyone can explain the last statement?

2 Replies 2

Hello,

the link you have provided doesn´t seem to work, so I cannot check the document, but the statement:

access-list 1 permit 0.0.0.0 255.255.255.255

permits everything and denies nothing. If you want to permit only network 170.10.0.0 you should configure the list as you proposed:

access-list 1 permit 172.10.0.0

No idea where the last statement comes from, it doesn´t make any sense. Happens sometimes, even on the Cisco site...:)

Regards,

Georg

Review Cisco Networking for a $25 gift card