Header
Home | Set as homepage | Add to favorites
  Search the Site     » Advanced Search
Sections
Syndication


Blogroll:

||||| ALL Cisco-Network ARTICLES |||||  
CCIE Journey,
The CCIE Journey,


Define AAA Group Server (Optional)

Sep 17,2009 by alperen

image

Define AAA Group Server (Optional)

The global configuration mode command aaa group server provides a way to group existing defined server hosts. By grouping a set of servers, you can use the group name with other  commands to select that subset of server hosts to use them for a particular service. A server group is comprised of server hosts of a particular type. Currently, the IOS supports RADIUS and TACACS+ server hosts. The aaa group server command lists the IP addresses of the selected server hosts from the global protocol-server host list. To remove a server group from the configuration list, enter the no form of this command. The syntax is

Rtr1(config)#aaa group server {tacacs+ | radius} group-name
Rtr1(config)#no aaa group server tacacs+ | radius group-name

group-name

Character string used to name the group of servers

The command was introduced in IOS version 12.0(5)T. There are no default values.

The command can only be entered after the aaa new-model command turns on the AAA features. The entry is followed by one or more server server-name statements identifying the servers to be included in the group. The next two sample outputs demonstrate this; be sure to note the prompt for the server entries.

The following example uses the three TACACS+ servers created in the earlier example and selects only two them to be included in the server group.

Rtr1(config)#aaa new-model 
Rtr1(config)#tacacs-server timeout 7
Rtr1(config)#tacacs-server key cisco-key
Rtr1(config)#tacacs-server host tac-serv1
Rtr1(config)#tacacs-server host 192.168.1.4
Rtr1(config)#tacacs-server host 192.168.6.4 port 1500 timeout 3 key cisco9
Rtr1(config)#aaa group server tacacs+ tac-1
Rtr1(config-sg-tacacs+)#server tac-serv1
Rtr1(config-sg-tacacs+)#server 192.168.6.4

The following RADIUS example shows the configuration of an AAA group server named rad-1, which includes two of the three defined servers:

Rtr1(config)#aaa new-model 
Rtr1(config)#radius-server timeout 7
Rtr1(config)#radius-server key cisco-key
Rtr1(config)#radius-server host rad-serv1
Rtr1(config)#radius-server host 192.168.1.4
Rtr1(config)#radius-server host 192.168.6.4 timeout 3 key cisco9
Rtr1(config)#aaa group server radius rad-1
Rtr1(config-sg-radius)#server rad-serv1 auth-port 1800 acct-port 1801
Rtr1(config-sg-radius)#server 192.168.6.4 auth-port 1802 acct-port 1803

The server statement allows the auth-port and acct-port to be defined. If not specified, the default value of auth-port is 1645 and the default value of acct-port is 1646. The output for next paragraph demonstrates this.

With either protocol, if you attempt to create the server group without first defining the servers with protocol-server host commands, you’ll get the following error messages because the IOS attempts to verify the server presence. Notice the entry with

Notice that the entry with a named server—rad-serv1—returned an invalid input error and the command was rejected. The entry that used the server IP address—192.168.6.4—returned a system warning message indicating that the specified address can’t be found, but the entry was accepted. The show run command in the same output confirms this. The result is identical for TACACS+. So, if you’re going to define servers by name, it’s critical for your ip host table to be created or your ip name-server command(s) to be issued before creating your server groups.


1849 times read

Related news

» Enable Authorization Proxy (auth-proxy) for AAA
by alperen posted on Sep 17,2009
» Define the Security Server—RADIUS
by alperen posted on Sep 17,2009
» Define the Security Server—RADIUS
by alperen posted on Jul 12,2009
» Configure NAS to RADIUS Server Communication
by alperen posted on Aug 20,2009
» Defining the AAA Server
by alperen posted on Feb 06,2010
Did you enjoy this article?
Rating: 5.00Rating: 5.00Rating: 5.00Rating: 5.00Rating: 5.00 (total 3 votes)

comment Comments (0 posted) 

More Top News
CCSP-Cisco Certified Security Professional
Most Popular
Most Commented
Featured Author