DCRS-7500策略路由配置
更新时间:2024-03-16 10:36:01 阅读量: 综合文库 文档下载
- dcrs-7508推荐度:
- 相关推荐
在DCRS-7500交换机多出口策略路由配置步骤
在多出口的环境中,为了充分利用多线路资源,可以在DCRS7500交换机上配置PBR即策略路由功能来实现此需求.注意:不建议在DCRS7500交换机上同时使用NAT和策略路由,除对交换机性能影响很大原因外,在功能实现上也会出现一些问题.
第一步: 指定应用策略的数据流(可以基于源或同时基于源和目的).可以通过访问控制列表(access-list来完成);
DCRS-7504(config)# ip access-list standard xuesheng DCRS-7504(config-acl)#permit 192.168.3.0 0.0.0.255 DCRS-7504(config)#ip access-list extended xsjy
DCRS-7504(config-acl)#permit ip 192.168.3.0 0.0.0.255 10.0.0.0
第二步: 创建路由策略.可以通过在DCRS-7504(config)#模式使用route-map命令,并可以使用顺序号来决定执行策略的先后顺序.例如:
DCRS-7504(config)#route-map kkk permit 10 DCRS-7504(config-map)#match ip address xsjy DCRS-7504(config-map)#set ip next-hop 192.168.4.2
DCRS-7504(config)#route-map kkk permit 20
DCRS-7504(config-map)#match ip address xuesheng
DCRS-7504(config-map)#set ip next-hop 192.168.5.2
第三步: 将创建好的策略应用到接近源的接口.例如: DCRS-7504(config)#interface ve 3
DCRS-7504(config-if)#ip address 192.168.3.1 255.255.255.0
DCRS-7504(config-if)#ip policy route-map kkk
以下是一个配置实例,供参考: Current configuration: !
ver 07.6.01aT53 !
module 1 fi-4-port-gig-management-modul module 3 fi-24-port-copper-module !
global-protocol-vlan ! !
vlan 1 name DEFAULT-VLAN by port !
vlan 2 by port
untagged ethe 3/1 to 3/2 router-interface ve 2
!
vlan 3 by port
untagged ethe 3/3 to 3/4 router-interface ve 3 !
vlan 4 by port
untagged ethe 3/5 to 3/6 router-interface ve 4 !
vlan 5 by port
untagged ethe 3/9 to 3/10 router-interface ve 5 !
vlan 6 by port
untagged ethe 3/11 to 3/12 router-interface ve 6 ! !
ip route 0.0.0.0 0.0.0.0 192.168.5.2 ! !
interface ve 2
ip address 192.168.2.1 255.255.255.0 ip policy route-map kkk !
interface ve 3
ip address 192.168.3.1 255.255.255.0 ip policy route-map lll !
interface ve 4
ip address 192.168.4.1 255.255.255.0 !
interface ve 5
ip address 192.168.5.1 255.255.255.0 !
interface ve 6
ip address 192.168.6.1 255.255.255.0 ! !
ip access-list standard jiaoshi permit 192.168.3.0 0.0.0.255 !
ip access-list standard xuesheng permit 192.168.2.0 0.0.0.255
!
ip access-list extended jsjy
permit ip 192.168.3.0 0.0.0.255 10.0.0.0 !
ip access-list extended xsjy
permit ip 192.168.2.0 0.0.0.255 10.0.0.0 !
route-map kkk permit 10 match ip address xsjy set ip next-hop 192.168.4.2 route-map kkk permit 20 match ip address xuesheng set ip next-hop 192.168.5.2 !
route-map lll permit 10 match ip address jsjy set ip next-hop 192.168.4.2 route-map lll permit 20 match ip address jiaoshi set ip next-hop 192.168.6.2 ! end
正在阅读:
DCRS-7500策略路由配置03-16
2021年乡镇上半年招商发展工作总结及下半年工作打算08-02
金属磷化处理方面的知识06-05
消毒餐具协议书03-05
成长的伙伴作文600字07-05
二年级数学《数据的收集整理》练习题(3)12-17
商务谈判作业12-08
山东省建设工程评标专家招投标法规知识水平考试题库(多选题带答案)11-15
装载机规范管理制度05-03
- 多层物业服务方案
- (审判实务)习惯法与少数民族地区民间纠纷解决问题(孙 潋)
- 人教版新课标六年级下册语文全册教案
- 词语打卡
- photoshop实习报告
- 钢结构设计原理综合测试2
- 2014年期末练习题
- 高中数学中的逆向思维解题方法探讨
- 名师原创 全国通用2014-2015学年高二寒假作业 政治(一)Word版
- 北航《建筑结构检测鉴定与加固》在线作业三
- XX县卫生监督所工程建设项目可行性研究报告
- 小学四年级观察作文经典评语
- 浅谈110KV变电站电气一次设计-程泉焱(1)
- 安全员考试题库
- 国家电网公司变电运维管理规定(试行)
- 义务教育课程标准稿征求意见提纲
- 教学秘书面试技巧
- 钢结构工程施工组织设计
- 水利工程概论论文
- 09届九年级数学第四次模拟试卷
- 路由
- 策略
- 配置
- DCRS
- 7500
- 湘教版六年级音乐下册教案
- 机床主轴箱设计
- 数字电路实验报告
- 产业经济学试题答案2
- 古代名人咏光山诗词
- 成本会计习题
- 现代物流配送-麦当劳第三方物流案例分析
- 2014年度宁波市科学技术进步奖拟奖项目 - 图文
- 巴音郭楞蒙古自治州机关事业单位工作人员 退休提前退休、
- HRVS-DN 使用说明书 - 图文
- 苏教版一年级下数学第三周练习题
- 2019年整理--新团员入团宣誓暨总结表彰大会发言稿 - 0
- 汽车NVH控制技术国际研讨会通讯录
- 用贴片LED制作的旋转屏数字钟(有图精华版)
- 中外基础设施投融资体制改革比较研究
- 2011《工伤保险条例解读》(视频+讲义)人力资源和社会保障部余
- 2011山东重点推介项目目录
- 福建省八县一中2015-2016学年高二上学期期末考试英语试题 Word版
- 从自然辩证法角度浅谈绿色建筑
- 监理工程师必修课考题及答案(71分)