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 To Google
Scroll to top