1, Route-map analysis
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/77/08/wKiom1ZhQuGjtYwqAAH1CqZt460275.png "style=" float: none; "title=" Rm1.png "alt=" Wkiom1zhqugjtywqaah1cqzt460275.png "/>
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/77/08/wKiom1ZhQuPgUiD1AAGdeREDtzw651.png "style=" float: none; "title=" Rm2.png "alt=" Wkiom1zhqupguid1aagderedtzw651.png "/>
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/77/06/wKioL1ZhQ1CSKO7DAAGuVLSTzMg593.png "style=" float: none; "title=" Rm3.png "alt=" Wkiol1zhq1csko7daaguvlstzmg593.png "/>
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/77/08/wKiom1ZhQurjWcpxAAIjRoUI6e8384.png "style=" float: none; "title=" Rm4.png "alt=" Wkiom1zhqurjwcpxaaijroui6e8384.png "/>
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/77/07/wKioL1ZhQ1ihHr4rAAJpIeTXQ1g934.png "style=" float: none; "title=" Rm5.png "alt=" Wkiol1zhq1ihhr4raajpietxq1g934.png "/>
2. Experimental topology
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/77/05/wKioL1ZhMEfRZOOAAABKhJ9TWLA136.png "title=" Re3.png "alt=" Wkiol1zhmefrzooaaabkhj9twla136.png "/>
3. Experiment Configuration
R1 Configuration
Interface serial0/0
IP address 12.1.1.1 255.255.255.0
Interface SERIAL0/1
IP address 13.1.1.1 255.255.255.0
Interface SERIAL0/2
IP address 14.1.1.1 255.255.255.0
Router EIGRP 90
Redistribute OSPF metric 1500 100 255 1 1500
Network 14.1.1.0 0.0.0.255
No auto-summary
router OSPF 110
Router-id 1.1.1.1
Log-adjacency-changes
Redistribute RIP subnets
Network 13.1.1.0 0.0.0.255 Area 0
Router RIP
Version 2
Network 12.0.0.0
No auto-summary
R2 Configuration
Interface Loopback0
IP address 2.2.2.2 255.255.255.0
Interface Loopback22
IP address 22.22.22.22 255.255.255.0
Interface Loopback222
IP address 222.222.222.222 255.255.255.0
Interface serial0/0
IP address 12.1.1.2 255.255.255.0
Router RIP
Version 2
Network 2.0.0.0
Network 22.0.0.0
Network 222.222.222.0
Network 12.0.0.0
No auto-summary
R3 Configuration
Interface Loopback0
IP address 3.3.3.3 255.255.255.0
Interface serial0/0
IP address 13.1.1.3 255.255.255.0
router OSPF 110
Router-id 3.3.3.3
Log-adjacency-changes
Network 3.3.3.0 0.0.0.255 Area 0
Network 13.1.1.0 0.0.0.255 Area 0
R4 Configuration
Interface Loopback0
IP address 4.4.4.4 255.255.255.0
Interface serial0/0
IP address 14.1.1.4 255.255.255.0
Router EIGRP 90
Network 4.4.4.0 0.0.0.255
Network 14.1.1.0 0.0.0.255
No auto-summary
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/77/07/wKioL1ZhRI_R12ZvAABPaPf6XsQ935.png "title=" Rm6.png "alt=" Wkiol1zhri_r12zvaabpapf6xsq935.png "/>
At this point R3 learned 4 external routes, we would like to make the following changes.
222.222.222.0/24 modified to E1
2.2.2.0/24 Modifying the default Seed metrics to 10
22.22.22.0/24 deny off, permit any
R1 Configuration
IP prefix-list 222 SEQ 5 Permit 222.222.222.0/24
Access-list 2 Permit 2.2.2.0 0.0.0.255
Access-list Permit 22.22.22.0 0.0.0.255
Route-map RM Permit 10
Match IP Address prefix-list 222
Set Metric-type type-1
Route-map RM Permit 20
Match IP Address 2
Set Metric 10
Route-map RM deny 30
Match IP Address 22
Route-map RM Permit 40
router OSPF 110
Redistribute RIP subnets Route-map RM
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/77/08/wKiom1ZhRheCJwEfAABIDOOfWmE554.png "title=" Rm7.png "alt=" Wkiom1zhrhecjwefaabidoofwme554.png "/>
You can see that the results are consistent with our needs.
This article is from the "Open Source Hall" blog, please be sure to keep this source http://kaiyuandiantang.blog.51cto.com/10699754/1719611
36. The route-map of the Redistribution configuration experiment