You can configure different EDSG service policies to implement differentiated accounting and rate limiting for user access to different networks.
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:
This section describes how to configure an EDSG service policy locally.
The system view is displayed.
An interval at which the EDSG cache policy template is updated is configured.
An update of bandwidth limit parameters is manually triggered for online EDSG services.
The HW-Policy-Name attribute is allowed to carry an EDSG service policy name.
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.
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.
The traffic statistic type is set to IPv6 for EDSG services.
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.
The RADIUS server group to be bound to the EDSG service policy is configured.
An authentication scheme is configured for the EDSG service policy.
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.
The bandwidth parameters are configured for upstream and downstream traffic rate limiting of EDSG services.
A Diameter monitor key is configured for the service policy.
A scheduling class is configured in the upstream or downstream direction.
The configuration is committed.