
aaa tacacs priority
Defines the priority of the specified AAA server.
Syntax: [no] aaa tacacs [host hostname] priority [primary | secondary]
tacacs
Specifies TACACS+ as the AAA services protocol.
hostname
The DNS hostname or IP address of an AAA server.
primary
This host is selected first from the list of AAA servers.
secondary
This host is selected second from the list of AAA servers.
Description: AAA policy determines how AAA selects an AAA server when multiple AAA servers are configured. When AAA policy is configured to use priority, AAA services first selects the AAA server with the priority set to primary.
Up to 5 AAA servers can be configured.
Use the aaa tacacs host priority command to change the default priorities of servers.
Use the aaa tacacs host priority primary command to set the priority of the specified host to primary. The priority of all other hosts in the list of servers is set to secondary.
Use the aaa tacacs host priority secondary command to set the priority of the specified host to secondary.
Factory Default: If no primary server is configured, all servers in the server list default to secondary using a first-available policy.
Command Mode: Configuration.
Example: In the following example:
- The aaa policy priority command configures AAA to select an AAA server based on priority.
- The aaa host command defines an AAA server.
- The aaa tacacs host priority command configures the priority of the server as secondary.
- The show aaa command displays the configuration:
router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
router(config)#aaa policy priority
router(config)#aaa tacacs host aaaserver1
router(config)#aaa tacacs host aaaserver1 priority secondary
router(config)#end
router)#show aaa
.
.
.
AAS Server 1:
Hostname: aaaserver1
TCP/IP port: 49
Priority: secondary
.
.
.
Related Commands: aaa tacacs host
aaa policy
show aaa
Copyright © 2005
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: AAA%20commands.fm
HTML File Name: AAA%20commands19.html
Last Updated: 02/25/05 at 14:30:26