Specifications

9-17
Cisco SN 5428-2 Storage Router Software Configuration Guide
78-15471-01
Chapter 9 Configuring Authentication
Testing Authentication
Testing Authentication
You can perform authentication testing at any time. For example, before enabling iSCSI authentication
for a SCSI routing instance, you can test iSCSI authentication. The user name and password are passed
to AAA authentication, which performs authentication using the specified iSCSI authentication list.
The command response indicates a pass or fail status.
iSCSI Authentication
Use the commands in the following procedure to test iSCSI authentication.
Example 9-1 Testing iSCSI Authentication
*[SN5428-2-MG1]# aaa test authentication iscsi webservices2 labserver foo
Sep 02 14:37:00:aaa:AS_NOTICE :Auth test request being queued
Sep 02 14:37:00:aaa:AS_NOTICE :Auth test request complete, status = pass
Enable Authentication
Use the commands in the following procedure to test Enable authentication.
Example 9-2 Testing Enable Authentication
*[SN5428-2-MG1]# aaa test authentication enable default $enab15$ ciscoadmin
Sep 02 14:37:00:aaa:AS_NOTICE :Auth test request being queued
Sep 02 14:37:00:aaa:AS_NOTICE :Auth test request complete, status = pass
Command Description
Step 1
enable Enter Administrator mode.
Step 2
aaa test authentication iscsi
webservices2 labserver foo
aaa test authentication iscsi
webservices2 labserver2 foo2
Test the user names and passwords listed in the username database.
AAA authentication uses the services in the list named
webservices2 for authentication (Example 9-1).
Command Description
Step 1
enable Enter Administrator mode.
Step 2
aaa test authentication enable
default $enab15$ ciscoadmin
Test the password configured for Administrator mode access to the
storage router, using the default user name. AAA authentication
uses the services in the default list (Example 9-2).