TASK 5.3 BGP aggregation useing another way !!!! need confirmation

Hi guys i need to confirm that

in this task instead of useing prefix list and deny it which is right 100%

 

i think if i use an as path which permit ^200$

 

and put itin a route map

in the aggregation command i use as-set addvertise-map   with map athat has ^200$

this way AS 200 will not put the aggregated route in to its bgp routing table

is this way is correct ??

 

Thank you

Comments


  • But remeber that the task states that the configuration should be sone on AS100. [:O]


  • An alternative way to accomplish this task would be to configure R6 not
    to advertise the summary to R3 as well as R5. The summary would still be
    advertised to AS54 but not AS200 which is what the task specifies. It
    doesn't mention that R3 should have this summary address. I've used the
    following solution and  I think it might be an acceptable solution.

     

    !
    ! r6
    !
    conf t
    !
    ip prefix-list SUMMARY seq 5 permit 140.1.0.0/16
    !
    route-map NO_SUMMARY deny 10
     match ip add prefix-list SUMMARY
    !
    route-map NO_SUMMARY permit 20
    !
    router bgp 100
     aggregate-address 140.1.0.0 255.255.0.0 summary-only
     neighbor 140.1.100.3 route-map NO_SUMMARY out
     neighbor 140.1.100.5 route-map NO_SUMMARY out
    !
    end

     

    RSRack1R3#sh ip bgp 140.1.0.0 255.255.0.0
    % Network not in table

    RSRack1R5#sh ip bgp 140.1.0.0 255.255.0.0
    % Network not in table

    RSRack1R6#sh ip bgp nei 54.1.2.254 adver
    BGP table version is 14, local router ID is 150.1.6.6
    Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
                  r RIB-failure, S Stale
    Origin codes: i - IGP, e - EGP, ? - incomplete

       Network          Next Hop            Metric LocPrf Weight Path
    *> 140.1.0.0        0.0.0.0                            32768 i

    Total number of prefixes 1

Sign In or Register to comment.