tariff-level-cfg

Function

The tariff-level-cfg command configures the accounting status or IP type for a DAA tariff level.

The undo tariff-level-cfg command restores the default configuration of a DAA tariff level.

By default, accounting is enabled for DAA tariff levels, and the IP type is IPv4.

This command is supported only on the NetEngine 8000 F1A.

Format

tariff-level-cfg level { accounting off | ip-type ipv6 }

undo tariff-level-cfg level { accounting off | ip-type ipv6 }

Parameters

Parameter Description Value
level

Specifies a DAA tariff level.

The value is an integer ranging from 1 to 8.

off

Configures the accounting status of a DAA tariff level as disabled.

-

ipv6

Configures an IP type for a DAA tariff level as ipv6.

-

Views

Value-added service policy view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
vas write

Usage Guidelines

Usage Scenario

  • When DAA services are configured for dual-stack users, if you want the device to send service traffic statistics through the IPv4 or IPv6 attributes to the RADIUS server, specify the IP type for the services.
  • If the user-queue mode is configured for DAA services to implement rate limit and service separation is disabled, the device collects DAA IPv4 or IPv6 traffic statistics based on the IP type configured for the tariff level. This allows IPv4 and IPv6 traffic statistics to be collected separately based on SQs. Traffic that enters non-DAA queues is collected as IPv4 traffic by default.

Precautions

This command is supported only on the admin VS.

  • The device collects and reports statistics on the DAA service traffic based on the IP type configured for each traffic level, which is irrelevant to the traffic type that actually matches a level. When deploying dual-stack DAA services, ensure that the ACL type of each service is consistent with the IP type configured for the tariff level. This prevents IPv4 and IPv6 traffic from matching the same level.
  • accounting off is valid only for DAA services that do not have uniform accounting. To configure non-accounting for DAA services in uniform accounting mode, run the value-added-service account-type none command or run the accounting-scheme command in the service policy view to specify the non-accounting scheme.
  • After packets are implemented with DAA CAR and enter Flow Queues, the IPv4 or IPv6 type of packets can be identified based on the tariff level. For the packets whose tariff level cannot be identified, the system considers them as IPv4 packets when collecting statistics.

Example

# Configure the tariff level as 1 and non-accounting mode for the DAA service named daa.
<HUAWEI> system-view
[~HUAWEI] value-added-service policy test daa
[*HUAWEI-vas-policy-test] commit
[~HUAWEI-vas-policy-test] tariff-level-cfg 1 accounting off
# Configure the tariff level as 1 and the IP type as ipv6 for the DAA service named daa.
<HUAWEI> system-view
[~HUAWEI] value-added-service policy test daa
[*HUAWEI-vas-policy-test] commit
[~HUAWEI-vas-policy-test] tariff-level-cfg 1 ip-type ipv6
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >