Checking Whether the Password and the User Name Are Correct

Procedure

  1. Run the display logbuffer command to check whether PAP and CHAP authentication failure logs exist.

    <Huawei> display logbuffer
    May 27 2016 08:33:25+00:00 Huawei %%01PPP/4/PAPAUTHFAIL(l)[1]:On the interface D
    ialer0:0, PPP link was closed because PAP authentication failed. 
    <Huawei> display logbuffer
    May 27 2016 08:27:43+00:00 Huawei %%01PPP/4/CHAPAUTHFAIL(l)[1]:On the interface 
    Dialer0:0, PPP link was closed because CHAP authentication failed. 

  2. If so, the PAP or CHAP authentication fails. Run the debugging ppp all command to further check whether the password and the user name are correct.

    <Huawei> terminal monitor
    Info: Current terminal monitor is on. 
    <Huawei> terminal debugging
    Info: Current terminal debugging is on. 
    <Huawei> debugging ppp all
    If the following debugging information is displayed, the user name and the password are not correct:
    • PAP authentication

      <Huawei>
      May 27 2016 08:30:33.946.3+00:00 Huawei PPP/7/debug2:                            
        PPP State Change:                                                              
            Dialer0:0 PAP : SendRequest --> ClientFailed                              
      <Huawei>
      May 27 2016 08:30:33.946.4+00:00 Huawei PPP/7/debug2:                            
        PPP Error:                                                                     
            Dialer0:0 PAP : Client failed No.  1 ! 
    • CHAP authentication

      <Huawei>
      May 27 2016 08:25:28.936.1+00:00 Huawei PPP/7/debug2:                            
        PPP Packet:                                                                    
            Dialer0:0 Input  CHAP(c223) Pkt, Len 33                                   
            State SendResponse, code FAILURE(04), id 1, len 29                         
            Message: Illegal User or password.  

  3. If the user name and the password are not correct, reconfigure on the dialer interface.

    • PAP authentication

      <Huawei> system-view
      [Huawei] interface dialer 0
      [Huawei-Dialer0] ppp pap local-user huawei password cipher huawei123
    • CHAP authentication

      <Huawei> system-view
      [Huawei] interface dialer 0
      [Huawei-Dialer0] ppp chap user huawei
      [Huawei-Dialer0] ppp chap password cipher huawei123

  4. After checking the debugging information, run the undo debugging all command to disable the debugging.

    <Huawei> undo debugging all
    Info: All possible debugging has been turned off
    

Back | Previous | Next


Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.