CCIE SP WB LAB 3 - Task 4.4 Solution

Hello,

the question #4.4 of  is relatd to change path explicity only for vrf ONE oprating only on R4. But the solution provided change the metric for ALL vrfs.

 

Instead I used match of RT to change path selectively for RT of vrf ONE. Correct ?

 

route-map SET-METRIC-ONE permit 10

 match extcommunity 1

 set as-path prepend 248

route-map SET-METRIC-ONE permit 20

!

route-map FROM-AS3719 permit 10

 match extcommunity 1

 set local-preference 90

!

ip extcommunity-list 1 permit rt 34.0.0.3:1

ip extcommunity-list 1 permit rt 46.0.0.4:1

ip extcommunity-list 1 permit rt 34.0.0.7:1

ip extcommunity-list 1 permit rt 46.0.0.8:1

!




R4#sh ip bgp vpnv4 all

BGP table version is 8, local router ID is 46.0.0.4

Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,

              r RIB-failure, S Stale, m multipath, b backup-path, x best-external

Origin codes: i - IGP, e - EGP, ? - incomplete


   Network          Next Hop            Metric LocPrf Weight Path

Route Distinguisher: 34.0.0.3:1

*>i10.0.0.3/32      46.0.0.2                 0    100      0 3719 i

*                   169.254.34.3             0     90      0 3719 i

Route Distinguisher: 34.0.0.7:1

*>i10.0.0.7/32      46.0.0.2                 0    100      0 3719 i

*                   169.254.34.3                   90      0 3719 i

Route Distinguisher: 46.0.0.4:1 (default for vrf ONE)

*>i10.0.0.3/32      46.0.0.2                 0    100      0 3719 i

*> 10.0.0.4/32      0.0.0.0                  0         32768 i

*>i10.0.0.7/32      46.0.0.2                 0    100      0 3719 i

*>i10.0.0.8/32      46.0.0.8                 0    100      0 i

Route Distinguisher: 46.0.0.8:1

*>i10.0.0.8/32      46.0.0.8                 0    100      0 i

R4#





R3#sh bgp vpnv4 unicast all

BGP table version is 45, local router ID is 34.0.0.3

Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,

              r RIB-failure, S Stale, m multipath, b backup-path, x best-external

Origin codes: i - IGP, e - EGP, ? - incomplete


   Network          Next Hop            Metric LocPrf Weight Path

Route Distinguisher: 34.0.0.3:1 (default for vrf ONE)

*> 10.0.0.3/32      0.0.0.0                  0         32768 i

*>i10.0.0.4/32      34.0.0.19                     100      0 248 i

*>i10.0.0.7/32      34.0.0.7                 0    100      0 i

*>i10.0.0.8/32      34.0.0.19                     100      0 248 i

Route Distinguisher: 34.0.0.7:1

*>i10.0.0.7/32      34.0.0.7                 0    100      0 i

Route Distinguisher: 46.0.0.4:1

*>i10.0.0.4/32      34.0.0.19                     100      0 248 i

*                   169.254.34.4             0             0 248 248 i

Route Distinguisher: 46.0.0.8:1

*  10.0.0.8/32      169.254.34.4                           0 248 248 i

*>i                 34.0.0.19                     100      0 248 i


Isacco

Sign In or Register to comment.