beautypg.com

Accounting commands, Aaa authorization exec – SMC Networks SMC Tiger 10/100 SMC6128PL2 User Manual

Page 415

background image

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 {tacacs+

| 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.

- tacacs+ - Specifies all TACACS+ 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)#