ASM入网规范管理系统配置手册
acl number 3040
rule 10 permit ip source any quit
配置匹配ACL的流分类1 traffic classifier 1 if-match acl 3040 quit
配置刚才定义的流分类1的行为,定义如果匹配就下一跳至192.168.100.123 traffic behavior 1
redirect next-hop 192.168.100.123 quit
将刚才设置的流分类及行为应用至traffic-policy策略中,定义policy 1 traffic policy 1
classifier 1 behavior 1 quit
在接口上应用定义的QOS策略policy 1 interface GigabitEthernet 2/0/11 traffic-policy 1 inbound quit
1.2.3.2 traffic-redirect方法配置
建立ACL
acl number 3000
rule 0 permit ip source any quit
在接口应用traffic-redirec interface GigabitEthernet6/1/1
traffic-redirect inbound ip-group 3000 rule 0 next-hop 192.168.100.123 quit
1.2.3.3 route policy方法配置
建立ACL
acl number 3000
rule 0 permit ip source any quit
配置route policy路由图
route-policy policy-route permit node 1 if-match acl 3000
apply ip-address next-hop 192.168.100.123 quit