redirect the traffic received on internet-port inbound from MPLS to Huawei L3
[Problem Analysis]
answer for customer
[Root Cause]
answer for PBR policy
[Solution Description]
1、define traffic classifier the name is A1
[Switch] traffic classifier A1
[
Switch-classifier-c1] if-match any (any is match all packets, you can define ACL to match the packets that you want )
[SwitchA-classifier-c1] quit
2、Configure a traffic behavior to redirect matching traffic to the firewall (next hop address 172.29.145.185).
[Switch] traffic behavior A1
[Switch-behavior-b1] redirect ip-nexthop 172.29.145.185
[Switch-behavior-b1] quit
3、Configure a traffic policy
[Switch] traffic policy p1
[
Switch-trafficpolicy-p1] classifier A1 behavior A1
[
Switch-trafficpolicy-p1] quit
4、Apply the traffic policy to INTER-inbound
on Switch in the inbound direction.
[Switch]interface inter-inbound
[Switch-[Internet inbound] traffic-policy p1 inbound
[Switch-GigabitEthernet0/0/1] quit
[Switch] quit