9-18
Cisco SN5428-2 Storage Router Software Configuration Guide
OL-5239-01
Chapter9 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, 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.
Example9-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
Step1 enable Enter Administrator mode.
Step2 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 uses the services in the authentication list named
webservices2 for authentication (Example9-1).
Command Description
Step1 enable Enter Administrator mode.
Step2 aaa test authentication enable
default $enab15$ ciscoadmin
Test the password configured for Administrator mode access to the
storage router, using the default user name passed to RADIUS
servers. AAA uses the services in the default authentication list
(Example 9-2).