<Huawei> debugging ppp all <Huawei> May 27 2016 08:39:45.836.1+00:00 Huawei PPP/7/debug2: PPP Packet: Dialer0:0 Input LCP(c021) Pkt, Len 22 State ackrcvd, code ConfReq(01), id 2, len 18 MRU(1), len 4, val 05d4 AuthProto(3), len 4, PAP c023 //The PPPoE server uses the PAP authentication MagicNumber(5), len 6, val a0588ab6 <Huawei> May 27 2016 08:39:45.836.3+00:00 Huawei PPP/7/debug2: PPP Packet: Dialer0:0 Output LCP(c021) Pkt, Len 17 State ackrcvd, code ConfNak(03), id 2, len 13 MRU(1), len 4, val 05dc AuthProto(3), len 5, CHAP c22305 //The client uses the CHAP authentication
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