Command Manual – Security
Quidway S8500 Series Routing Switches
Chapter 2 AAA and RADIUS/HWTACACS Protocol
Configuration Commands
Huawei Technologies Proprietary
2-2
undo accounting optional
View
ISP domain view
Parameter
None
Description
Use the
accounting
optional
command to enable accounting to be optional.
Use the
undo
accounting optional
command to disable accounting to be optional.
By default, accounting is not optional. By executing the
accounting
optional
command, you can enable users to utilize the network resources even when no
accounting server is available or the switch fails to communicate with the accounting
server. Users are denied if you do not execute this command under the same
circumstance. This command is used when you want the server to authenticate without
charging.
Example
# Enable accounting option for domain user named huawei163.net.
[Quidway] domain huawei163.net
[Quidway-isp-huawei163.net] accounting optional
2.1.3 attribute
Syntax
attribute
{
ip ip-address
|
mac mac-address
|
idle-cut
second
|
access-limit
max-user-number
|
vlan vlanid
|
location
{
nas-ip ip-address port portnum
|
port
portnum
}*
undo attribute
{
ip
|
mac
|
idle-cut
|
access-limit
|
vlan
|
location
}*
View
Local user view
Parameter
ip
: Specifies the IP address of a user.
mac mac-address
: Specifies the MAC address of a user. Where,
mac-address
takes on
the hexadecimal format of
X-X-X
.
idle-cut
second
: Allows/Disallows the local users to enable the idle-cut function. (The
specific data for this function depends on the configuration of the ISP domain where the