radius-attribute include accounting-request

Function

The radius-attribute include accounting-request command configures a device to add the HW-Tunnel-Group-Name, HW-Client-Primary-DNS, or HW-Client-Secondary-DNS attribute to accounting requests sent to RADIUS servers.

The undo radius-attribute include accounting-request command restores the default configuration.

By default, the device does not add the HW-Tunnel-Group-Name, HW-Client-Primary-DNS, or HW-Client-Secondary-DNS attribute to accounting requests sent to RADIUS servers.

This command is supported only on the NetEngine 8000 F1A.

Format

radius-attribute include { hw-tunnel-group-name | hw-client-primary-dns | hw-client-secondary-dns } accounting-request

undo radius-attribute include { hw-tunnel-group-name | hw-client-primary-dns | hw-client-secondary-dns } accounting-request

Parameters

Parameter Description Value
hw-tunnel-group-name

Indicates the Huawei-proprietary No. 96 attribute, which identifies an L2TP or GRE group name.

-

hw-client-primary-dns

Indicates the Huawei-proprietary No. 135 attribute, which identifies the IP address of a primary DNS server.

-

hw-client-secondary-dns

Indicates the Huawei proprietary No. 136 attribute, which identifies the IP address of a secondary DNS server.

-

Views

RADIUS server group view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
radius write

Usage Guidelines

If you want a device to add the HW-Tunnel-Group-Name, HW-Client-Primary-DNS, HW-Client-Secondary-DNS attribute to accounting requests sent to RADIUS servers, run the radius-attribute include { hw-tunnel-group-name | hw-client-primary-dns | hw-client-secondary-dns } accounting-request command.

  • If an L2TP group name in the HW-Tunnel-Group-Name attribute identifies a carrier and the L2TP traffic statistics of the carrier need to be collected by L2TP group name, specify the hw-tunnel-group-name parameter.
  • If accounting statistics need to be collected by DNS server address, specify the hw-client-primary-dns or hw-client-secondary-dns parameter.

Example

# Configure the RADIUS accounting request packets to carry the hw-tunnel-group-name attribute.
<HUAWEI> system
[~HUAWEI] radius-server group g1
[*HUAWEI-radius-g1] radius-attribute include hw-tunnel-group-name accounting-request
# Configure the RADIUS accounting request packets to carry the hw-client-secondary-dns attribute.
<HUAWEI> system
[~HUAWEI] radius-server group g1
[*HUAWEI-radius-g1] radius-attribute include hw-client-secondary-dns accounting-request
# Configure the RADIUS accounting request packets to carry the hw-client-primary-dns attribute.
<HUAWEI> system
[~HUAWEI] radius-server group g1
[*HUAWEI-radius-g1] radius-attribute include hw-client-primary-dns accounting-request
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >