2-15
Operation
Command
Remarks
Configure the sending mode of
accounting start requests
accounting start-mode
{
with-ip
|
without-ip
}
Required
without-ip
by default.
z
The sending mode of accounting start requests depends on the RADIUS server. If the RADIUS
server can perform accounting for only the accounting start requests carrying an IP address,
configure the sending mode as
with-ip
.
z
At present, a switch obtains the IP address of a requesting client through EAP or DHCP snooping.
If
Upload IP address
is enabled for the client using iNode client software, the client's IP address
will be sent to the switch through EAP. With DHCP snooping enabled, the switch will obtain the IP
addresses of clients using DHCP. For the detailed configuration of DHCP snooping, refer to
DHCP
Operation
of this manual.
Configuring RADIUS Accounting Servers
Table 2-14
Configure RADIUS accounting servers
Operation
Command
Remarks
Enter system view
system-view
—
Create a RADIUS scheme
and enter its view
radius scheme
radius-scheme-name
Required
By default, a RADIUS scheme
named "system" has already been
created in the system.
Set the IP address and port
number of the primary
RADIUS accounting server
primary accounting
{
ip-address | ipv6
ipv6-address
}
[
port-number
] [
key
string
]
Required
By default, the IP address and UDP
port number of the primary
accounting server are 0.0.0.0 and
1813 for a newly created RADIUS
scheme.
Set the IP address and port
number of the secondary
RADIUS accounting server
secondary
accounting
{
ip-address | ipv6
ipv6-address
}
[
port-number
] [
key
string
]
Optional
By default, the IP address and UDP
port number of the secondary
accounting server are 0.0.0.0 and
1813 for a newly created RADIUS
scheme.
Enable stop-accounting
request buffering
stop-accounting-buffer
enable
Optional
By default, stop-accounting
request buffering is enabled.
Set the maximum number of
transmission attempts of a
buffered stop-accounting
request.
retry stop-accounting
retry-times
Optional
By default, the system tries at most
500 times to transmit a buffered
stop-accounting request.