No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
radius-server accounting

radius-server accounting

Function

The radius-server accounting command configures the RADIUS accounting server.

The undo radius-server accounting command deletes the configuration.

By default, no RADIUS accounting server is configured.

Format

radius-server accounting ipv4-address port [ source { loopback interface-number | ip-address ipv4-address | vlanif interface-number } | weight weight-value ] *

undo radius-server accounting [ ipv4-address [ port [ source { loopback interface-number | ip-address ipv4-address | vlanif interface-number } | weight ] * ] ]

Parameters

Parameter

Description

Value

ipv4-address

Specifies the IPv4 address of a RADIUS accounting server.

The value is a valid unicast address in dotted decimal notation.

port

Specifies the port number of a RADIUS accounting server.

The value is an integer that ranges from 1 to 65535.

source loopback interface-number

Specifies the IP address of the loopback interface taken as the source IP address. interface-number specifies the number of a loopback interface.

The loopback interface must already exist.

source ip-address ipv4-address

Specifies the source IPv4 address in RADIUS packets sent from the device to a RADIUS authentication server.

If this parameter is not specified, the IPv4 address of the outbound interface or VLANIF interface is used as the source IPv4 address in RADIUS packets sent from the device to a RADIUS authentication server.

The value is a valid unicast address in dotted decimal notation.

source vlanif interface-number

Specifies the IP address of the VLANIF interface as the source IP address. interface-number specifies the number of a VLANIF interface.

The VLANIF interface must exist.

weight weight-value

Specifies the weight of a RADIUS accounting server.

When multiple servers are available, the device uses the server with the highest weight to perform accounting. If the servers have the same weights, the device uses the server configured first to perform accounting.

The value is an integer that ranges from 0 to 100.

Views

RADIUS server template view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

To perform accounting for users, configure a RADIUS accounting server. The device communicates with a RADIUS accounting server to obtain accounting information, and performs accounting for users based on the accounting information. The device sends accounting packets to the RADIUS accounting server only after the IP address and port number of the RADIUS accounting server are specified in the RADIUS server template.

Precautions

The IP address of the primary accounting server must be different from the IP address of the secondary accounting server; otherwise, the configuration fails.

For the RADIUS server in Down status, if configuration parameters except weight of the RADIUS server are modified, the server status will change from Down to Up.

Example

# Configure the primary RADIUS accounting server.

<Huawei> system-view
[Huawei] radius-server template group1
[Huawei-radius-group1] radius-server accounting 10.163.155.12 1813

# Configure the secondary RADIUS accounting server.

<Huawei> system-view
[Huawei] radius-server template group1
[Huawei-radius-group1] radius-server accounting 10.163.155.15 1813 weight 50
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 198266

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next