The accounting-scheme command creates an accounting scheme and enters the accounting scheme view.
The undo accounting-scheme command deletes an accounting scheme.
By default, there are two accounting schemes named default0 and default1, and the accounting modes are none and radius, respectively. Default accounting schemes can be modified but cannot be deleted.
Parameter | Description | Value |
---|---|---|
acct-scheme-name |
Specifies the name of an accounting scheme. |
The value is a string of 1 to 32 case-insensitive characters. The scheme name must comply with the naming regulation of Windows. It should not contain slash (\), anti-slash (/), colon (:), asterisk (*), question mark (?), quotation mark ("), angle brackets (< >), (|) and spaces. |
Usage Scenario
Accounting for online users must be performed to ensure operating income. Before performing accounting, you must create an accounting scheme and specify an accounting mode.
Implementation Procedure
If the parameter accounting-scheme-name specified in the accounting-scheme command is an existing one, the view of the existing accounting scheme is displayed.
Follow-up Procedure
After an accounting scheme is created, to perform accounting on users in a domain, you must specify an accounting mode and bind the scheme to the domain.
Precautions
The undo accounting-scheme command can delete only an accounting scheme that has been created and is not bound to any domain. An accounting scheme bound to a domain cannot be deleted. Deleting the default accounting scheme is not allowed.