No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Incorrect Service Type for a Local User Causes a Login Failure

Publication Date:  2012-07-27 Views:  44 Downloads:  0
Issue Description

 During deployment, configuration scripts are loaded to an NE40E but the login to the NE40E by using Telnet or the console interface fails. The Telnet operation is performed and the information is as follows:
<XN-WQ-NE40E-X3>telnet 127.0.0.1
Trying 127.0.0.1 ...
Press CTRL+K to abort
Connected to 127.0.0.1 ...
Login authentication
Username:admin
Password:
May 25 2010 21:13:08 XN-WQ-NE40E-X3 %%01SHELL/4/TELNETFAILED(l)[0]:Failed to login through telnet. (Ip=127.0.0.1, Times=1)
Error: Access type error 
 

Alarm Information

 Null 

Handling Process

  1. The configuration scripts are checked. The scripts are as follows:
<XN-WQ-NE40E-X3>system-view
[XN-WQ-NE40E-X3]aaa
[XN-WQ-NE40E-X3-aaa]local-user admin password cipher 123456
[XN-WQ-NE40E-X3-aaa]local-user admin service-type telnet terminal
[XN-WQ-NE40E-X3-aaa]local-user admin level 3
[XN-WQ-NE40E-X3-aaa]local-user admin service-type ftp
[XN-WQ-NE40E-X3-aaa]q
[XN-WQ-NE40E-X3]user-interface console 0
[XN-WQ-NE40E-X3-ui-console0]authentication-mode aaa
[XN-WQ-NE40E-X3-ui-console0]q
[XN-WQ-NE40E-X3]
[XN-WQ-NE40E-X3]user-interface vty 0 4
[XN-WQ-NE40E-X3-ui-vty0-4]authentication-mode aaa
[XN-WQ-NE40E-X3-ui-vty0-4]q
2. The scripts are run in the laboratory. As a result, the problem reoccurs.
3. The configuration is checked. As a result, the configured parameters are different from those that are planned.
[XN-WQ-NE40E-X3]aaa
[XN-WQ-NE40E-X3-aaa]disp this
#
aaa
local-user admin password cipher OUM!K%F<+$[Q=^Q`MAF4<1!!
local-user admin service-type ftp // The service type (Telnet and terminal) has changed to FTP.
local-user admin level 3
authentication-scheme default
#
4. The following commands are run to resolve the problem.
[XN-WQ-NE40E-X3-aaa]local-user admin service-type telnet terminal ftp
[XN-WQ-NE40E-X3-aaa]disp this
#
aaa
local-user admin password cipher OUM!K%F<+$[Q=^Q`MAF4<1!!
local-user admin service-type ftp terminal telnet //Three service types coexist.
local-user admin level 3 
 
Root Cause

 A configuration is incorrect. 

Suggestions

 At present, on NE40Es running all versions, only one command is needed to configure multiple access types (such as FTP, terminal, Telnet, or SSH) for a specified user. If the command is run multiple times, the later configuration overwrites the previous one. 

END