From: Xu, James (james.xu@xxxxxxx)
Date: Wed Feb 13 2002 - 15:37:43 GMT-3
   
The answer in the Doyle's book won't work as you specified. Yours will work,
however, I would prefer the following way to configure:
==========================================
router ospf 1
 network 192.168.1.0 0.0.0.255 area 16
 redist eigrp 1 route-map exercise4
access-list 1 perm 10.201.100.0
route-map exercise4 deny 10
 match ip address 1
route-map exercise4 permit 20
 match route-type internal
 set metric 10
 set metric-type type-1
route-map exercise4 permit 30
 match route-type external
 set metric 50
 set metric-type type-2
===================================
James
-----Original Message-----
From: Lab Candidate [mailto:labccie@yahoo.com]
Sent: Wednesday, February 13, 2002 1:30 AM
To: ccielab@groupstudy.com
Subject: Doyle's Redist Question
On Doyle's Volume 1, page 840, Question 4 is asking:
redistribute eigrp 1 into ospf 1, need to config:
1. internal eigrp routes as ospf E1 and metric 10
2. external eigrp routes as ospf E2 and metric 50
3. all routes should be redis'd except 10.201.100.0/24
so I came up with a route-map to accomplish the task as:
router ospf 1
 network 192.168.1.0 0.0.0.255 area 16
 redist eigrp 1 route-map exercise4
access-list 1 deny 10.201.100.0
access-list 1 permit any
route-map exercise4 permit 10
 match ip address 1
 match route-type internal
 set metric 10
 set metric-type type-1
route-map exercise4 permit 20
 match ip address 1
 match route-type external
 set metric 50
 set metric-type type-2
route-map exercise4 permit 30
 match ip address 1
Anyone agree or disagree with me so far?
but Doyle's solution is as follows which I disagree:
router ospf 1
 network 192.168.1.0 0.0.0.255 area 16
 redist eigrp 1 route-map exercise4
access-list 1 deny 10.201.100.0
access-list 1 permit any
route-map exercise4 permit 10
 match ip address 1     <== this first permit clause will let all routes
through except list 1
                        <== and the following 2 route-map clauses will not
be effective!!
route-map exercise4 permit 20
 match route-type internal
 set metric 10
 set metric-type type-1
route-map exercise4 permit 30
 match route-type external
 set metric 50
 set metric-type type-2
I would like to hear your opinions on this.
----
This archive was generated by hypermail 2.1.4 : Thu Jun 20 2002 - 13:46:21 GMT-3