华为策略路由配置
华为策略路由配置步骤:
(1)配置ACL
[quidway]acl number 3999
[quidway-acl-adv-3999]rule 5 permit ip destination 200.0.0.0 0.255.255.255
(2)创建流分类
traffic classifier chenfei_p1
if-match acl 3999
(3) 创建流行为
traffic behavior chenfei_b1
redirect ip next-hop 200.2.0.2
(4)创建流策略
traffic policy chenfei_p1
classifier chenfei_p1 behavior chenfei_b1
(5)接口应用流策略
interface xg2/0/4
traffic-policy chenfei_p1 inbound