Re: Not the cleanest configuration but it works

From: Manouchehr Omari <manouchehr1979_at_gmail.com>
Date: Thu, 19 Aug 2010 13:15:49 -0400

I guess if they ask you use the minimum line of config in that case you
gonna lose points with your config otherwise everything is cool.

Cheers,
Manny

On Thu, Aug 19, 2010 at 1:10 PM, Jack Router <pan.router_at_gmail.com> wrote:

> 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
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html

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

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