Where we can apply the policy route?

8

On the interface
[HUAWEI] interface GigabitEthernet x/x/x
[HUAWEI-GigabitEthernetx/x/x] traffic-policy test inbound

On the VLAN
[HUAWEI]vlan 100
[HUAWEI-vlan100] traffic-policy test inbound

On the globe or slot.
in the system-view, we can configure "traffic-policy policy-name global [ slot slot-id ] inbound".

Other related questions:
What is the default IP of UC-IAD
Default IP of IAD:192.168.100.1 or 192.168.1.17

Can I apply a traffic policy to a VLAN on an S series switch
For S series switches (except the S1700), a traffic policy can be applied to a VLAN. The application procedure is as follows: 1. Run the system-view command to enter the system view. 2. Run the vlan vlan-id command to enter the VLAN view. 3. Run the traffic-policy policy-name { inbound | outbound } command to apply a traffic policy to the VLAN. Only one traffic policy can be applied to a VLAN in the inbound or outbound direction. After a traffic policy is applied to a VLAN, the system performs traffic policing for all the incoming or outgoing packets that belong to the VLAN and match traffic classification rules in the VLAN. Note: MQC cannot be configured on the S2700SI.

Can I apply a traffic policy to an interface on an S series switch
For S series switches (except the S1700), a traffic policy can be applied to an interface. The application procedure is as follows: 1. Run the system-view command to enter the system view. 2. Run the interface interface-type interface-number[.subinterface-number ] command to enter the interface or sub-interface view. 3 Run the traffic-policy policy-name { inbound | outbound } command to apply a traffic policy in the interface or sub-interface view. Note: A traffic policy can be applied to a sub-interface only when the switch or card model supports sub-interfaces. A traffic policy can only be applied to one direction on an interface, but can be applied to different directions on different interfaces. After a traffic policy is applied to an interface, the system performs traffic policing for all the incoming or outgoing packets that match traffic classification rules on the interface. 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