Command Guide of WGSW-28040
45
1 | 10 | 192.168.1.111 | 49 | tackey
4.2.8 tacacs host
Command:
tacacs host
HOSTNAME
[port
<0-65535>
] [key
TACPLUSKEY
] [priority
<0-65535>
]
[timeout
<1-30>
]
no tacacs [host
HOSTNAME
]
Parameter:
host
HOSTNAME
Specify server host name, both IP address and domain name are available.
port
<0-65535>
Specify server udp port
key
TACPLUSKEY
Specify server key string
priority
<0-65535>
Specify server priority
timeout
<1-30>
Specify server timeout value
Default:
Default key is “”.
Default timeout is 5 seconds.
Mode:
Global Configuration
Usage Guide:
Use “
tacacs host
” command to add or edit server for authentication, authorization or accounting.
Use no form to delete one or all servers from database.
Example:
This example shows how to create a new server
Switch(config)#
tacacs host 192.168.1.111 port 12345 key priority 100 timeout
10
This example shows how to show existing server.
Switch#
show tacacs
Prio | Timeout | IP Address | Port | Key