IE Lab-2 BGP

From: Nadeem Zahid \(iszahid\) (iszahid@cisco.com)
Date: Sat Oct 22 2005 - 13:54:09 GMT-3


In IE lab-2 BGP last part, I can get the same results with:

ip as-path access-list 1 deny _254$
ip as-path access-list 1 permit .*
!
router bgp 400
 neighbor 204.12.1.254 filter-list 1 out

As the solution does with the route-maps:

ip as-path access-list 1 permit _254$
!
route-map STOP deny 10
  match as-path 1
!
route-map STOP permit 20
!
router bgp 400
 neighbor 204.12.1.254 route-map STOP out

Just wondering if both will be acceptable solutions?

Nadeem

NADEEM ZAHID
Cat6500 MPLS & FM DevTest

250 West Tasman Drive
San Jose, CA-95134 USA
IP Phone: 1 (408) 526 5857
IP Fax: 1 (408) 527 1325

"Life is short - use it...!"



This archive was generated by hypermail 2.1.4 : Sun Nov 06 2005 - 22:00:52 GMT-3