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

Configuration Guide - QoS

CloudEngine 8800, 7800, 6800, and 5800 V200R002C50

This document describes the configurations of QoS functions, including MQC, priority mapping, traffic policing, traffic shaping, interface-based rate limiting, congestion avoidance, congestion management, packet filtering, redirection, traffic statistics, and ACL-based simplified traffic policy.
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 a Traffic Behavior

Configuring a Traffic Behavior

Pre-configuration Tasks

Before configuring a traffic behavior, configure link layer attributes of interfaces to ensure that the interfaces work properly.

Context

The switch supports actions including packet filtering, priority re-marking, redirection, traffic policing, and traffic statistics collection.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run traffic behavior behavior-name

    A traffic behavior is created and the traffic behavior view is displayed, or the view of an existing traffic behavior is displayed.

  3. Define actions in the traffic behavior. You can configure multiple non-conflicting actions in a traffic behavior.

    NOTE:

    For details about precautions for each action, see the corresponding commands in the Command Reference.

    Action

    Command

    Packet filtering

    deny | permit

    MQC-based re-marking

    • Re-marking the 802.1p priority in VLAN packets

      For CE switches excluding the CE6870EI and CE6880EI:

      remark 8021p { 8021p-value | inner-8021p }

      For the CE6870EI and CE6880EI:

      remark 8021p 8021p-value

    • Re-marking the DSCP priority in IP packets

      remark dscp { dscp-name | dscp-value }

    • Re-marking the internal priority in packets

      remark local-precedence { local-precedence-name | local-precedence-value } [ green | yellow | red ]

    • Re-marking the VXLAN reserved field

      remark vxlan reserved-value reserved-value

      NOTE:

      The CE5810EI, CE5850EI, CE5850HI, CE5855EI, CE6810LI, and CE6810EI do not support this command.

    • Re-marking the local ID

      remark qos-local-id qos-local-id

      NOTE:

      Only the CE6850HI, CE6850U-HI, CE6851HI, CE6855HI, CE6856HI, CE6860EI, CE6870EI, CE7850EI, CE7855EI, CE8850EI, and CE8860EI support this command.

    Redirection

    • Redirecting packets to the CPU

      redirect cpu

    • Redirecting packets to an interface

      redirect interface interface-type interface-number [ fail-action forward ]

    • Redirecting packets to an observing interface group

      redirect observe-port group group-id

      NOTE:

      Only the CE6870EI supports this command.

    • Redirecting IP packets to a public LSP

      redirect lsp public dest-address

      NOTE:

      Only the CE6870EI supports this command.

    • Redirecting packets to a GRE tunnel interface

      redirect interface tunnel tunnel-id [ fail-action forward ]

      NOTE:

      The CE6880EI does not support this command.

    MQC-based traffic policing

    For CE switches excluding the CE6870EI:

    car cir cir-value [ kbps | mbps | gbps ] [ pir pir-value [ kbps | mbps | gbps ] ] [ cbs cbs-value [ bytes | kbytes | mbytes ] pbs pbs-value [ bytes | kbytes | mbytes ] ] [ share ] [ mode { color-blind | color-aware } ] [ green pass [ service-class class color color-value ] | yellow { discard | pass [ service-class class color color-value ] } | red { discard | pass [ service-class class color color-value ] } ] *

    For the CE6870EI:

    car cir cir-value [ kbps | mbps | gbps ] [ pir pir-value [ kbps | mbps | gbps ] ] [ cbs cbs-value [ bytes | kbytes | mbytes ] pbs pbs-value [ bytes | kbytes | mbytes ] ] [ share ] [ mode { color-blind | color-aware } ]

    Hierarchical traffic policing

    car car-name share

    NOTE:

    The CE8800, CE5850HI, CE6800 (excluding the CE6870EI), and CE7800 do not support this command.

    MQC-based flow mirroring

    For CE switches except the CE6870EI: mirroring observe-port observe-port-index

    For the CE6870EI: mirroring observe-port observe-port-index &<1-8> [ random-packets random-packets ]

    For the CE6870EI: mirroring observe-port group-id

    Disabling URPF

    ip urpf disable
    NOTE:

    The CE6870EI does not support this command.

    Unicast PBR

    • Redirecting packets to one next-hop IP address

      redirect [ vpn-instance vpn-instance-name ] nexthop { ip-address [ track nqa admin-name test-name [ reaction probe-failtimes fail-times ] ] } &<1-16> [ fail-action discard ] [ low-precedence [ source vpn-instance vpn-instance-name ] ]

      redirect ipv6 [ vpn-instance vpn-instance-name ] nexthop { ipv6-address [ track nqa admin-name test-name [ reaction probe-failtimes fail-times ] ] } &<1-16> [ fail-action discard ]

    • Redirecting packets to multiple next-hop IP addresses

      redirect load-balance [ vpn-instance vpn-instance-name ] nexthop { ip-address [ track nqa admin-name test-name [ reaction probe-failtimes fail-times ] ] } &<1-16> [ fail-action discard ] [ low-precedence [ source vpn-instance vpn-instance-name ] ]

      redirect load-balance ipv6 load-balance [ vpn-instance vpn-instance-name ] nexthop { ipv6-address [ track nqa admin-name test-name [ reaction probe-failtimes fail-times ] ] } &<1-16> [ fail-action discard ]

    • Redirect packets to the remote next hop

      redirect remote [ vpn-instance vpn-instance-name ] ip-address [ track nqa admin-name test-name [ reaction probe-failtimes fail-times ] ] [ exact ] [ low-precedence [ source vpn-instance vpn-instance-name ] ]

    Disabling MAC address learning

    mac-address learning disable

    MQC-based VLAN mapping

    vlan-mapping { vlan vlan-id | inner-vlan inner-vlan-id }

    NOTE:

    Only the CE6870EI does not support this command.

    MQC-based selective QinQ

    vlan-stacking vlan vlan-id

    NOTE:

    Only the CE6870EI does not support this command.

    Traffic statistics collection

    statistics enable

  4. Run commit

    The configuration is committed.

Translation
Download
Updated: 2019-03-21

Document ID: EDOC1000166640

Views: 47078

Downloads: 219

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