Authentication Commands
4-107
4
accounting commands
This command applies an accounting method to entered CLI commands. Use the
no
form to disable accounting for entered commands.
Syntax
accounting commands
level
{
default
|
list-name
}
no accounting commands
level
•
level
- The privilege level for executing commands. (Range: 0-15)
•
default
- Specifies the default method list created with the
aaa accounting
commands
command (page 4-104).
•
list-name -
Specifies a method list created with the
aaa accounting
commands
command.
Default Setting
None
Command Mode
Line Configuration
Example
aaa authorization exec
This command enables the authorization for Exec access. Use the
no
form to
disable the authorization service.
Syntax
aaa authorization
exec
{
default
|
method-name
}
group
{
|
server-group
}
no aaa authorization
exec
{
default
|
method-name
}
•
default
- Specifies the default authorization method for Exec access.
•
method-name -
Specifies an authorization method for Exec access.
(Range: 1-255 characters)
•
group
- Specifies the server group to use.
-
- Specifies all hosts configure with the
tacacs-server
host
command described on page 4-98.
-
server-group -
Specifies the name of a server group configured with the
aaa group server
command described on 4-101. (Range: 1-255
characters)
Default Setting
Authorization is not enabled
No servers are specified
Console(config)#line console
Console(config-line)#accounting commands 15 default
Console(config-line)#
Содержание 6128PL2
Страница 2: ......
Страница 8: ...viii ...
Страница 26: ...Contents xviii ...
Страница 30: ...Tables xxii ...
Страница 52: ...Initial Configuration 2 10 2 ...
Страница 308: ...Configuring the Switch 3 256 3 ...
Страница 473: ...SNMP Commands 4 165 4 ...
Страница 644: ...Command Line Interface 4 336 4 ...
Страница 648: ...Software Specifications A 4 A ...
Страница 663: ......