Table Of Contents
Configuring Administrative Login Authentication and Authorization on Standalone Content Engines
Understanding Administrative Login Authentication and Authorization
Default Administrative Login Authentication and Authorization Configuration
Understanding Failover for Administrative Login Authentication
Understanding Login Authentication and Authorization Through the Local Database
Understanding RADIUS Authentication and Authorization
Understanding TACACS+ Authentication and Authorization
TACACS+ Enable Password Attribute
Configuring Administrative Login Authentication and Authorization
Specifying RADIUS Authentication Settings for Standalone Content Engines
Specifying TACACS+ Authentication Settings for Standalone Content Engines
Specifying and Enabling the Administrative Login Authentication and Authorization Scheme
Usage Guidelines
Reenabling and Disabling Administrative Login Authentication and Authorization Through the Local Database
Enabling and Disabling Administrative Login Authentication and Authorization Through RADIUS
Enabling and Disabling Administrative Login Authentication and Authorization Through TACACS+
Displaying the Current Administrative Authentication and Authorization Configuration
Configuring Administrative Login Authentication and Authorization on Standalone Content Engines
This chapter describes how to configure administrative login authentication and authorization support for standalone Content Engines. This chapter describes how to configure a standalone Content Engine to use the local database and external RADIUS and TACACS+ databases to process log-in requests from administrators who want to access the Content Engine for configuration, monitoring, or troubleshooting purposes.

