Configures the type of subscriber authentication for PPP sessions
terminated at the current LNS.
Privilege
Security Administrator, Administrator
Mode
Exec > Global Configuration > Context Configuration > LNS
Service Configuration
configure > context
context_name
> lns-service
service_name
Entering the above command sequence results in the following prompt:
[context_name]host_name(config-lns-service)#
Syntax
authentication { { [ allow-noauth ] [ chap chap_priority ] [ mschap mschap_priority ] [ pap pap_priority ] } | msid-auth }
allow-noauth
Default: Disabled
Configures the LNS to allow PPP sessions access even though they have
not been authenticated. This command issued by itself causes the LNS not to
attempt authentication for any PPP sessions.
When the
allow-noauth option is used in conjunction
with commands specifying other authentication protocols and priorities to use,
then if attempts to use those protocols fail, the system treats the
allow-noauth option as the lowest priority.
If no authentication is allowed, the system constructs an Network
Access Identifier (NAI) to provide accounting records for the PPP session.
chap
chap_priority
Default: 1
Configures the LNS to attempt to use Challenge Handshake
Authentication Protocol (CHAP) to authenticate the PPP session.
A
chap_priority must be specified in
conjunction with this option. Priorities specify which authentication protocol
should be attempted first, second, third and so on.
chap_priority must be an integer from 1
through 1000. The lower the integer, the higher the preference. CHAP is enabled
by default as the highest preference.
mschap
mschap_priority
Default: Disabled
Configures the LNS to attempt to use the Microsoft Challenge Handshake
Authentication Protocol (MSCHAP) to authenticate the PPP session.
A
mschap_priority must be specified in
conjunction with this option. Priorities specify which authentication protocol
should be attempted first, second, third and so on.
mschap_priority must be an integer from 1
through 1000. The lower the integer, the higher the preference.
pap
pap_priority
Default: 2
This option configures the LNS to attempt to use the Password
Authentication Protocol (PAP) to authenticate the PPP session.
A
pap_priority must be specified in conjunction
with this option. Priorities specify which authentication protocol should be
attempted first, second, third and so on.
pap_priority must be an integer from 1
through 1000. The lower the integer, the higher the preference. PAP is enabled
by default as the second highest preference.
msid-auth
Default: Disabled
This option configures the LNS to attempt to authenticate the PPP
session based on the Mobile Station Identity (MSID).
Usage Guidelines
Use to specify how the LNS service should handle authentication and
what protocols to use. The flexibility is given to configure this option to
accommodate the fact that not every mobile will implement the same
authentication protocols.
By default LNS authentication options are set as follows:
Important
|
At least one of the keywords must be used to complete the command.
|
Example
The following command configures the LNS service to allow no
authentication for PPP sessions and would perform accounting using the default
NAI-construct of username@domain:
authentication allow-noauth
The following command configures the system to attempt authentication
first using CHAP, then MSCHAP, and finally PAP. If the allow-noauth command was
also issued, when all attempts to authenticate the subscriber using these
protocols failed, then the subscriber would be allowed access:
authentication chap 1 mschap 2 pap 3