Command Line Interface
4-132
4
authorization exec
This command applies an authorization method to local console or Telnet
connections. Use the
no
form to disable authorization on the line.
Syntax
authorization exec
{
default
|
list-name
}
no authorization exec
•
default
- Specifies the default method list created with the
aaa
authorization exec
command (page 4-131).
•
list-name -
Specifies a method list created with the
aaa authorization exec
command.
Default Setting
None
Command Mode
Line Configuration
Example
show accounting
This command displays the current accounting settings per function and per port.
Syntax
show accounting
[
commands
[
level
]] |
[[
dot1x
[
statistics
[
username
user
-
name
|
interface
interface
]] |
exec
[
statistics
] |
statistics
]
•
commands
- Displays command accounting information.
• level
- Displays command accounting information for a specifiable
command level.
•
dot1x
- Displays dot1x accounting information.
•
exec
- Displays Exec accounting records.
•
statistics
- Displays accounting records.
•
user
-
name
- Displays accounting records for a specifiable username.
•
interface
ethernet
unit
/
port
-
unit
- Stack unit. (Range: 1)
-
port
- Port number. (Range: 1-28/52)
Default Setting
None
Console(config)#line console
Console(config-line)#authorization exec tps
Console(config-line)#exit
Console(config)#line vty
Console(config-line)#authorization exec default
Console(config-line)#
Summary of Contents for 6152PL2 FICHE
Page 2: ......
Page 6: ...vi ...
Page 8: ...viii ...
Page 32: ...Tables xxxii ...
Page 38: ...Figures xxxviii ...
Page 56: ...Initial Configuration 2 10 2 ...
Page 378: ...Configuring the Switch 3 322 3 ...
Page 817: ......