Re: Not the cleanest configuration but it works

From: Kambiz Agahian <aussiecert_at_gmail.com>
Date: Thu, 19 Aug 2010 12:07:43 -0700

Yours' more "modular" and customizable in the future.

HTH
Kambiz Agahian

CCIE Instructor/Consultant
M.Eng Telecom, CCIE# 25341, CCSI# 33326, MCSE, MCSA

On Thu, Aug 19, 2010 at 12:00 PM, Anthony Sequeira <asequeira_at_ine.com>wrote:

> I teach my students to get into the head of the proctor that is coding the
> grading script for a task.
>
> If the objective is to simply "filter routes on R1 that originated in AS
> 300" - the simplest and most logical approach for the grading script is to
> verify you fulfilled the task by running show output against your device. So
> in your example, it does not matter how you got there, just that you did
> indeed arrive!
>
> -----Original Message-----
> From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of
> Jack Router
> Sent: Thursday, August 19, 2010 1:11 PM
> To: 'Cisco certification'
> Subject: Not the cleanest configuration but it works
>
> 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
>
> _______________________________________________________________________
> 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 - 12:07:43 ART

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