Configuring an EDSG Service Policy

You can configure different EDSG service policies to implement differentiated accounting and rate limiting for user access to different networks.

Context

To implement differentiated accounting and rate limiting for user access to different networks, you may need to configure multiple EDSG service policies. An EDSG service policy can be configured in either of the following modes:

  1. Configuration delivery to the device from the policy server.
  2. Local configuration: To implement differentiated accounting and rate limiting for two EDSG services, associate the corresponding service groups with the two EDSG service policies, bind different accounting schemes to the two EDSG service policies, and set bandwidth parameters for different traffic rate limits.

This section describes how to configure an EDSG service policy locally.

Procedure

  1. Run system-view

    The system view is displayed.

  2. (Optional) Run service-policy cache update interval interval-value

    An interval at which the EDSG cache policy template is updated is configured.

  3. (Optional) Run value-added-service update-online-edsg rate-limit service-policy [ cache [ cache-policy-name ] | configuration [ configuration ] ]

    An update of bandwidth limit parameters is manually triggered for online EDSG services.

  4. (Optional) Run radius-attribute hw-policy-name support-type edsg

    The HW-Policy-Name attribute is allowed to carry an EDSG service policy name.

  5. (Optional) Run radius-attribute include edsg-service-name accounting-request

    User accounting packets are allowed to carry an EDSG service policy name.

    If the radius-attribute hw-policy-name support-type edsg command has been configured, Huawei proprietary No. 95 attribute is carried in packets. If this command has not been configured, Huawei proprietary No. 185 attribute is carried in packets.

  6. Run service-policy name policy-name edsg

    An EDSG service policy is create and its view is displayed.

    If the policy template name is case-sensitive, you need to run the service-policy name-case-sensitive enable command first to enable case sensitivity for the EDSG service template name.

  7. (Optional) Run ip-type ipv6

    The traffic statistic type is set to IPv6 for EDSG services.

  8. Run service-group service-group-name [ inbound | outbound ] [ priority priority ]

    The service group to be bound to the EDSG service policy is configured.

    The service group must already exist. If not, run the service-group service-group-name command in the system view to create a service group.

  9. Run radius-server group group-name

    The RADIUS server group to be bound to the EDSG service policy is configured.

  10. Run authentication-scheme authentication-scheme-name

    An authentication scheme is configured for the EDSG service policy.

  11. Run accounting-scheme accounting-scheme-name

    An accounting scheme is configured for the EDSG service policy.

    Currently, EDSG services support only the RADIUS accounting and non-accounting modes.

    The device provides two fixed accounting schemes: default0 and default1. The two accounting schemes cannot be deleted but can be modified.

  12. Run rate-limit cir cir-value [ pir pir-value ] [ cbs cbs-value [ pbs pbs-value ] [ flow-queue-pbs flow-queue-pbs ] ] { inbound | outbound }

    The bandwidth parameters are configured for upstream and downstream traffic rate limiting of EDSG services.

  13. Run diameter monitor-key monitor-key

    A Diameter monitor key is configured for the service policy.

  14. (Optional) Run service-class { cs7 | cs6 | ef | af4 | af3 | af2 | af1 | be } { inbound | outbound }

    A scheduling class is configured in the upstream or downstream direction.

  15. Run commit

    The configuration is committed.

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