< Home

Configuring a Subscriber Queue

Background

You can configure subscriber queues to set different traffic shaping rates for different users. This ensures the bandwidth for high-priority users. Traffic from different users is differentiated based on ACLs that define items such as the source and destination MAC addresses, source and destination IP addresses, and VLAN IDs.

Step 4 can be performed only on the S5731-S, S5731S-S, S5731-H, and S5731S-H.

Pre-configuration Tasks

Before configuring a subscriber queue, configure ACL rules.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The interface view is displayed.

  3. Run the following commands as required.

    • Run traffic-user-queue outbound acl { [ ipv6 ] { bas-acl | adv-acl | name acl-name } } pir pir-value [ flow-queue-profile flow-queue-profile-name | flow-mapping-profile flow-mapping-profile-name ] *

      The device is configured to shape packets in a subscriber queue matching a single ACL rule and to reference the flow queue and flow mapping profile to implement HQoS.

    • Run traffic-user-queue outbound acl { l2-acl | name acl-name } acl { bas-acl | adv-acl | name acl-name } pir pir-value [ flow-queue-profile flow-queue-profile-name | flow-mapping-profile flow-mapping-profile-name ] *

      The device is configured to shape packets in a subscriber queue matching both Layer 2 and Layer 3 ACL rules and to reference the flow queue and flow mapping profile to implement HQoS.

    • Run traffic-user-queue outbound acl { bas-acl | adv-acl | name acl-name } acl { l2–acl | name acl-name } pir pir-value [ flow-queue-profile flow-queue-profile-name | flow-mapping-profile flow-mapping-profile-name ] *

      The device is configured to shape packets in a subscriber queue matching both Layer 2 and Layer 3 ACL rules and to reference the flow queue and flow mapping profile to implement HQoS.

  4. (Optional) Configure service scheme-based authorization to re-mark the internal priorities of packets. You can configure the device to re-mark internal priorities based on a user ACL in an SAC profile. The device then schedules packets based on the re-marked priorities.
    1. Run sac-profile name profile-name

      An SAC profile is created and its view is displayed, or the view of an existing SAC profile is displayed.

      By default, no SAC profile is configured on the device.

    2. Run acl { ucl-number | name acl-name } remark local-precedence local-precedence-value

      The device is configured to re-mark internal priorities based on a user ACL in an SAC profile.

      By default, re-marking internal priorities based on a user ACL is not configured in an SAC profile.

    3. Run quit

      Return to the system view.

    4. Run aaa

      The AAA view is displayed.

    5. Run service-scheme service-scheme-name

      A service scheme is created and its view is displayed.

      By default, no service scheme is created on the device.

    6. Run sac-profile profile-name

      The SAC profile is bound to the service scheme.

    7. Run quit

      The AAA view is displayed.

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