Applying a QoS Profile

You can define a QoS profile and apply it to interfaces to implement unified scheduling of traffic on these interfaces.

Context

After a user queue profile is bound to a QoS profile in enhanced 8-CoS mode, you can apply the QoS profile to an interface to implement differentiated QoS processing for service traffic in different user queues.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface { interface-name | interface-type interface-number }

    The interface view is displayed.

  3. Run any of the following commands:

    • To apply a QoS profile to an Dot1Q interface, run the qos-profile qos-profile-name { inbound | outbound } [ identifier none ] [ group group-name ] command.
    • To apply a QoS profile to a Layer 2 interface or dot1q VLAN tag termination sub-interface, run the qos-profile qos-profile-name { inbound | outbound } vlan vlan-id-begin [ to vlan-id-end ] [ identifier { vlan-id | none } ] [ group group-name ] command.
    • To apply a QoS profile to a QinQ VLAN tag termination sub-interface, run the qos-profile qos-profile-name { inbound | outbound } pe-vid pe-vlan-id ce-vid { ce-vlan-id-begin [ to ce-vlan-id-end ] } [ identifier { pe-vid | ce-vid | pe-ce-vid | none } ] [ group group-name ] command.
    • To apply a QoS profile to an EVC Layer 2 sub-interface, run the qos-profile qos-profile-name { inbound | outbound } [ identifier { none | vid | ce-vid | vid-ce-vid } ] [ group group-name ] command.
    • To apply a QoS profile to an NVE interface, run the qos-profile qos-profile-name { inbound | outbound } vni vni-id source sourceip peer peerip command.

  4. Run commit

    The configuration is committed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >