6.1.7. tacacs default-config

Syntax

tacacs default-config [key TACACSKEY] [timeout <1-30>]

Parameter


Key TACACSKEY Specify default tacacs+ server key string

timeout <1-30> Specify default tacacs+ server timeout value


Default

Default tacacs+ key is “”.

Default tacacs+ timeout is 5 seconds.

Mode

Global Configuration

Usage

Use tacacs default-config command to modify default values of tacacs+ server.

These default values will be used when user try to create a new tacacs+ server and not assigned these values.

Example

This example shows how modify default tacacs+ configuration

Switch(config)# tacacs default-config timeout 20
Switch(config)# tacacs default-config key tackey

This example shows how to show default tacacs+ configurations.

Switch# show tacacs default-config
Timeout | Key
--------+---------
10. | tackey

This example shows how to create a new tacacs+ server with above default config and show results.

Switch(config)# tacacs host 192.168.1.111
Switch# show tacacs
Prio | Timeout | IP Address | Port | Key
------+---------+------------------+--------+-------
1 | 10 | 192.168.1.111 | 49 | tackey