No relevant resource is found in the selected language.
Your browser version is too early. Some functions of the website may be unavailable. To obtain better user experience, upgrade the browser to the latest version.
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document.
Note: Even the most advanced machine translation cannot match the quality of professional translators.
Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring the Enhanced Forwarding Function for Control Packets Generated by the Device
Configuring the Enhanced Forwarding Function for Control Packets Generated by the Device
Context
QoS policies take effect only for data packets. In certain cases, control packets need to be managed. For example, bandwidth limitation is required for the control packets generated by Telnet applications. The enhanced forwarding function can meet the requirement. You can configure this function to apply QoS policies to the control packets generated by the device. Currently, the enhanced forwarding function is valid only for the control packets generated by the device.
Procedure
Run system-view
The system view is displayed.
Run ip soft-forward enhance enable
The enhanced forwarding function is enabled.
By default, the enhanced forwarding function is enabled.
(Optional) Set the priority for control packets.
Run set priority dot1ppriority-value
The 802.1p priority is set for the control packets.
Run
Run the set priorityprotocol-typeprotocol-typedscpdscp-value command to set the DSCP priority for the control packets according to the protocol type.
Run the set priorityaclacl-numberdscpdscp-value command to set the DSCP priority for the control packets according to the ACL rule.
You can set the priority of BGP, FTP, ICMP, SNMP, SSH, and Telnet control packets according to the protocol type. To set the priority of other types of control packets, configure advanced ACL rules according to Configuring an Advanced ACL and then set the DSCP priority of the control packets according to the ACL rules.
If you set the DSCP priority for control packets according to both the protocol type and ACL rule, the DSCP priority configured according to the protocol type takes effect.
(Optional) Configure the control packets to support QoS policies using one or more of the following commands.
The device is configured to discard control packets when the traffic policy or ACL-based simplified traffic policy contain the deny action.
By default, the device does not discard control packets when the traffic policy and ACL-based simplified traffic policy contain the deny action.
After this command is executed, the device discards control packets.
Follow-up Procedures
After the enhanced forwarding function is configured for control packets, you can only make QoS policies take effect for the control packets. To implement differentiated services for control packets, configure QoS policies. For details, see NetEngine AR Configuration Guide - QoS.