3com 8807 Reference Guide

Page of 1099
310
C
HAPTER
 21: AAA 
AND
 RADIUS/HWTACACS P
ROTOCOL
 C
ONFIGURATION
 C
OMMANDS
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 3com163.net.
[SW8800] domain 3com163.net
 
[3Com-isp-3com163.net] accounting optional 
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 users locate.) The argument minute defines the idle-cut time, which is 
in the range of 60 to 7200 seconds.
access-limit max-user-number: Specifies the maximum number who access the 
device by using the current user name. The argument max-user-number is in the 
range of 1 to 2048.
vlan vlanid: Sets the VLAN attribute of user, in other words, the VLAN to which a 
user belong. The argument vlanid is an integer in the range of 1 to 4094.
location: Sets the port binding attribute of user.