欢迎来到天天文库
浏览记录
ID:41392375
大小:29.73 KB
页数:3页
时间:2019-08-24
《策略路由(H3C&华为)》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、H3C交换机配置policy-based-route方法配置建立ACLaclnumber3040rule0permitipsourceanyquit配置policy-based-route路由图policy-based-routepolicy-routepermitnode10if-matchacl3040applyip-addressnext-hop192.168.100.123quit在接口应用policy-based-routeinterfaceEthernet0/3.40ippolicy-based-routepolicy-routequi
2、tqospolicy方法配置配置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]traf
3、ficbehavior1[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]interfaceGigab
4、itEthernet2/0/11[H3C7506E-GigabitEthernet2/0/11]qosapplypolicy1inbound[H3C7506E-GigabitEthernet2/0/11]quitroutepolicy方法配置建立ACLaclnumber3000rule0permitipsourceanyquit配置routepolicy路由图route-policypolicy-routepermitnode1if-matchacl3000applyip-addressnext-hop192.168.100.123quit在接口应
5、用routepolicyinterfaceEthernet1/0ippolicyroute-policypolicy-routequittraffic-redirect方法配置建立ACLaclnumber3000rule0permitipsourceanyquit在接口应用traffic-redirecinterfaceGigabitEthernet6/1/1traffic-redirectinboundip-group3000rule0next-hop192.168.100.123quit华为交换机配置1.2.3.1traffic-policy方
6、法配置(龙华核心)配置ACL策略aclnumber3040rule10permitipsourceanyquit配置匹配ACL的流分类1trafficclassifier1if-matchacl3040quit配置刚才定义的流分类1的行为,定义如果匹配就下一跳至192.168.100.123trafficbehavior1redirectnext-hop192.168.100.123quit将刚才设置的流分类及行为应用至traffic-policy策略中,定义policy1trafficpolicy1classifier1behavior1quit
7、在接口上应用定义的QOS策略policy1interfaceGigabitEthernet2/0/11traffic-policy1inboundquit1.2.3.2traffic-redirect方法配置建立ACLaclnumber3000rule0permitipsourceanyquit在接口应用traffic-redirecinterfaceGigabitEthernet6/1/1traffic-redirectinboundip-group3000rule0next-hop192.168.100.123quit1.2.3.3routep
8、olicy方法配置建立ACLaclnumber3000rule0permitipsourceanyquit配置routep
此文档下载收益归作者所有