Got it

Policy routing for external HTTP Caching server

Created: Nov 23, 2020 15:31:41Latest reply: Nov 24, 2020 05:54:51 298 4 1 0 1
  Rewarded HiCoins: 0 (problem resolved)

Hello,

We need some help for our setup.

We have HTTP cache server and we would like to route port www to the cache server (squid proxy) 192.168.11.6 as next hop. 

When we are trying to use the PBR we are unable to access the cache server.


acl number 3001

 rule 1 permit tcp source 10.1.192.0 0.0.31.255 destination-port eq www

#

traffic classifier www operator or

 if-match acl 3001

#

traffic behavior www

 redirect ip-nexthop 192.168.11.6

#

traffic policy pbr

 classifier www behavior www

--------------------------------------------------------------------------------

interface XGigabitEthernet0/0/3

 description **10G LINK to SUNSHINE OLT**

 port link-type trunk

 undo port trunk allow-pass vlan 1

 port trunk allow-pass vlan 1012 3081 to 3083

 traffic-policy pbr inbound


Is there any rule that we are missing? Please help.

Attachment: You need to log in to download or view. No account? Register

Featured Answers

Recommended answer

Popeye_Wang
Admin Created Nov 24, 2020 02:38:10

Hi,
The interface XG0/0/3 is a lay-2 interface. The switch does not check the Layer 3 IP address during Layer 2 forwarding. Therefore, PBR does not take effect.
Kindly refer to the example:
https://support.huawei.com/hedex/hdx.do?docid=EDOC1100126530&lang=en&id=EN-US_TASK_0177106110
View more
  • x
  • convention:

Kemaine
Kemaine Created Nov 25, 2020 08:54:55 (0) (0)
Hi,
Upon checking. Our switch S5720-28X-SI cannot work at same time with layer 2 and layer 3 PBR. Please advise if this is correct.

If above is correct, could you please recommend a switch model that can work layer 2 and layer 3 PBR at the same time.

Thank you very much.  
All Answers
Thanks for contacting us,

We are checking your question and will provide an answer to you shortly
View more
  • x
  • convention:

Hi,
The interface XG0/0/3 is a lay-2 interface. The switch does not check the Layer 3 IP address during Layer 2 forwarding. Therefore, PBR does not take effect.
Kindly refer to the example:
https://support.huawei.com/hedex/hdx.do?docid=EDOC1100126530&lang=en&id=EN-US_TASK_0177106110
View more
  • x
  • convention:

Kemaine
Kemaine Created Nov 25, 2020 08:54:55 (0) (0)
Hi,
Upon checking. Our switch S5720-28X-SI cannot work at same time with layer 2 and layer 3 PBR. Please advise if this is correct.

If above is correct, could you please recommend a switch model that can work layer 2 and layer 3 PBR at the same time.

Thank you very much.  
@Popeye_Wang, Thank you very much for the feedback. We will check the example and apply to our network and let you know.
View more
  • x
  • convention:

Comment

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

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 " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

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.
Reminder
Please bind your phone number to obtain invitation bonus.