Reference Guide

downloads it and applies it. If the user is found to be coming from the 10.0.0.0 subnet, FTOS also immediately closes the
Telnet connection. Note, that no matter where the user is coming from, they see the login prompt.
When configuring a TACACS+ server host, you can set different communication parameters, such as the key password.
Example of Specifying a TACACS+ Server Host
FTOS#
FTOS(conf)#
FTOS(conf)#ip access-list standard deny10
FTOS(conf-std-nacl)#permit 10.0.0.0/8
FTOS(conf-std-nacl)#deny any
FTOS(conf)#
FTOS(conf)#aaa authentication login tacacsmethod tacacs+
FTOS(conf)#aaa authentication exec tacacsauthorization tacacs+
FTOS(conf)#tacacs-server host 25.1.1.2 key Force10
FTOS(conf)#
FTOS(conf)#line vty 0 9
FTOS(config-line-vty)#login authentication tacacsmethod
FTOS(config-line-vty)#authorization exec tacauthor
FTOS(config-line-vty)#
FTOS(config-line-vty)#access-class deny10
FTOS(config-line-vty)#end
Specifying a TACACS+ Server Host
To specify a TACACS+ server host and configure its communication parameters, use the following command.
Enter the host name or IP address of the TACACS+ server host.
CONFIGURATION mode
tacacs-server host {hostname | ip-address} [port port-number] [timeout
seconds] [key key]
Configure the optional communication parameters for the specific host:
port port-number: the range is from 0 to 65335. Enter a TCP port number. The default is 49.
timeout seconds: the range is from 0 to 1000. Default is 10 seconds.
key key: enter a string for the key. The key can be up to 42 characters long. This key must match a key
configured on the TACACS+ server host. This parameter must be the last parameter you configure.
If you do not configure these optional parameters, the default global values are applied.
To specify multiple TACACS+ server hosts, configure the tacacs-server host command multiple times. If you
configure multiple TACACS+ server hosts, FTOS attempts to connect with them in the order in which they were
configured.
To view the TACACS+ configuration, use the show running-config tacacs+ command in EXEC Privilege mode.
To delete a TACACS+ server host, use the no tacacs-server host {hostname | ip-address}
command.
Example of Connecting with a TACACS+ Server Host
freebsd2# telnet 2200:2200:2200:2200:2200::2202
Trying 2200:2200:2200:2200:2200::2202...
Connected to 2200:2200:2200:2200:2200::2202.
Escape character is '^]'.
Login: admin
Password:
FTOS#
FTOS#
609