华为策略路由配置实例(4)
发布时间:2021-06-08
发布时间:2021-06-08
[Switch-acl-adv-3002] rule p ermit ip p recede nee 5
[Switch-acl-adv-3002] rule p ermit ip p recede nee 6
[Switch-acl-adv-3002] rule p ermit ip p recede nee 7
[Switch-acl-adv-3002] quit
3.3、配置流分类
在Switch上创建流分类c1、c2,匹配规则分别为ACL 3001和ACL 3002 。
[Switch] traffic classifier c1 operator and
[Switch-classifier-c1] if-match acl 3001
[Switch-classifier-c1] quit
[Switch] traffic classifier c2 operator and
[Switch-classifier-c2] if-match acl 3002
[Switch-classifier-c2] quit
3.4、配置流行为#在Switch上创建流行为b1、b2,并分别指定重定向到网段10.1.20.1/24和10.1.30.1/24 的动作。
[Switch] traffic behavior b1 [Switch-behavior-b1] redirect ip-n exth op 10.1.20.1
[Switch] traffic behavior b2 [Switch-behavior-b2] redirect ip-n exth op 10.1.30.1
[Switch-behavior-b1] quit
上一篇:上下肢神经