Got it

Redirection traffic does not take effect

Created: Apr 27, 2020 07:05:00Latest reply: Apr 27, 2020 14:47:10 46 2 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hello all,

We have configured a traffic policy on the SW2 to redirect packets with the source IP address 172.16.0.2 to the next-hop address 192.168.0.20.  However, no packet is received by the next hop device.


9


Here is the configuration. 

#

acl number 3100

 rule 1 permit ip source 172.16.0.2 0

#

 traffic classifier c1 

 if-match acl 3100

#

traffic classifier c2

 if match vlan-id 10

#

traffic behavior b1

 redirect ip-nexthop 192.168.0.20

#

traffic behavior b2

 redirect ip-nexthop 192.168.0.30

#

traffic policy p1 

 classifier c1 behavior b1

 classifier c2 behavior b2

#

vlan 10

 traffic-policy p1 inbound

#

  • x
  • convention:

Featured Answers
Admin Created Apr 27, 2020 07:05:45 Helpful(0) Helpful(0)

Hello,

In your case, classifier c1 defines a Layer 3 rule, classifier c2 defines a Layer 2 rule. The matching order of traffic policy rules is auto. In auto mode, the traffic classifier and behavior matching Layer 2 rule take effect first.

You need to run the traffic policy p1 match-order config command to change the classifier matching order to config.

Fefer to: https://support.huawei.com/hedex/hdx.do?docid=EDOC1100101074&id=EN-US_CLIREF_0177118256&lang=en

I hope this helps.

View more
  • x
  • convention:

All Answers
Popeye_Wang Admin Created Apr 27, 2020 07:05:45 Helpful(0) Helpful(0)

Hello,

In your case, classifier c1 defines a Layer 3 rule, classifier c2 defines a Layer 2 rule. The matching order of traffic policy rules is auto. In auto mode, the traffic classifier and behavior matching Layer 2 rule take effect first.

You need to run the traffic policy p1 match-order config command to change the classifier matching order to config.

Fefer to: https://support.huawei.com/hedex/hdx.do?docid=EDOC1100101074&id=EN-US_CLIREF_0177118256&lang=en

I hope this helps.

View more
  • x
  • convention:

ViktorJr Created Apr 27, 2020 14:47:10 Helpful(0) Helpful(0)

Can you upload your eNSP project?
View more
  • x
  • convention:

Comment

Comment
You need to log in to comment to the post Login | Register

Notice Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!

My Followers

Login and enjoy all the member benefits

Login

Huawei Enterprise Support Community
Huawei Enterprise Support Community
Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.