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
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The interface view is displayed.
- 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.
The flow-mapping-profile flow-mapping-profile-name parameter is not supported on the S5731-S, S5731S-S, S5731-H, and S5731S-H.
- (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.