Meanings of the inbound and outbound parameters in the command used to apply a traffic policy on S series switches

6

For S series switches (except the S1700), if the inbound parameter in the command used to apply a traffic policy is specified, the traffic policy is applied to the inbound direction. If the outbound parameter is specified, the traffic policy is applied to the outbound direction.
For example, if a traffic policy is applied to the inbound direction of an interface, the traffic policy takes effect for traffic received by the interface from the remote device. If a traffic policy is applied to the outbound direction of an interface, the traffic policy takes effect for traffic sent from the interface to the remote device.

Other related questions:
Why does an inbound traffic policy fail to filter traffic or limit the rate of inbound packets on an S series modular switch
For S series modular switches, a traffic policy fails to filter traffic or limit the rate of packets for users matching DHCP snooping binding tables. You can run the following commands to check whether static or dynamic binding entries exist: - Run thedisplay dhcp { snooping | static } user-bind { interface interface-type interface-number | ip-address ip-address | mac-address mac-address | vlan vlan-id } * [ verbose ] command to check static or dynamic DHCP snooping binding entries on an interface. - Run the display dhcp { snooping | static } user-bind all [ verbose ] command to check static or dynamic DHCP snooping binding entries on all interfaces.

How to delete an applied traffic policy on an S series switch
For S series switches (except the S1700), a traffic policy that is not applied can be deleted directly. To delete a traffic policy that has been applied, unbind the traffic policy and then delete it. Example 1: The traffic policy p1 has been applied in the inbound direction of GE1/0/1. Run the following commands to delete the traffic policy p1: [HUAWEI] interface GigabitEthernet 1/0/1 [HUAWEI-GigabitEthernet1/0/1] undo traffic-policy p1 inbound [HUAWEI-GigabitEthernet1/0/1] quit [HUAWEI] undo traffic policy p1 Example 2: The traffic policy p2 has been applied in the inbound direction of VLAN 100. Run the following commands to delete the traffic policy p2: [HUAWEI] vlan 100 [HUAWEI-vlan100] undo traffic-policy p2 inbound [HUAWEI-vlan100] quit [HUAWEI] undo traffic policy p2 Example 3: The traffic policy p3 has been applied in the inbound direction of the card in slot 6. Run the following commands to delete the traffic policy p3: [HUAWEI] undo traffic-policy p3 global inbound slot 6 [HUAWEI] undo traffic policy p3 Example 4: The traffic policy p4 has been applied in the inbound direction of the system. Run the following commands to delete the traffic policy p4: [HUAWEI] undo traffic-policy p4 global inbound [HUAWEI] undo traffic policy p4 Before deleting a traffic policy, ensure that you have unbound the traffic policy completely. You can run the display traffic-applied command to check information about applied traffic policies. Note: MQC cannot be configured on the S2700SI.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top