No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

CLI-based Configuration Guide - IP Service

AR100, AR120, AR160, AR1200, AR2200, AR3200, and AR3600 V300R003

This document describes the concepts and configuration procedures of IP Service features on the device, and provides the configuration examples.
Rate and give feedback:
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

  1. Run system-view

    The system view is displayed.

  2. Run ip soft-forward enhance enable

    The enhanced forwarding function is enabled.

    By default, the enhanced forwarding function is enabled.

  3. (Optional) Set the priority for control packets.
    1. Run set priority dot1p priority-value

      The 802.1p priority is set for the control packets.

    2. Run

      • Run the set priority protocol-type protocol-type dscp dscp-value command to set the DSCP priority for the control packets according to the protocol type.
      • Run the set priority acl acl-number dscp dscp-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.
      NOTE:

      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.

  4. (Optional) Configure the control packets to support QoS policies using one or more of the following commands.
    1. Run undo control-packet { bgp | icmp | igmp | ospf | pim | rip | snmp | ssh | telnet | vrrp | other-protocols } * output car bypass or undo control-packet all output car bypass

      Control packets are configured to support traffic policing function.

      By default, control packets do not support traffic policing function.

    2. Run undo control-packet { bgp | icmp | igmp | ospf | pim | rip | snmp | ssh | telnet | vrrp | other-protocols } * output queue bypass or undo control-packet all output queue bypass

      Control packets are configured to support QoS queue functions (including traffic shaping, congestion management, and congestion avoidance).

      By default, control packets do not support QoS queue functions.

    3. Run undo control-packet { bgp | icmp | igmp | ospf | pim | rip | snmp | ssh | telnet | vrrp | other-protocols } * output filter bypass or undo control-packet all output filter bypass

      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 Huawei AR100&AR120&AR150&AR160&AR200&AR1200&AR2200&AR3200&AR3600 Series Enterprise Routers Configuration Guide - QoS.

Translation
Download
Updated: 2019-03-06

Document ID: EDOC1100069333

Views: 35819

Downloads: 182

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next