Configuring command authorization, Configuring command accounting – H3C Technologies H3C S12500 Series Switches User Manual
Page 68

56
Configuring command authorization
By default, command level for a login user depends on the user privilege level. A user can use the
commands of or lower than the user privilege level. If command authorization is enabled, a command is
available only if the user has the commensurate user privilege level and is authorized to use the
command by the AAA scheme.
To configure command authorization:
1.
Configure the authentication mode as scheme.
2.
Enable command authorization.
3.
Configure an HWTACACS scheme to specify the IP addresses of the HWTACACS authorization
servers and other related parameters.
4.
Configure the ISP domain to use the HWTACACS scheme for command line users.
For more information about HWTACACS configuration, see Security Configuration Guide.
To enable command authorization:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter user interface view.
user-interface { first-num1
[ last-num1 ] | { aux | console |
vty } first-num2 [ last-num2 ] }
N/A
3.
Enable command
authorization.
command authorization
By default, command authorization
is disabled. The commands
available for a user only depend
on the user privilege level.
Configuring command accounting
Command accounting allows the HWTACACS server to record all executed commands that are
supported by the switch, regardless of the command execution result. This function helps control and
monitor user behaviors on the switch.
If command accounting is enabled and command authorization is not enabled, every executed
command is recorded on the HWTACACS server. If both command accounting and command
authorization are enabled, only the authorized and executed commands are recorded on the
HWTACACS server.
To configure command accounting:
1.
Enable command accounting.
2.
Configure an HWTACACS scheme to specify the IP addresses of the HWTACACS accounting
servers and other related parameters.
3.
Configure the ISP domain to use the HWTACACS scheme for command line users.
For more information about HWTACACS configurations, see Security Configuration Guide.
To enable command accounting:
- H3C S12500-X Series Switches H3C S9800 Series Switches H3C S9500E Series Switches H3C S5560 Series Switches H3C S5130 Series Switches H3C S5120 Series Switches H3C SR8800 H3C SR6600-X H3C SR6600 H3C MSR 5600 H3C MSR 50 H3C MSR 3600 H3C MSR 30 H3C MSR 2600 H3C MSR 20-2X[40] H3C MSR 20-1X H3C MSR 930 H3C MSR 900 H3C WX3000E Series Wireless Switches H3C WX5500E Series Access Controllers H3C WX3500E Series Access Controllers H3C WX2500E Series Access Controllers H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSUM3WCMD0 Access Controller Module H3C LSUM1WCME0 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C WA3600 Series Access Points H3C WA2600 Series WLAN Access Points H3C SecPath F5020 H3C SecPath F5040 H3C VMSG VFW1000 H3C S10500 Series Switches