定时任务策略路由

1、创建时间戳

time-range badian 20:00 to 21:00 daily

2、创建规则并引用时间戳

acl number 3000 
rule 0 permit ip time-range badian

3、创建流分类并引用acl规则

traffic classifier test
if-match acl 3000

4、创建流行为

traffic behavior test
permit
redirect ip-multihop nexthop 192.168.222.33 nexthop 192.168.223.25

5、创建流策略

traffic policy test
classifier test behavior test

6、在端口引用流策略

interface XGigabitEthernet5/0/5
traffic-policy test inbound

7、检查策略

dis traffic-policy applied-record

 




posted @ 2022-09-16 20:21  枫火~  阅读(108)  评论(0)    收藏  举报