Primary Accounting - H3C S3100 Series Command Manual

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

System View: return to User View with Ctrl+Z.
[Sysname] radius scheme radius1
[Sysname-radius-radius1] nas-ip ipv6 1:1::2:2

primary accounting

Syntax
primary accounting { ip-address | ipv6 ipv6-address } [ port-number ] [ key string ]
undo primary accounting
View
RADIUS scheme view
Parameters
ip-address: IP address of the primary accounting server to be used, in dotted decimal notation.
ipv6 ipv6-address: IPv6 address of the primary accounting server.
port-number: UDP port number of the primary accounting server, ranging from 1 to 65535.
key string: Specifies the shared key for exchanging accounting packets with the primary RADIUS
accounting server. A shared key is a case-sensitive string of 1 to 16 characters.
Description
Use the primary accounting command to set the IP address, port number and shared key of the
primary RADIUS accounting server to be used by the current scheme.
Use the undo primary accounting command to restore the default IP address and port number of the
primary RADIUS accounting server, which are 0.0.0.0 and 1813 respectively.
In the system default RADIUS scheme "system", the default IP address of the primary accounting
server is 127.0.0.1 and the default UDP port number is 1646. In a new RADIUS scheme, the default IP
address of the primary accounting server is 0.0.0.0 and the default UDP port number is 1813.
Note that:
You can configure a shared key for the primary accounting server by specifying key string in this
command. The shared key configured in this command is used in preference. If key string is not
configured here, the shared key configured in the key command in RADIUS scheme view will be
used.
The IP addresses of the primary and secondary accounting servers cannot be the same. Otherwise,
the configuration fails.
Related commands: key, radius scheme, state.
Examples
# Set the IP address and UDP port number of the primary accounting server for RADIUS scheme
radius1 to 10.110.1.2 and 1813 respectively.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] radius scheme radius1
New Radius scheme
[Sysname-radius-radius1] primary accounting 10.110.1.2 1813
1-47

Advertisement

Table of Contents
loading

Table of Contents