
Chapter 29 Authentication Objects
29.3 test aaa Command
The following table lists the test aaa command you use to teat a user account on an authentication server.
Table 114 test aaa Command
COMMAND | DESCRIPTION |
test aaa {serversecure- | Tests whether a user account exists on the specified |
server} {adldap} host | authentication server. |
| |
[host {hostnameipv4- |
|
address}] port <1..65535> |
|
| |
| |
password password] login- |
|
| |
| |
attribute attribute] |
|
account |
|
29.3.1 Test a User Account Command Example
The following example shows how to test whether a user account named userABC exists on the AD authentication server which uses the following settings:
•IP address: 172.16.50.1
•Port: 389
•
•
•Password: abcdefg
•
The result shows the account exists on the AD server. Otherwise, the NXC returns an error.
Router> test aaa server ad host 172.16.50.1 port 389
dn:: Q049MTIzNzco546L5aOr56uRKSxPVT1XaXRoTWFpbCxEQz1aeVhFTCxEQz1jb20=
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: user
cn:: MTIzNzco546L5aOr56uRKQ==
sn: User
l: 2341100
| 195 |
NXC CLI Reference Guide | |
|
|