< Home

radius-server accounting (upgrade-compatible command)

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 [ vpn-instance vpn-instance-name | source { loopback interface-number | ip-address ipv4-address } | weight weight-value ] * secondary

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

undo radius-server accounting secondary

undo radius-server accounting ip-address port source { loopback | ip-address ip-address } secondary

undo radius-server accounting ipv6-address port source { loopback | ip-address ipv6-address } secondary

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.

ipv6-address

Specifies the IPv6 address of a RADIUS accounting server.

The value is a 32-digit hexadecimal number, in the format X:X:X:X:X:X:X:X.

port

Specifies the port number of a RADIUS accounting server.

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

vpn-instance vpn-instance-name

Specifies the name of a VPN instance that the RADIUS accounting server is bound to.

The vpn-instance must already exist.

source loopback 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 of a RADIUS accounting server.

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

source ip-address ipv6-address

Specifies the source IPv6 address of a RADIUS accounting server.

The value is a 32-digit hexadecimal number, in the format X:X:X:X:X:X:X:X.

weight weight-value

Specifies the weight of a RADIUS accounting server.

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

secondary

Specifies the configured accounting server as the secondary accounting server. If you do not configure this parameter, it indicates that you configure the primary accounting server.

-

Views

RADIUS server template view

Default Level

2: Configuration level

Usage Guidelines

This command is available to aid upgrade compatibility. It can only be run during the configuration restoration phase of the upgrade.

Its function is the same as that of the radius-server accounting ipv4-address port [ vpn-instance vpn-instance-name | source { loopback interface-number | ip-address ipv4-address } | weight weight-value ] * or radius-server accounting ipv6-address port [ source { loopback interface-number | ip-address ipv6-address } | weight weight-value ] * command.

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