HP 6125G HP 6125G & 6125G/XG Blade Switches Security Command Reference - Page 45
RADIUS configuration commands, accounting-on enable
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 45 highlights
or YYYY/MM/DD indicates the date, where YYYY ranges from 2000 to 2035, MM ranges from 1 to 12, and the range of DD depends on the month. Except for the zeros in 00:00:00, leading zeros can be omitted. For example, 2:2:0-2011/2/2 equals 02:02:00-2011/02/02. Description Use validity-date to set the validity time of a local user. Use undo validity-date to remove the configuration. By default, a local user has no validity time and no time validity checking is performed. For temporary network access requirements, create a guest account and specify a validity time and an expiration time for the account to control the validity of the account. When a user uses the guest account for local authentication and passes the authentication, the switch checks whether the current system time is between the validity time and the expiration time. If so, it permits the user to access the network. Otherwise, it denies the access request of the user. Related command: expiration-date. Examples # Set the validity time of user abc to 12:10:20 on April 30, 2011, and the expiration time to 12:10:20 on May 31, 2011. system-view [Sysname] local-user abc [Sysname-luser-abc] validity-date 12:10:20-2011/04/30 [Sysname-luser-abc] expiration-date 12:10:20-2011/05/31 RADIUS configuration commands accounting-on enable Syntax accounting-on enable [ interval seconds | send send-times ] * View undo accounting-on enable RADIUS scheme view Default level 2: System level Parameters seconds: Time interval for retransmitting an accounting-on packet in seconds, ranging from 1 to 15. The default setting is 3 seconds. send-times: Maximum number of accounting-on packet transmission attempts, ranging from 1 to 255. The default setting is 50. Description Use accounting-on enable to configure the accounting-on feature. This feature enables the switch to, after rebooting, automatically send an accounting-on message to the RADIUS accounting server indicated by the RADIUS scheme to stop accounting for and log out online users. 36