跳转到内容
Ask AI

AAA Configuration

此内容尚不支持你的语言。

[Command] show aaa

[Purpose] View the authentication, authorization and billing settings configured in the network node

[View] System view

[Use Cases]

sonic# show aaa
AAA accounting command local (default)
AAA authentication login local (default)
AAA authentication failthrough False (default)
AAA authorization command local (default)

[Command] show tacacs status

[Purpose] Display the TACACS server status

[View] System view

[Use Cases]

sonic# show tacacs status
SERVER IP STATUS
------------ --------
192.168.0.78 online

[Command] aaa accounting command {tacacs+|local|default}

[Purpose] Configure AAA billing method

[Parameter]

ParameterDescription
tacacs+Command billing with TACACS+
localLocal Billing
defaultReset back to default values, local billing

[View] System configuration view

[Notes] Tacacs+ and local can be used individually or in combination.

[Use Cases]

sonic(config)# aaa accounting command local tacacs+

aaa authentication failthrough {enable|default}

Section titled “aaa authentication failthrough {enable|default}”

[Command] aaa authentication failthrough {enable|default}

no aaa authentication failthrough enable

[Purpose] Enable fail-through

[Parameter]

default Default

enable Enable

[View] System configuration view

[Notes] This command is useful when the user has multiple tacacs + servers configured and the user has tacacs+ authentication enabled. When an authentication request to the first server fails, this configuration allows the request to continue to the next server. When this configuration is enabled, the authentication process will continue through all servers configured. If this option is disabled and the authentication request fails on the first server, the authentication process will stop and logins will be disabled.

[Use Cases]

sonic(config)# aaa authentication failthrough enable

aaa authentication fallback {enable|default}

Section titled “aaa authentication fallback {enable|default}”

[Command] aaa authentication fallback {enable|default}

no aaa authentication fallback enable

[Purpose] Enable fallback

[Parameter]

default Default

enable Enable

[View] System configuration view

[Notes] When enabled, this command will fall back to local authentication when tacacs + authentication fails.

[Use Cases]

sonic(config)# aaa authentication fallback enable

[Command] aaa authentication login {tacacs+|local|default}

[Purpose] Configure aaa login authentication method

[Parameter]

ParameterDescription
tacacs+Remote authentication based on tacacs +
localUsing Local Authentication
defaultReset back to the default value to enable local authentication only

[View] System configuration view

[Notes] Tacacs+ and local as optional parameter, can be configured separately or combined.

[Use Cases]

sonic(config)# aaa authentication login tacacs+,local

[Command] aaa authentication command {tacacs+|local|default}

[Purpose] Configure the aaa command authentication method

[Parameter]

ParameterDescription
tacacs+Using tacacs + for command authentication
localCommand Local Authentication
defaultReset back to default values, local forensics

[View] System configuration view

[Notes] Tacacs+ and local as optional parameter, can be configured separately or combined.

[Use Cases]

sonic(config)# aaa authentication command tacacs+,local