Configuration procedure, Configuring accounting methods for an isp domain, Configuration prerequisites – H3C Technologies H3C SecBlade LB Cards User Manual
Page 87
76
•
You can configure a default authorization method for an ISP domain. This method will be used for
all users who support the authentication method and have no specific authorization method
configured.
•
You can configure local authorization (local) or no authorization (none) as the backup for remote
authorization that is used when the remote authorization server is unavailable.
•
Local authorization (local) and no authorization (none) cannot have a backup method.
Configuration procedure
To configure authorization methods for an ISP domain:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter ISP domain view.
domain isp-name
N/A
3.
Specify the default
authorization method for
all types of users.
authorization default { hwtacacs-scheme
hwtacacs-scheme-name [ local ] | local |
none | radius-scheme radius-scheme-name
[ local ] }
Optional.
The default authorization
method is local for all types of
users.
4.
Specify the command
authorization method.
authorization command { hwtacacs-scheme
hwtacacs-scheme-name [ local | none ] |
local | none }
Optional.
The default authorization
method is used by default.
5.
Specify the authorization
method for login users.
authorization login { hwtacacs-scheme
hwtacacs-scheme-name [ local ] | local |
none | radius-scheme radius-scheme-name
[ local ] }
Optional.
The default authorization
method is used by default.
Configuring accounting methods for an ISP domain
In AAA, accounting is a separate process at the same level as authentication and authorization. This
process sends accounting start/update/end requests to the specified accounting server. Accounting is
optional.
AAA supports the following accounting methods:
•
No accounting (none)—The NAS does not perform accounting for the users.
•
Local accounting (local)—Local accounting is implemented on the NAS. It counts and controls the
number of concurrent users who use the same local user account. It does not provide statistics for
charging. The maximum number of concurrent users using the same local user account is set by the
access-limit command in local user view.
•
Remote accounting (scheme)—The NAS works with a RADIUS server or HWTACACS server for
accounting. You can configure local or no accounting as the backup method, which will be used
when the remote server is not available.
By default, an ISP domain uses the local accounting method.
Configuration prerequisites
Before configuring accounting methods, complete the following tasks:
1.
For RADIUS or HWTACACS accounting, configure the RADIUS or HWTACACS scheme to be
referenced first. The local and none accounting methods do not require a scheme.