---NQA---
[RouterA] nqa test-instance admin NQA
[RouterA-nqa-admin-vlan10] test-type icmp
[RouterA-nqa-admin-vlan10] destination-address ipv4 对方地址
[RouterA-nqa-admin-vlan10] frequency 10
[RouterA-nqa-admin-vlan10] probe-count 2
[RouterA-nqa-admin-vlan10] start now
[RouterA-nqa-admin-vlan10] quit
---匹配IP---
[RouterA] acl number 2000
[RouterA-acl-basic-2000] rule 10 permit source 10.7.135.10
[RouterA-acl-basic-2000] rule 20 permit source 10.7.135.20
[RouterA-acl-basic-2000] quit
---流分类---
[RouterA] traffic classifier FENLEI
[RouterA-classifier-vlan10] if-match acl 2000
[RouterA-classifier-vlan10] quit
----流行为---
[RouterA] traffic behavior XINGWEI
[RouterA-behavior-vlan10] redirect ip-nexthop 对方地址 track nqa admin NQA
[RouterA-behavior-vlan10] quit
--定义流策略--
[RouterA] traffic policy LIUCELUE
[RouterA-trafficpolicy-vlan10] classifier FENLEI behavior XINGWEI
[RouterA-trafficpolicy-vlan10] quit
---接口调用--
[RouterA] interface gigabitethernet 1/0/0
[RouterA-GigabitEthernet1/0/0] traffic-policy LIUCELUE inbound
[RouterA-GigabitEthernet1/0/0] quit