策略路由(H3C&华为)

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

1.1.1H3C交换机配置1.2.2.1policy-based-route方法配置建立ACLaclnumber3040rule0permitipsourceanyquit配置policy-based-route路由图policy-based-routepolicy-routepermitnode10if-matchacl3040applyip-addressnext-hop192.168.100.123quit在接口应用policy-based-routeinterfaceEthernet0/3.40ippolicy-based-routepolicy-routequit1.2.2.2qospolicy方法配置配置ACL策略[H3C7506E]aclnumber3040[H3C7506E-acl-adv-3040]rule10permitipsourceany[H3C7506E-acl-adv-3040]quit配置匹配ACL的流分类1[H3C7506E]trafficclassifier1[H3C7506E-classifier-1]if-matchacl3040[H3C7506E-classifier-1]quit配置刚才定义的流分类1的行为,定义如果匹配就下一跳至192.168.100.123[H3C7506E]trafficbehavior1[H3C7506E-behavior-1]redirectnext-hop192.168.100.123[H3C7506E-behavior-1]quit将刚才设置的流分类及行为应用至QOS策略中,定义policy1[H3C7506E]qospolicy1[H3C7506E-qospolicy-1]classifier1[H3C7506E-qospolicy-1]behavior1\\合并[H3C7506E-qospolicy-1]quit在接口上应用定义的QOS策略policy1[H3C7506E]interfaceGigabitEthernet2/0/11[H3C7506E-GigabitEthernet2/0/11]qosapplypolicy1inbound[H3C7506E-GigabitEthernet2/0/11]quit1.2.2.3routepolicy方法配置建立ACLaclnumber3000rule0permitipsourceanyquit配置routepolicy路由图route-policypolicy-routepermitnode1if-matchacl3000applyip-addressnext-hop192.168.100.123quit在接口应用routepolicyinterfaceEthernet1/0ippolicyroute-policypolicy-routequit1.2.2.4traffic-redirect方法配置建立ACLaclnumber3000rule0permitipsourceanyquit在接口应用traffic-redirecinterfaceGigabitEthernet6/1/1traffic-redirectinboundip-group3000rule0next-hop192.168.100.123quit1.1.2华为交换机配置1.2.3.1traffic-policy方法配置(龙华核心)配置ACL策略aclnumber3040rule10permitipsourceanyquit配置匹配ACL的流分类1trafficclassifier1if-matchacl3040quit配置刚才定义的流分类1的行为,定义如果匹配就下一跳至192.168.100.123trafficbehavior1redirectnext-hop192.168.100.123quit将刚才设置的流分类及行为应用至traffic-policy策略中,定义policy1trafficpolicy1classifier1behavior1quit在接口上应用定义的QOS策略policy1interfaceGigabitEthernet2/0/11traffic-policy1inboundquit1.2.3.2traffic-redirect方法配置建立ACLaclnumber3000rule0permitipsourceanyquit在接口应用traffic-redirecinterfaceGigabitEthernet6/1/1traffic-redirectinboundip-group3000rule0next-hop192.168.100.123quit1.2.3.3routepolicy方法配置建立ACLaclnumber3000rule0permitipsourceanyquit配置routepolicy路由图route-policypolicy-routepermitnode1if-matchacl3000applyip-addressnext-hop192.168.100.123quit在接口应用routepolicyinterfaceEthernet1/0ippolicyroute-policypolicy-routequit

1 / 3
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功