Note
Content authentication and authorization, which controls end users' access to the requested content that is served through a standalone Content Engine, is independent of administrative login authentication and authorization for the Content Engine. For information about content authentication and authorization, see Chapter 10, "Configuring Content Authentication and Authorization on Standalone Content Engines."
For complete syntax and usage information for the CLI commands used in this chapter, see the Cisco ACNS Software Command Reference, Release 5.5 publication. For information about configuring administrative login authentication and authorization for Content Engines that are registered with a Content Distribution Manager, see the Cisco ACNS Software Configuration Guide for Centrally Managed Deployments, Release 5.5.
This chapter contains the following sections:
•
Understanding Administrative Login Authentication and Authorization
•
Configuring Administrative Login Authentication and Authorization
•
Displaying the Current Administrative Authentication and Authorization Configuration
Understanding Administrative Login Authentication and Authorization
Administrative login authentication and authorization is used to control administrator access rights to the Content Engine. For example, if an administrator logs in to the Content Engine with the predefined ACNS software superuser account (root administrator), the Content Engine grants that administrator the highest privilege level (level 15), which allows that administrator to perform any Content Engine administrative task during that login session. For instance, that administrator could perform any of the following administrative tasks:
•
Configure the Content Engine.
•
Obtain statistical information that the Content Engine has collected.
•
Reload the Content Engine.
Note
For more information about managing administrative login accounts, see the "Managing Administrative Login Accounts" section on page 5-3.
Figure 17-1 shows how an administrator can log in to the Content Engine through the console or the Content Engine GUI. To process these administrative login requests, the Content Engine checks the specified authentication database to verify the user's username and password and to determine the access rights that this particular administrator should be granted during this login session. When the Content Engine receives an administrative login request, the Content Engine can check its local database or a remote third-party database (the TACACS+ database or the RADIUS database) to verify the username with the password and to determine the access privileges of the administrator.
Figure 17-1 Authentication Databases and a Standalone Content Engine
Note
The ACNS 5.1 software and later releases support secure access or nonsecure access to the Content Engine GUI. (Either secure or nonsecure access to the Content Engine GUI is possible but not both simultaneously.)
The secured Content Engine GUI is the default (https://Content_Engine_ip_address:8003). For more information, see the "Logging in to the Content Engine GUI" section on page 4-55.
You can configure any combination of these authentication and authorization methods to control administrative login access to a standalone Content Engine:
•
Local authentication and authorization—See the "Understanding Login Authentication and Authorization Through the Local Database" section.
•
RADIUS—See the "Understanding RADIUS Authentication and Authorization" section.
•
TACACS+—See the "Understanding TACACS+ Authentication and Authorization" section.
By default, the Content Engine uses the local login authentication method as the primary method to process administrative login requests. When you enable local authentication with one or more other authentication methods, local authentication is always attempted first if the priority flags (primary, secondary, or tertiary) are not set. You cannot specify different login authentication methods for console and Telnet connections.
Default Administrative Login Authentication and Authorization Configuration
By default, the Content Engine uses the local database to obtain login authentication and authorization privileges for administrative users.
Note
The authentication global configuration command configures the authentication methods that determine administrative login and configuration access to the Content Engine.
Table 17-1 lists the default configuration for administrative login authentication and authorization.
Table 17-1 Default Configuration for Administrative Login Authentication
and Authorization
Feature
|
Default Value
|
Administrative login authentication
|
Enabled
|
Administrative configuration authorization
|
Enabled
|
Authentication server failover because the authentication server is unreachable
|
Disabled
|
TACACS+ login authentication (console and Telnet)
|
Disabled
|
TACACS+ authorization (console and Telnet)
|
Disabled
|
TACACS+ key
|
None specified
|
TACACS+ server timeout
|
5 seconds
|
TACACS+ retransmit attempts
|
2 times
|
RADIUS login authentication (console and Telnet)
|
Disabled
|
RADIUS authorization (console and Telnet)
|
Disabled
|
RADIUS server IP address
|
None specified
|
RADIUS server UDP authorization port
|
Port 1645
|
RADIUS key
|
None specified
|
RADIUS server timeout
|
5 seconds
|
RADIUS retransmit attempts
|
2 times
|
You can change these defaults through the Content Engine CLI or GUI, as described in the "Configuring Administrative Login Authentication and Authorization" section.
Understanding Failover for Administrative Login Authentication
By default, Content Engines fail over to the secondary method of administrative login authentication whenever the primary administrative login authentication method fails. In the ACNS software releases prior to the ACNS 5.0.5 software releases, you were not able to change this default method of failover for administrative login authentication.
In the ACNS 5.0.5 software and later releases, you can change this default login authentication failover method. For standalone Content Engines, you can use Content Engine GUI (choose System > Authentication and check the Failover due to Server Unreachable box) or the CLI (use the authentication fail-over server-unreachable global configuration command) to enable failover due to an unreachable server.
The following example sets failover for administrative login authentication to occur only if the authentication server is unreachable. In this case, the Content Engine will only query the next authentication method if the administrative login authentication server is unreachable.
ContentEngine(config)# authentication fail-over server-unreachable
To use the login authentication failover feature, you must set TACACS+ or RADIUS as the primary login authentication method, and local as the secondary login authentication method.
If the failover due to unreachable server option is enabled, then remember the following information:
•
Only two login authentication schemes (a primary and secondary scheme) are allowed on the Content Engine.
•
The Content Engine will fail over from the primary authentication scheme to the secondary authentication scheme only if the specified authentication server is unreachable.
For example, if the failover due to the unreachable server option is enabled and RADIUS is set as the primary login authentication scheme and local is set as the secondary login authentication scheme, the following events occur:
•
When the standalone Content Engine receives an administrative login request, it queries the RADIUS authentication server.
•
If the RADIUS server is reachable, the standalone Content Engine uses this RADIUS database to authenticate the administrator.
•
If the RADIUS server is not reachable, the standalone Content Engine tries the secondary authentication scheme (that is, it queries its local authentication database) to authenticate the administrator.
Note
Only if this RADIUS server is not reachable will the local database be contacted for authentication. In any other case (for example, if the authentication fails in the RADIUS server), then the local database is not contacted for authentication.
Conversely, if the failover due to unreachable server option is disabled, then the standalone Content Engine contacts the secondary authentication database regardless of the reason why the authentication failed with the primary authentication database.
If all the authentication databases are enabled for use, then all the databases are queried in the order of priority selected and based on the failover reason. If no failover reason is specified, then all the databases are queried in the order of their priority. For example, first the primary authentication database is queried, then the secondary authentication database is queried, and finally the tertiary database is queried.
The local and the remote databases (TACACS+ and RADIUS) can be enabled or disabled through the Content Engine CLI or GUI. The Content Engine verifies whether all databases are disabled and if so, sets the system to the default state (the local database is queried for authentication). (For information about this default state, see the "Default Administrative Login Authentication and Authorization Configuration" section.)
For more information on the various types of login authentication and authorization schemes, see the following sections:
•
Understanding Login Authentication and Authorization Through the Local Database
•
Understanding RADIUS Authentication and Authorization
•
Understanding TACACS+ Authentication and Authorization
Note
For information about how to configure administrative login authentication and authorization on a standalone Content Engine, see the "Configuring Administrative Login Authentication and Authorization" section.
Understanding Login Authentication and Authorization Through the Local Database
Local authentication and authorization uses locally configured login and passwords to authenticate administrative login attempts. The login and passwords are local to each Content Engine and are not mapped to individual usernames.
By default, local login authentication is enabled first. You can disable local login authentication only after enabling one or more of the other administrative login authentication methods. However, when local login authentication is disabled, if you disable all other administrative login authentication methods, local login authentication is reenabled automatically.
Understanding RADIUS Authentication and Authorization
RADIUS is a client/server authentication and authorization access protocol used by a network access server (NAS) to authenticate users attempting to connect to a network device. The NAS functions as a client, passing user information to one or more RADIUS servers. The NAS permits or denies network access to a user based on the response it receives from one or more RADIUS servers. RADIUS uses the User Datagram Protocol (UDP) for transport between the RADIUS client and server.
You can configure a RADIUS key on the client and server. If you configure a key on the client, it must be the same as the one configured on the RADIUS servers. The RADIUS clients and servers use the key to encrypt all RADIUS packets transmitted. If you do not configure a RADIUS key, packets are not encrypted. The key itself is never transmitted over the network.
Note
For more information about how the RADIUS protocol operates, see the RFC 2138, Remote Authentication Dial In User Service (RADIUS).
RADIUS authentication usually occurs in these instances:
•
Administrative login authentication—When an administrator first logs in to the standalone Content Engine to configure the Content Engine for monitoring, configuration, or troubleshooting purposes. For more information, see the "Enabling and Disabling Administrative Login Authentication and Authorization Through RADIUS" section.
•
HTTP request authentication—When an end user sends a service request that requires privileged access to content that is served by the Content Engine. For more information, see the "Configuring the RADIUS Authentication Service" section on page 10-19.
RADIUS authentication is disabled by default. You can enable RADIUS authentication and other authentication methods at the same time. You can also specify which method to use first. For more information about configuring RADIUS authentication, see the "Specifying RADIUS Authentication Settings for Standalone Content Engines" section.
Understanding TACACS+ Authentication and Authorization
TACACS+ controls access to network devices by exchanging Network Access Server (NAS) information between a network device and a centralized database to determine the identity of a user or an entity. TACACS+ is an enhanced version of TACACS, a UDP-based access-control protocol specified by RFC 1492. TACACS+ uses TCP to ensure reliable delivery and encrypt all traffic between the TACACS+ server and the TACACS+ daemon on a network device.
TACACS+ works with many authentication types, including fixed password, one-time password, and challenge-response authentication. TACACS+ authentication usually occurs in these instances:
•
Administrative login authentication—When an administrator first logs in to the standalone Content Engine to configure the Content Engine for monitoring, configuration, or troubleshooting purposes. For more information, see the "Enabling and Disabling Administrative Login Authentication and Authorization Through TACACS+" section.
•
HTTP request authentication—When an end user sends a service request that requires privileged access to content that is served by the Content Engine. For more information, see the "Configuring the TACACS+ Authentication Service" section on page 10-20.
When a user requests restricted services, TACACS+ encrypts the user password information using the MD5 encryption algorithm and adds a TACACS+ packet header. This header information identifies the packet type being sent (for example, an authentication packet), the packet sequence number, the encryption type used, and the total packet length. The TACACS+ protocol then forwards the packet to the TACACS+ server.
A TACACS+ server can provide authentication, authorization, and accounting functions. These services, while all part of TACACS+, are independent of one another, so a given TACACS+ configuration can use any or all of the three services.
When the TACACS+ server receives a packet, it does the following:
•
Authenticates the user information and notifies the client that the login authentication has either succeeded or failed.
•
Notifies the client that authentication will continue and that the client must provide additional information. This challenge-response process can continue through multiple iterations until login authentication either succeeds or fails.
You can configure a TACACS+ key on the client and server. If you configure a key on the Content Engine, it must be the same as the one configured on the TACACS+ servers. The TACACS+ clients and servers use the key to encrypt all TACACS+ packets transmitted. If you do not configure a TACACS+ key, packets are not encrypted.
TACACS+ authentication is disabled by default. You can enable TACACS+ authentication and local authentication at the same time.
TACACS+ Enable Password Attribute
The ACNS software CLI EXEC mode is used for setting, viewing, and testing system operations. It is divided into two access levels, user and privileged. To access privileged-level EXEC mode, enter the enable EXEC command at the user access level prompt and specify a privileged EXEC password (superuser or admin-equivalent password) when prompted for a password.
In TACACS+ there is an enable password feature that allows an administrator to define a different enable password per administrative-level user. If an administrative-level user logs in to the Content Engine with a normal-level user account (privilege level of 0) instead of an admin or admin-equivalent user account (privilege level of 15), that user must enter the admin password in order to access privileged-level EXEC mode. This requirement applies even if ACNS users are using TACACS+ for login authentication.
Password:
When using TACACS+ with ACNS, the maximum length for a password is 31 characters.
Configuring Administrative Login Authentication and Authorization
This section describes how to configure login authentication and authorization for ACNS administrators who want to log in to the Content Engine for monitoring, configuration, or troubleshooting purposes.
Note
Content authentication and authorization, which controls end users' access to the requested content that is served through a standalone Content Engine, is independent of the administrative login authentication and authorization for the Content Engine.
For information about content authentication and authorization, see Chapter 10, "Configuring Content Authentication and Authorization on Standalone Content Engines."
To configure administrative login authentication and authorization for standalone Content Engines, follow these steps:
Step 1
Determine the login authentication scheme that you want to configure the standalone Content Engine to use when authenticating administrative login requests (for example, use the local database as the primary login database and your RADIUS server as the secondary authentication database).
Step 2
Configure the login authentication servers settings on the Content Engine (if a remote authentication database is to be used).
For example, specify the IP address of the remote RADIUS servers or TACACS+ servers that the Content Engine should use to authenticate login requests. For more information, see the following sections:
•
Specifying RADIUS Authentication Settings for Standalone Content Engines
•
Specifying TACACS+ Authentication Settings for Standalone Content Engines
Step 3
Specify the login authentication configuration scheme that the Content Engine should use to process administrative login requests:
•
Specify the administrative login authentication scheme.
•
Specify the administrative login authorization scheme.
•
Specify the failover scheme for the administrative login authentication server (optional).
For example, specify which authentication database the Content Engine should check to process an administrative login request. For more information, see the "Specifying and Enabling the Administrative Login Authentication and Authorization Scheme" section.
Caution 
Make sure that RADIUS or TACACS+ authentication is configured and operating correctly before disabling local authentication and authorization. If you disable local authentication and RADIUS or TACACS+ is not configured correctly, or if the RADIUS or TACACS+ server is not online, you may be unable to log in to the Content Engine.
When local authentication is disabled, if you disable all other authentication methods, local authentication is reenabled automatically.
The following sections describe how to specify authentication server settings for a standalone Content Engine.
•
Specifying RADIUS Authentication Settings for Standalone Content Engines
•
Specifying TACACS+ Authentication Settings for Standalone Content Engines
Specifying RADIUS Authentication Settings for Standalone Content Engines
RADIUS authentication clients reside on the Content Engine running ACNS 5.x software. When enabled, these clients send authentication requests to a central (remote) RADIUS server, which contains login authentication and network service access information.
To configure RADIUS authentication on a standalone Content Engine, you must configure a set of RADIUS authentication server settings on the Content Engine. You can use the Content Engine GUI or the CLI to configure this set of RADIUS authentication server settings for a Content Engine.
Table 17-2 describes the RADIUS authentication settings.
Table 17-2 RADIUS Authentication Settings for a Standalone Content Engine
Setting
|
Description
|
RADIUS server
|
RADIUS servers that the Content Engine is to use for RADIUS authentication. To enable the Content Engine to use a specific RADIUS server, enter the IP address or hostname of the RADIUS server and port information. Up to five different hosts are allowed. Early deployment of RADIUS was done using port number 1645, though the official port number for RADIUS is now 1812. Up to 5 different ports are allowed.
|
RADIUS key
|
Key used to encrypt and authenticate all communication between the RADIUS client (the standalone Content Engine) and the RADIUS server. The maximum number of characters in the key is 15. There is no default.
Tip  Be sure the same RADIUS key is enabled on the RADIUS server.
|
RADIUS timeout interval
|
Number of seconds that the Content Engine waits for a response from the specified RADIUS authentication server before declaring a timeout. The range is 1 to 20 seconds. The default value is 5 seconds.
|
RADIUS retransmit count
|
Number of times the Content Engine is to retransmit its connection to the RADIUS if the RADIUS timeout interval is exceeded. The range is 1 to 3 tries. The default value is 2 tries.
|
After configuring these RADIUS authentication settings on the Content Engine, you can enable the following types of RADIUS authentication on the Content Engine:
•
RADIUS login authentication and authorization, as described in the "Enabling and Disabling Administrative Login Authentication and Authorization Through RADIUS" section.
•
RADIUS HTTP request authentication, as described in the "Configuring the RADIUS Authentication Service" section on page 10-19.
To use the Content Engine GUI to configure RADIUS authentication settings on a standalone Content Engine, choose Caching > RADIUS. Use the displayed RADIUS Authentication Settings window. Click the Enable RADIUS On radio button to enable RADIUS authentication on this Content Engine. Use the RADIUS Authentication Settings window to specify the other RADIUS authentication settings. For more information about this window, click the HELP button in the window.
To use the Content Engine CLI to configure RADIUS authentication settings on a standalone Content Engine, follow these steps:
Step 1
Specify one or more RADIUS servers. Optionally, specify the destination UDP port to use on the server. The default port is 1645.
ContentEngine(config)# radius-server host ip_addr [auth-port port]
This example shows how to specify a RADIUS server at 172.16.52.3:
ContentEngine(configure)# radius-server 172.16.52.3
Step 2
Specify the RADIUS key on the Content Engine.
ContentEngine(configure)# radius-server key myradiuskey
Step 3
Specify the RADIUS timeout interval.
For example, configure the Content Engine to wait 10 seconds before declaring a timeout if it has not received a response from the RADIUS server:
ContentEngine(config)# radius-server timeout 10
Step 4
Specify the RADIUS retransmit count.
For example, configure the Content Engine to retransmit three times to the RADIUS server if a RADIUS timeout occurs:
ContentEngine(config)# radius-server retransmit 3
Note
For more information about a RADIUS authentication setting (for example, a RADIUS key), see Table 17-2. For more detailed information about the radius-server global configuration command, see the Cisco ACNS Software Command Reference, Release 5.5 publication.
The following example enables the RADIUS client on the Content Engine, specifies a remote RADIUS server for authentication, specifies the RADIUS key on the Content Engine, accepts retransmit defaults, and excludes the domain name and mydomain.net domains from RADIUS authentication. Configuration can be verified with the show radius-server and show rule all EXEC commands.
ContentEngine(config)# radius-server enable
ContentEngine(config)# radius-server host 172.16.90.121
ContentEngine(config)# radius-server key myradiuskey
ContentEngine(config)# rule enable
ContentEngine(config)# rule no-auth domain mydomain.net
You can now enable RADIUS as a administrative login authentication and authorization method for this Content Engine, as described in the "Enabling and Disabling Administrative Login Authentication and Authorization Through RADIUS" section.
Specifying TACACS+ Authentication Settings for Standalone Content Engines
In order to configure TACACS+ authentication on standalone Content Engines, you must configure a set of TACACS+ authentication settings on the Content Engine. You can use the Content Engine CLI or GUI to configure this set of TACACS+ authentication settings for a standalone Content Engine.
Table 17-3 describes the TACACS+ authentication settings.
Note
No TACACS+ authentication will be performed if no TACACS+ servers are configured on the Content Engine.
Table 17-3 TACACS+ Authentication Settings for Standalone Content Engines
Setting
|
Description
|
TACACS+ server
|
TACACS+ servers that the Content Engine is to use for TACACS+ authentication. Explicitly specify the primary TACACS+ server; otherwise, the Content Engine makes its own decision. You an configure one primary TACACS+ server and two backup TACACS+ servers. TACACS+ uses the standard port (port 49) for communication, based on the specified service.
|
TACACS+ key
|
Secret key that the Content Engine will use to communicate with the TACACS+ server. The maximum number of characters in the TACACS+ key should not exceed 99 printable ASCII characters (except tabs). An empty key string is the default. All leading spaces are ignored; spaces within and at the end of the key string are not ignored. Double quotes are not required even if there are spaces in the key, unless the quotes themselves are part of the key. There is no default.
Tip  Be sure the same TACACS+ key is specified on the TACACS+ server.
|
TACACS+ timeout interval
|
Number of seconds that the Content Engine will wait for a response from the specified TACACS+ authentication server before declaring a timeout. The range is 1 to 20 seconds. The default value is 5 seconds.
|
TACACS+ retransmit count
|
Number of times that the Content Engine is to retransmit its connection to the TACACS+ if the TACACS+ timeout interval is exceeded. The range is 1 to 3 tries. The default value is 2 tries.
|
TACACS+ password authentication method
|
Method for password authentication. By default, the Password Authentication Protocol (PAP) is used for password authentication. The other option is to use ASCII clear text.
|
To use the Content Engine CLI to configure TACACS+ authentication settings on a standalone Content Engine, follow these steps:
Step 1
Specify one or more TACACS+ servers.
ContentEngine(config)# tacacs server ip_addr [primary]
This example shows how to specify a specific TACACS+ server as a primary server:
ContentEngine(config)# tacacs server 172.16.50.1 primary
This example shows how to specify a specific TACACS+ server as a backup server. This can be achieved by not specifying the primary option.:
ContentEngine(config)# tacacs server 172.16.50.2
Step 2
Specify the TACACS+ key.
ContentEngine(config)# tacacs key key
Step 3
Specify the TACACS+ timeout interval.
For example, configure the Content Engine to wait 15 seconds before declaring a timeout if it has not received a response from the TACACS+ server:
ContentEngine(config)# tacacs timeout 15
Step 4
Specify the TACACS+ retransmit count.
For example, configure the Content Engine to retransmit only one time to the TACACS+ server if a TACACS+ timeout occurs:
ContentEngine(config)# tacacs retransmit 1
Step 5
Specify the method for TACACS+ password authentication.
For example, specify ASCII clear text by entering the ASCII keyword:
ContentEngine(config)# tacacs password ascii
Note
For more information about a TACACS+ authentication setting (for example, specifying a TACACS+ key), see Table 17-3. For more detailed information about the tacacs server global configuration command, see the Cisco ACNS Software Command Reference, Release 5.5 publication.
In the following example, a TACACS+ server with the hostname of spearhead is configured as the primary TACACS+ server. The Content Engine is configured to use the same key (human789) as the one used on the TACACS+ server (the server named spearhead) and the default timeout interval, number of retransmits, and password types are changed. This example also shows how to use the show tacacs EXEC command to view the current TACACS+ configuration on the Content Engine:
ContentEngine(config)# tacacs host spearhead primary
ContentEngine(config)# tacacs key human789
ContentEngine(config)# tacacs timeout 10
ContentEngine(config)# tacacs retransmit 5
ContentEngine(config)# tacacs password ascii
ContentEngine(config)# exit
ContentEngine# show tacacs
Login Authentication for Console/Telnet Session: enabled (secondary)
Configuration Authentication for Console/Telnet Session: enabled (secondary)
TACACS+ Authentication is off
---------------------------- ------
You can now enable TACACS+ as an administrative login authentication and authorization method for this Content Engine, as described in the "Enabling and Disabling Administrative Login Authentication and Authorization Through TACACS+" section.
Specifying and Enabling the Administrative Login Authentication and Authorization Scheme
This section describes how to define and modify the various administrative login authentication and authorization schemes (the authentication configuration) for a standalone Content Engine:
•
Usage Guidelines
•
Reenabling and Disabling Administrative Login Authentication and Authorization Through the Local Database
•
Enabling and Disabling Administrative Login Authentication and Authorization Through RADIUS
•
Enabling and Disabling Administrative Login Authentication and Authorization Through TACACS+
Caution 
Make sure that RADIUS or TACACS+ authentication is configured and operating correctly before disabling local authentication and authorization. If you disable local authentication and if RADIUS or TACACS+ is not configured correctly, or if the RADIUS or TACACS+ server is not online, you may be unable to log in to the Content Engine.
Usage Guidelines
When defining or modifying the authentication configuration method for a standalone Content Engine, remember the following important information:
•
You can use the Content Engine GUI or the CLI to choose between using an external access server or the internal (local) Content Engine-based AAA system for user access management.
•
You can configure any combination of these authentication and authorization methods to control access and set privileges on a standalone Content Engine:
–
Local authentication and authorization
–
RADIUS authentication and authorization
–
TACACS+ authentication and authorization
•
To configure the administrative login authentication and authorization (configuration) options, use the authentication global configuration command:
authentication {configuration {local | radius | tacacs} enable [primary | secondary | tertiary] | fail-over server-unreachable | login {local | radius | tacacs} enable [primary | secondary | tertiary]}
Table 17-4 describes the parameters for the authentication global configuration command.
Table 17-4 Parameters for the authentication CLI Command
Parameter
|
Description
|
configuration
|
Sets configuration authentication (authorization).
|
local
|
Selects the local method for authentication.
|
radius
|
Selects the RADIUS server for authentication.
|
tacacs
|
Selects the TACACS+ server for authentication.
|
enable
|
Enables the database for configuration or login authentication.
|
primary
|
(Optional) Sets the selected authentication database as the primary.
|
secondary
|
(Optional) Sets the selected authentication database as the secondary.
|
tertiary
|
(Optional) Sets the selected authentication database as the tertiary.
|
fail-over server-unreachable
|
Queries the next authentication server only if the current authentication server is unreachable.
|
login
|
Sets the login authentication database.
|
•
The authentication global configuration command configures both administrative login and configuration access to the standalone Content Engine.
•
The authentication login local and authentication configuration local global configuration commands use a local database for authentication and authorization:
–
The authentication login command specifies the administrative login authentication method used to determine whether the administrator has any level of permission to access the Content Engine.
–
The authentication configuration command determines the privileges (level of user access to the Content Engine) for authenticated administrators.
•
The authentication login radius and authentication configuration radius global configuration commands use a remote RADIUS server to determine the level of administrative access.
•
By default, the local method is enabled, with TACACS+ and RADIUS both disabled for administrative login and configuration. Whenever TACACS+ and RADIUS are disabled, the local method is automatically enabled. TACACS+, RADIUS, and local methods can be enabled at the same time.
–
The primary option specifies the first method to attempt for both administrative login and configuration.
–
The secondary option specifies the method to use if the primary method fails.
–
The tertiary option specifies the method to use if both the primary and the secondary methods fail.
If all methods of an authentication login or authentication configuration command are configured as primary, or all as secondary or tertiary, the local method is attempted first, then TACACS+, and then RADIUS.
The following example enables local, TACACS+, and RADIUS authentication and authorization, setting TACACS+ as the first method used, local as the secondary method if the TACACS+ method fails, and RADIUS as the tertiary method to use if both local and TACACS+ fail:
ContentEngine(config)# authentication login tacacs enable primary
ContentEngine(config)# authentication login local enable secondary
ContentEngine(config)# authentication login radius enable tertiary
ContentEngine(config)# authentication configuration tacacs enable primary
ContentEngine(config)# authentication configuration local enable secondary
ContentEngine(config)# authentication configuration radius enable tertiary
Note
The tacacs global configuration command and a TACACS+ server must be configured to use the TACACS+ authentication and authorization method. For information about configuring a TACACS+ server, see the "Specifying TACACS+ Authentication Settings for Standalone Content Engines" section.
The radius-server global configuration command and a RADIUS server must be configured to use the RADIUS authentication and authorization method. For information about configuring a RADIUS server, see the "Specifying RADIUS Authentication Settings for Standalone Content Engines" section.
•
Authentication configuration applies to the following:
–
Console and Telnet connection attempts
–
Secure FTP (SFTP), SSH (SSH Version 1 and Version 2), and Websense server access
•
If you configure a RADIUS or TACACS+ key on the Content Engine (the RADIUS and the TACACS+ client), make sure that you configure an identical key on the RADIUS or TACACS+ server.
•
If you configure multiple RADIUS or TACACS+ servers, the first server configured is the primary server, and authentication requests are sent to this server first. You can also specify secondary and tertiary servers for authentication and authorization purposes.
–
You can specify a server as primary, secondary, or tertiary by using the primary, secondary, or tertiary keywords in the authentication global configuration command.
–
You can also specify a server as primary, secondary, or tertiary from the Content Engine GUI. Choose System > Authentication and then choose Primary, Secondary, or Tertiary from the drop-down list next to the appropriate server.
•
By default, the Content Engine uses the local database to authenticate and authorize administrative login requests. The Content Engine verifies whether all authentication databases are disabled and if so, sets the system to the default state. For information on this default state, see the "Default Administrative Login Authentication and Authorization Configuration" section.
Reenabling and Disabling Administrative Login Authentication and Authorization Through the Local Database
By default, the Content Engine is configured to use its local database to authenticate and authorize administrative login requests. This scheme of authentication and authorization is referred to as the local method. You can use the Content Engine GUI or CLI to disable and reenable this method of authentication and authorization on a standalone Content Engine.
Caution 
Make sure that RADIUS or TACACS+ authentication is configured and operating correctly before disabling local authentication and authorization. If you disable local administrative authentication and if RADIUS or TACACS+ is not configured correctly, or if the RADIUS or TACACS+ server is not online, you may be unable to log in to the Content Engine.
If you have disabled it on a Content Engine and want to reenable it from the Content Engine GUI, choose System > Authentication. In the displayed Authentication Configuration window, check the Enable box next to Local to enable local login authentication. By default, the local database is the primary database for administrative login authentication. To change this default, choose another option (for example, Secondary or Tertiary) from the drop-down list next to Local. Click Update. For more detailed information about how to use the Authentication Configuration window to perform this task, click the HELP button in the window.
To use the Content Engine CLI to reenable the local method on a standalone Content Engine, follow these steps:
Step 1
Reenable local login authentication.
ContentEngine(config)# authentication login local enable
Step 2
Reenable local authorization of administrative users (control their privileges during the session).
ContentEngine(config)# authentication configuration local enable
There are two privilege levels that can be granted to administrative users: normal-level administrative access (restricted privilege level of 0, or superuser administrative access [privilege level of 15]). For more information about privilege levels for administrative users, see the "Managing Administrative Login Accounts" section on page 5-3.
Note
To disable local administrative authentication and authorization on a standalone Content Engine, use the no form of the authentication global configuration command (for example, use the no authentication login local enable command to disable local administrative authentication).
Enabling and Disabling Administrative Login Authentication and Authorization Through RADIUS
When configuring a standalone Content Engine to use RADIUS to authenticate and authorize administrative login requests, keep these important points in mind:
•
By default, RADIUS authentication and authorization is disabled on a standalone Content Engine.
•
Before enabling RADIUS authentication on the Content Engine, you must specify at least one RADIUS server for the Content Engine to use. For information about specifying a RADIUS server, see the "Specifying RADIUS Authentication Settings for Standalone Content Engines" section.
•
You can enable RADIUS authentication and other authentication methods at the same time. You can specify which method to use first using the primary keyword. When local authentication is disabled, if you disable all other authentication methods, local authentication is reenabled automatically.
•
You can use the Content Engine GUI or the CLI to enable RADIUS authentication and authorization on a standalone Content Engine.
From the Content Engine GUI, choose System > Authentication. Use the displayed Authentication Configuration window. For more information about how to use the Authentication Configuration window, click the HELP button in the window.
To use the Content Engine CLI to enable RADIUS authentication and authorization on a standalone Content Engine, follow these steps:
Step 1
Enable RADIUS authentication for normal login mode.
ContentEngine(config)# authentication login radius enable [primary] [secondary]
[tertiary]
For example, to force the Content Engine to try RADIUS authentication first (to try it before using TACACS+ authentication), enter the following command:
ContentEngine(config)# authentication login radius enable primary
Step 2
Enable RADIUS authorization.
ContentEngine(config)# authentication configuration radius enable [primary] [secondary]
[tertiary]
For example, to force the Content Engine to try RADIUS authorization first (to try it before using TACACS+ authorization), enter the following command:
ContentEngine(config)# authentication configuration radius enable primary
Note
To disable RADIUS authentication and authorization on a standalone Content Engine, use the no form of the authentication global configuration command (for example, use the no authentication login radius enable command to disable RADIUS authentication).
Enabling and Disabling Administrative Login Authentication and Authorization Through TACACS+
When configuring a standalone Content Engine to use TACACS+ to authenticate and authorize administrative login requests, keep this important points in mind:
•
By default, TACACS+ authentication and authorization is disabled on a standalone Content Engine.
•
The authentication login tacacs and authentication configuration tacacs commands use a remote TACACS+ server for administrative login authentication and authorization, and to determine the level of administrative access.
•
Before enabling TACACS+ authentication on the Content Engine, you must specify at least one TACACS+ server for the Content Engine to use. For information on specifying a TACACS+ server, see the "Specifying TACACS+ Authentication Settings for Standalone Content Engines" section.
•
If you are using both RADIUS and TACACS+, you can use the primary keyword to force the Content Engine to try TACACS+ authentication first.
•
You can use the Content Engine GUI or the CLI to enable TACACS+ authentication and authorization on a standalone Content Engine.
To enable TACACS+ authentication and authorization from the Content Engine GUI, choose System > Authentication, and use the displayed Authentication Configuration window. For more information about how to use the Authentication Configuration window, click the HELP button in the window.
To use the Content Engine CLI to enable TACACS+ authentication and authorization on a standalone Content Engine, follow these steps:
Step 1
Enable TACACS+ authentication for normal login mode.
ContentEngine(config)# authentication login tacacs enable [primary]
[secondary] [tertiary]
For example, to force the Content Engine to try TACACS+ authentication first (to try it before using RADIUS authentication), enter this command:
ContentEngine(config)# authentication login tacacs enable primary
Step 2
Enable TACACS+ authorization.
ContentEngine(config)# authentication configuration tacacs enable [primary]
[secondary] [tertiary]
For example, to force the Content Engine to try TACACS+ authorization first (to try it before using RADIUS authorization), enter this command:
ContentEngine(config)# authentication configuration tacacs enable primary
Note
To disable TACACS+ authentication and authorization on a standalone Content Engine, use the no form of the authentication global configuration command (for example, use the no authentication login tacacs enable global configuration command to disable TACACS+ authentication).
Displaying the Current Administrative Authentication and Authorization Configuration
To display the current administrative login authentication and authentication configuration on a standalone Content Engine, enter the show authentication user EXEC command. As the following sample output shows, the authentication schemes (for example, local, RADIUS, or TACACS+) that the Content Engine is configured to use to authenticate and authorize administrative login requests are displayed:
ContentEngine# show authentication user
Authentication scheme fail-over reason: server unreachable
Login Authentication: Console/Telnet Session
----------------------------- -----------------------
Configuration Authentication: Console/Telnet Session
----------------------------- -----------------------