beautypg.com

Accounting commands, Aaa authorization exec – Accton Technology Edge-corE Fast Ethernet Switch ES3528M-SFP User Manual

Page 404

background image

Command Line Interface

4-108

4

Example

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

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.

Console(config)#line console
Console(config-line)#accounting exec tps
Console(config-line)#exit
Console(config)#line vty
Console(config-line)#accounting exec default
Console(config-line)#

Console(config)#line console
Console(config-line)#accounting commands 15 default
Console(config-line)#