MSR系列路由器IP策略路由功能的配置

上传人:大米 文档编号:493935432 上传时间:2023-08-01 格式:DOC 页数:3 大小:116KB
返回 下载 相关 举报
MSR系列路由器IP策略路由功能的配置_第1页
第1页 / 共3页
MSR系列路由器IP策略路由功能的配置_第2页
第2页 / 共3页
MSR系列路由器IP策略路由功能的配置_第3页
第3页 / 共3页
亲,该文档总共3页,全部预览完了,如果喜欢就下载吧!
资源描述

《MSR系列路由器IP策略路由功能的配置》由会员分享,可在线阅读,更多相关《MSR系列路由器IP策略路由功能的配置(3页珍藏版)》请在金锄头文库上搜索。

1、文档供参考,可复制、编制,期待您的好评与关注! MSR系列路由器IP策略路由功能的配置关键字:MSR;策略路由一、组网需求:RTA、RTB、RTC使用OSPF保证全网路由可达,并且在RTA上察看路由表可以发现10.0.0.0/24的下一跳为RTC的G0/0接口地址。在RTA的G0/1接口上应用策略路由,使从10.0.2.0/24到10.0.0.0/24的流量重定向到RTB上。设备清单:MSR系列路由器3台二、组网图:三、配置步骤:设备和版本:MSR系列、Version 5.20, Release 1508P02RTA配置#/定义ACL匹配目的地址是10.0.0.0/24acl number 3

2、000 rule 0 permit ip destination 10.0.0.0 0.0.0.255#/连接RTB的接口interface GigabitEthernet0/0 port link-mode route ip address 1.2.0.1 255.255.255.252#/连接10.0.2.0/24的接口interface GigabitEthernet0/1 port link-mode route ip address 10.0.2.1 255.255.255.0 /将策略路由应用到接口上 ip policy-based-route 2to0#/连接RTC的接口inte

3、rface GigabitEthernet5/0 port link-mode route ip address 3.1.0.1 255.255.255.252#/连接10.0.1.0/24的接口interface GigabitEthernet5/1 port link-mode route ip address 10.0.1.1 255.255.255.0#/OSPF路由协议配置ospf 1 router-id 1.1.1.1 import-route direct area 0.0.0.0 network 1.2.0.0 0.0.0.3 network 3.1.0.0 0.0.0.3#/

4、策略路由配置policy-based-route 2to0 permit node 0 /定义匹配的流量 if-match acl 3000 /修改下一跳地址为RTB的G0/0接口地址 apply ip-address next-hop 1.2.0.2#RTB配置#/连接RTA的接口interface GigabitEthernet0/0 port link-mode route ip address 1.2.0.2 255.255.255.252#/连接RTC的接口interface GigabitEthernet0/1 port link-mode route ip address 2.3

5、.0.1 255.255.255.252#/OSPF配置ospf 1 router-id 2.2.2.2 area 0.0.0.0 network 1.2.0.0 0.0.0.3 network 2.3.0.0 0.0.0.3#RTC配置#/连接RTA的接口interface GigabitEthernet0/0 port link-mode route ip address 3.1.0.2 255.255.255.252#/连接RTB的接口interface GigabitEthernet0/1 port link-mode route ip address 2.3.0.2 255.255.

6、255.252#/连接10.0.0.0/24的接口interface GigabitEthernet1/0 port link-mode route ip address 10.0.0.1 255.255.255.0#/OSPF的配置ospf 1 router-id 3.3.3.3 import-route direct area 0.0.0.0 network 2.3.0.0 0.0.0.3 network 3.1.0.0 0.0.0.3#四、配置关键点:1) 在使用策略路由重定向时,如果出接口是广播类型的,如以太网接口,那么必须apply ip-address next-hop方式,而不能使用apply output-interface的方式。 /

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 医学/心理学 > 基础医学

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号