不同于H3C和cisco,华为的是在vlan下作策略的哦
[Quidway]acl number 2000
[Quidway-acl-basic-2000]rule permit source 192.168.30.0 0.0.0.255
[Quidway-acl-basic-2000]quit
[Quidway]traffic classifier W3
[Quidway-classifier-W3]if-match acl 2000
[Quidway-classifier-W3]quit
[Quidway]traffic behavior W3
[Quidway-behavior-W3]redirect ip-nexthop 2.2.2.1
[Quidway-behavior-W3]quit
[Quidway]traffic policy W3
[Quidway-trafficpolicy-W3]classifier W3 behavior W3
[Quidway-trafficpolicy-W3]quit
[Quidway]vlan 71
[Quidway-Vlan71]traffic-policy W3 inbound
阅读(6735) | 评论(0) | 转发(0) |