4.3.1.4: Autenticación PPPoE

Después de confirmar con el proveedor de servicios de Internet (ISP) que utiliza CHAP, verifique que el nombre de usuario y la contraseña de CHAP sean correctos. El ejemplo 1 muestra la configuración de CHAP en la interfaz dialer2.

Ejemplo 1: Configuración de CHAP

R1# show running-config | section interface Dialer2
interface Dialer2
 mtu 1492
 ip address negotiated
 encapsulation ppp
 dialer pool 1
 ppp authentication chap callin
 ppp chap hostname Fred
 ppp chap password 0 Barney
R1#

El reexamen del resultado del comando debug ppp negotiation, en el ejemplo 2, verifica que el nombre de usuario de CHAP es correcto.

Ejemplo 2: Verificación del nombre de usuario de CHAP

R1# debug ppp negotiation
*Sep 20 19:05:05.239: Vi2 PPP: Phase is AUTHENTICATING, by the peer
*Sep 20 19:05:05.239: Vi2 LCP: State is Open
<resultado omitido>
*Sep 20 19:05:05.247: Vi2 CHAP: Using hostname from interface CHAP
*Sep 20 19:05:05.247: Vi2 CHAP: Using password from interface CHAP
*Sep 20 19:05:05.247: Vi2 CHAP: O RESPONSE id 1 len 26 from "Fred"
*Sep 20 19:05:05.255: Vi2 CHAP: I SUCCESS id 1 len 4
<resultado omitido>
*Sep 20 19:05:05.259: Vi2 IPCP:    Address 10.1.3.2 (0x03060A010302)
*Sep 20 19:05:05.259: Vi2 IPCP: Event[Receive ConfAck] State[ACKsent to Open]
*Sep 20 19:05:05.271: Vi2 IPCP: State is Open
*Sep 20 19:05:05.271: Di2 IPCP: Install negotiated IP interface address 10.1.3.2
*Sep 20 19:05:05.271: Di2 Added to neighbor route AVL tree: topoid 0, address 10.1.3.2
*Sep 20 19:05:05.271: Di2 IPCP: Install route to 10.1.3.2
R1# undebug all

Si el nombre de usuario y la contraseña de CHAP fueran incorrectos, el resultado del comando debug ppp negotiation mostrará un mensaje de error de autenticación, como se muestra en el Ejemplo 3.

Ejemplo 3: Falla de la autenticación PPP 

*Sep 20 19:05:05.247: Vi2 CHAP: I FAILURE id 1 Len 26 MSG is "Authentication failure"

Comentarios

Entradas más populares de este blog

VENTAJAS Y DESVENTAJAS DE LAS VLAN

3.1.3.1: VLAN normales y extendidas

DESCARGA CURSO CCNA 5.0