ASM入网规范管理系统配置手册
match ip address policy-route-acl set ip next-hop 192.168.100.123 exit
在接口上应用route-map interface vlan 54
ip policy route-map policy-route exit
1.2.2 H3C交换机配置
1.2.2.1 policy-based-route方法配置
建立ACL
acl number 3040
rule 0 permit ip source any quit
配置policy-based-route路由图
policy-based-route policy-route permit node 10 if-match acl 3040
apply ip-address next-hop 192.168.100.123 quit
在接口应用policy-based-route interface Ethernet0/3.40
ip policy-based-route policy-route quit
1.2.2.2 qos policy方法配置
配置ACL策略
[H3C7506E]acl number 3040
[H3C7506E-acl-adv-3040] rule 10 permit ip source any [H3C7506E-acl-adv-3040]quit 配置匹配ACL的流分类1 [H3C7506E] traffic classifier 1
[H3C7506E-classifier-1] if-match acl 3040 [H3C7506E-classifier-1] quit
配置刚才定义的流分类1的行为,定义如果匹配就下一跳至192.168.100.123 [H3C7506E] traffic behavior 1
[H3C7506E-behavior-1] redirect next-hop 192.168.100.123 [H3C7506E-behavior-1] quit
将刚才设置的流分类及行为应用至QOS策略中,定义policy 1 [H3C7506E] qos policy 1