Not the cleanest configuration but it works

From: Jack Router <pan.router_at_gmail.com>
Date: Thu, 19 Aug 2010 13:10:52 -0400

Hello,

What if I apply a configuration that meets requirements, works correctly but
is not the shortest config possible. Will it be accepted in the Lab ? Here
is an example from my workbook. The task says to filter routes on R1 that
originated in AS 300

>>>>> My solution :
!
ip as-path access-list 300 permit _300$
!
route-map AS300 deny 10
 match as-path 300
route-map AS300 permit 999
!
router bgp 100
 neighbor 2.2.2.2 route-map AS300 in
!

>>>>> Workbook solution :
!
ip as-path access-list 300 deny _300$
ip as-path access-list 300 permit .*
!
router bgp 100
 neighbor 2.2.2.2 filter-list 300 in
!

Both solutions work OK but mine includes an unnecessary route-map.
Would my "longer" solution be accepted ? Or it all depends how the proctor
feels that day :)

Thanks

Blogs and organic groups at http://www.ccie.net
Received on Thu Aug 19 2010 - 13:10:52 ART

This archive was generated by hypermail 2.2.0 : Wed Sep 01 2010 - 11:20:52 ART