
aaa policy
Specifies the policy used by AAA services to select the AAA server when multiple servers are configured.
Syntax: [no] aaa policy [first-available | priority | round-robin]
first-available
Selects the first available AAA server from the list of servers.
priority
Selects an AAA server based on priority.
round-robin
Selects an AAA server using a round-robin algorithm.
Description: AAA supports up to five AAA servers. When more than one AAA server is configured, use the aaa policy command to specify which AAA server is used.
Use the aaa policy first-available syntax to select the first available AAA server from the list of configured servers.
Use the aaa policy priority syntax to select the AAA server based on the server's priority. Server priority is configured using the aaa priority command.
Use the aaa policy round-robin syntax to select the AAA server using a round-robin algorithm.
Use the no aaa policy command to select the AAA server using the default policy (first-available).
Factory Default: Select the first available AAA server.
Command Mode: Configuration.
Example 1: In the following example, the aaa policy round-robin command configures AAA services to select an AAA server using a round-robin algorithm, and the show aaa command displays the configuration:
router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
router(config)#aaa policy round-robin
router(config)#end
router)#show aaa
AAA service:ENABLED
AAA protocol:TACACS+
AAA accounting:ENABLED
AAA server search policy:Round-Robin
AAA source interface:loopback 0
AAA server timeout:5 seconds
AAA Server retransmit attempts:2
.
.
.
Example 2: In the following example, the no aaa policy command configures AAA services to select an AAA server the default (first-available) method:
router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
router(config)#no aaa policy
Related Commands: aaa
aaa tacacs host
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%20commands10.html
Last Updated: 02/25/05 at 14:30:26