From: John (jgarrison1@austin.rr.com)
Date: Sun Jul 13 2008 - 13:59:02 ART
MED is for controlling outbound advertisements on incoming routes,
especially in cases of multiple ingress points to your network. I don't
know if this explicitly prevents you from using it on incoming
advertisements for outbound routes. Try applying the metric on R5.
Metric=Multi-Exit Descriminator(MED)
----- Original Message -----
From: "Hobbs" <deadheadblues@gmail.com>
To: "Cisco certification" <ccielab@groupstudy.com>
Sent: Sunday, July 13, 2008 10:14 AM
Subject: Can't get route-map continue clause to work
> Hello Groupstudy,
>
> I am trying to get the continue clause to work but I can't seem to get it
> right. Here is my scenario.
>
> R6 and R5 are EBGP peers
> R6 in AS 65000, R5 is AS 345
>
> R6 has 4 loopback networks advertised to R5:
> 6.0.0.0/24
> 6.0.1.0/24
> 6.0.2.0/24
> 6.0.3.0/24
>
> R6 has this prefix-list matching two loopbacks and a route-map for
> prepending and setting metric:
> !
> ip prefix-list LOOPS seq 5 permit 6.0.2.0/24
> ip prefix-list LOOPS seq 10 permit 6.0.3.0/24
> !
> route-map TEST permit 10
> match ip address prefix-list LOOPS
> continue 20
> set as-path prepend 65200
> !
> route-map TEST permit 20
> set metric 200
>
> R6 applies the route-map TEST to R5, but this is what R5 has:
>
> R5#show ip bgp | begin Net
> Network Next Hop Metric LocPrf Weight Path
> *> 6.0.0.0/24 172.14.45.6 200 0 65000 i
> *> 6.0.1.0/24 172.14.45.6 200 0 65000 i
> *> 6.0.2.0/24 172.14.45.6 0 0 65000 65200 i
> *> 6.0.3.0/24 172.14.45.6 0 0 65000 65200 i
>
> Shouldn't all routes have metric 200 since clause 20 has no match?
>
> Here is my logic, correct me if I am wrong:
>
> -statement 10 evaluated
> -prepend of 65200 added to matching routes
> -continue clause causes matching routes to be evaluated again by clause 20
> -no match in clause 20 causes all routes to get metric of 200
>
> For 2nd test, I changed route-map to this, thinking an additional match
> statement was needed:
>
> !
> route-map TEST permit 10
> match ip address prefix-list LOOPS
> continue 30
> set as-path prepend 65200
> !
> route-map TEST permit 20
> set metric 200
> !
> route-map TEST permit 30
> match ip address prefix-list LOOPS
> set metric 300
> !
>
> But again no metric for routes in the LOOPS prefix-list:
>
> R5#show ip bgp | begin Net
> Network Next Hop Metric LocPrf Weight Path
> *> 6.0.0.0/24 172.14.45.6 200 0 65000 i
> *> 6.0.1.0/24 172.14.45.6 200 0 65000 i
> *> 6.0.2.0/24 172.14.45.6 0 0 65000 65200 i
> *> 6.0.3.0/24 172.14.45.6 0 0 65000 65200 i
>
> I made sure to clear bgp after each changed. Even doing a hard bgp reset
> to
> make sure.
>
> Am I missing something?
> Am I misunderstanding the way this is supposed to work?
>
> Here is the reference I am using (I made up my own scenario so not
> following
> their example)
> http://www.cisco.com/en/US/docs/ios/iproute/configuration/guide/irp_bgp_external_sp_ps6350_TSD_Products_Configuration_Guide_C
>
> hapter.html#wp1056446
>
> thank you
>
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Mon Aug 04 2008 - 06:11:54 ART