How to pass udp traffic on S series switches

Created: Jun 20, 2019 07:34:07Latest reply: Jun 20, 2019 07:34:35 92 1 0 0
  Rewarded Hi-coins: 0 (problem resolved)

How to pass udp traffic on S series switches

  • x
  • convention:

Featured Answers
All_About_Switch
Official Created Jun 20, 2019 07:34:35 Helpful(0) Helpful(0)

In the inbound direction on interface GE0/0/1, to filter packets with source UDP port number 128 from 10.9.8.0 to 10.38.160.0, you can use the following configuration:
[HUAWEI] acl 3001
[HUAWEI-acl-adv-3001] rule permit udp source 10.9.8.0 0.0.0.255 destination 10.38.160.0 0.0.0.255 destination-port eq 128 //Configure ACL 3001 and add a rule to ACL 3001 to filter the packets with source UDP port number 128 from 10.9.8.0 to 10.38.160.0.
[HUAWEI] quit
[HUAWEI] traffic classifier c1
[HUAWEI-classifier-c1] if-match acl 3001 //Configure a matching rule based on ACL 3001 in the traffic classifier c1.
[HUAWEI] quit
[HUAWEI] traffic behavior b1
[HUAWEI-behavior-b1] deny //Configure a traffic behavior to prevent the packets matching the traffic policy to pass through
[HUAWEI] quit
[HUAWEI] traffic policy p1
[HUAWEI-trafficpolicy-p1] classifier c1 behavior b1
[HUAWEI-trafficpolicy-p1] quit
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] traffic-policy p1 inbound
[HUAWEI-GigabitEthernet0/0/1] quit
  • x
  • convention:

All Answers
All_About_Switch
All_About_Switch Official Created Jun 20, 2019 07:34:35 Helpful(0) Helpful(0)

In the inbound direction on interface GE0/0/1, to filter packets with source UDP port number 128 from 10.9.8.0 to 10.38.160.0, you can use the following configuration:
[HUAWEI] acl 3001
[HUAWEI-acl-adv-3001] rule permit udp source 10.9.8.0 0.0.0.255 destination 10.38.160.0 0.0.0.255 destination-port eq 128 //Configure ACL 3001 and add a rule to ACL 3001 to filter the packets with source UDP port number 128 from 10.9.8.0 to 10.38.160.0.
[HUAWEI] quit
[HUAWEI] traffic classifier c1
[HUAWEI-classifier-c1] if-match acl 3001 //Configure a matching rule based on ACL 3001 in the traffic classifier c1.
[HUAWEI] quit
[HUAWEI] traffic behavior b1
[HUAWEI-behavior-b1] deny //Configure a traffic behavior to prevent the packets matching the traffic policy to pass through
[HUAWEI] quit
[HUAWEI] traffic policy p1
[HUAWEI-trafficpolicy-p1] classifier c1 behavior b1
[HUAWEI-trafficpolicy-p1] quit
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] traffic-policy p1 inbound
[HUAWEI-GigabitEthernet0/0/1] quit
  • x
  • convention:

Comment

Reply
You need to log in to reply 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!
Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login