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