Chapter 31 Authentication Objects

Table 153 aaa authentication Commands (continued)

COMMAND

DESCRIPTION

[no] aaa authentication

Sets the profile to use the authentication method(s) in the order specified.

profile-name member1 [member2]

member = group ad, group ldap, group radius, or local.

[member3] [member4]

 

 

Note: You must specify at least one member for each profile. Each type of member

 

can only be used once in a profile.

 

The no command clears the specified authentication method(s) for the profile.

aaa authentication [no] match-

Enable this to treat a user successfully authenticated by a remote auth server as a

default-group

defat-ext-user. If the remote authentication server is LDAP, the default-ext-user

 

account is an ldap-user. If the remote authentication server is AD, the default-ext-

 

user account is an ad-user. If the remote authentication server is RADIUS, the

 

default-ext-user account is a radius-user.

 

 

31.2.1 aaa authentication Command Example

The following example creates an authentication profile to authentication users using the LDAP server group and then the local user database.

Router# configure terminal

Router(config)# aaa authentication LDAPuser group ldap local Router(config)# show aaa authentication LDAPuser

No. Method

===========================================================================

0ldap

1local

Router(config)#

31.3test aaa Command

The following table lists the test aaa command you use to teat a user account on an authentication server.

Table 154 test aaa Command

COMMAND

DESCRIPTION

test aaa {serversecure-server} {adldap} host

Tests whether a user account exists on the specified

{hostnameipv4-address} [host {hostnameipv4-

authentication server.

address}] port <1..65535> base-dn base-dn-string

 

[bind-dn bind-dn-stringpassword password] login-

 

name-attribute attribute [alternative-login-name-

 

attribute attribute] account account-name

 

31.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

Base-dn: DC=ZyXEL,DC=com

256

 

ZyWALL (ZLD) CLI Reference Guide