Handling HTTP Request

Created: Jun 25, 2019 02:18:34Latest reply: Jun 26, 2019 15:01:33 112 5 0 0
  Rewarded Hi-coins: 0 (problem resolved)

Hi,

I was new to huawei devices. my requirement is to forward 80 traffic to an cache box

but i won't find any port fordwaring rules please help me to find that

Thanks,

Tamil

  • x
  • convention:

Featured Answers
Moderator Created Jun 25, 2019 08:54:53 Helpful(0) Helpful(0)

Hi, stamil,
You mean you need to import HTTP traffic to cachebox?
Maybe you can use the Advanced ACL+Policy-based routing,
Eg:
acl 3000
rule permit tcp source-port eq 80
#
traffic classifier c1 operator or
if-match acl 3000
#
traffic behavior b1
redirect ip-nexthop 10.0.0.1(ip address of cachebox)
#
traffic policy p1 match-order config
classifier c1 behavior b1
interface GigabitEthernet0/0/0
traffic-policy p1 inbound



  • x
  • convention:

All Answers
Popeye_Wang Moderator Created Jun 25, 2019 08:54:53 Helpful(0) Helpful(0)

Hi, stamil,
You mean you need to import HTTP traffic to cachebox?
Maybe you can use the Advanced ACL+Policy-based routing,
Eg:
acl 3000
rule permit tcp source-port eq 80
#
traffic classifier c1 operator or
if-match acl 3000
#
traffic behavior b1
redirect ip-nexthop 10.0.0.1(ip address of cachebox)
#
traffic policy p1 match-order config
classifier c1 behavior b1
interface GigabitEthernet0/0/0
traffic-policy p1 inbound



  • x
  • convention:

ogh Created Jun 25, 2019 10:37:13 Helpful(0) Helpful(0)

On the first answer, just, add a line inside acl 3000:

rule permit tcp any destination-port 80

Apply the traffic policy on inbound direction on all the interfaces related to traffic
  • x
  • convention:

stamil Created Jun 25, 2019 13:27:59 Helpful(0) Helpful(0)

Thanks for your reply @Popeye_Wang @ogh

That's what I looking for. Can you please help me to check destination IP with the destination port in ACL
  • x
  • convention:

ogh Created Jun 27, 2019 02:04:48
Destination IP with destination port?? Do that plus matching http traffic???  
Popeye_Wang Moderator Created Jun 26, 2019 15:01:33 Helpful(0) Helpful(0)

Posted by stamil at 2019-06-25 13:27 Thanks for your reply @Popeye_Wang @ogh That's what I looking for. Can you please help me to check ...
You can send another post to describe your problem in detail. We will reply immediately after we see it.
  • x
  • convention:

Reply

Reply
You need to log in to reply to the post Login | Register

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!

Login and enjoy all the member benefits

Login
Fast reply Scroll to top