From: Lab Candidate (labccie@xxxxxxxxx)
Date: Wed Feb 13 2002 - 03:30:29 GMT-3
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 throug
h except list 1
<== and the following 2 route-map clauses will not be e
ffective!!
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:20 GMT-3