Description
Example
accounting portal
Syntax
View
Parameter
Description
Related command:
Example
Use the
accounting optional
feature.
Use the
undo accounting optional
By default, the feature is disabled.
Note that:
With the accounting optional command configured, a user that will be
■
disconnected otherwise can use the network resources even when there is no
available accounting server or the communication with the current accounting
server fails. This command is normally used when authentication is required but
accounting is not.
If you configure the accounting optional command for a domain, the device
■
does not send real-time accounting updates or stop-accounting requests for
users of the domain any more.
# Enable the accounting optional feature for users in domain aabbcc.net.
<Sysname> system-view
[Sysname] domain aabbcc.net
[Sysname-isp-aabbcc.net] accounting optional
accounting portal { none | radius-scheme radius-scheme-name }
undo accounting portal
ISP domain view
none: Does not perform any accounting.
radius-scheme radius-scheme-name: Specifies a RADIUS scheme by its name,
which is a string of 1 to 32 characters.
Use the
accounting portal
portal users.
Use the
undo accounting portal
By default, the default accounting scheme is used for portal users.
Note that the RADIUS scheme specified for the current ISP domain must have
been configured.
accounting default, radius scheme.
# In the default ISP domain system, specify the accounting scheme for portal
users to RADIUS scheme, with the name rd.
command to enable the accounting optional
command to disable the feature.
command to specify the accounting scheme for
command to restore the default.
1917