PPP Configuration on Huawei

huawei-ppp-configuration

In this lesson, we will talk about PPP configuration on Huawei Routers. For our PPP Configuration example, we will use the below basic topology:

 

huawei-ppp-configuration

Orderly, we will do the below configuration for our PPP Configuration Example:

 

1) Enabling PPP
2) PAP and CHAP Authentication
3) Verifying PPP and PPP Authentication

 

Let’s start to configure PPP for this topology.

 


You can download this configuration on Huawei eNSP Labs Page.


 

Enabling PPP

 

In this basic PPP configuration example, firstly we will configure the serial interfaces to use PPP. After that, we will assign the ip address of this interface with its subnet mask. We will do this configuration on Router 1 firstly.

 

system-view
[Huawei-Router-1] interface Serial 0/0/0
[Huawei-Router-1-Serial0/0/0] link-protocol ppp
Warning : The encapsulation protocol of the link will be changed
Continue? [Y/N] : y
[Huawei-Router-1-Serial0/0/0] ip address 192.168.1.1 30
[Huawei-Router-1-Serial0/0/0] quit

Now, let’s configure Router 2 like above.

 

system-view
[Huawei-Router-2] interface Serial 0/0/0
[Huawei-Router-2-Serial0/0/0] link-protocol ppp
Warning : The encapsulation protocol of the link will be changed
Continue? [Y/N] : y
[Huawei-Router-2-Serial0/0/0] ip address 192.168.1.2 30
[Huawei-Router-2-Serial0/0/0] quit

 


 

PAP and CHAP Authentication

We can configure each of these Authentication Protocols on Huawei Routers. Let’s start with PAP.

system-view
[Huawei-Router-1] aaa
[Huawei-Router-1-aaa] local-user abc password cipher abc123
[Huawei-Router-1-aaa] local-user abc service-type ppp
[Huawei-Router-1] interface Serial 0/0/0
[Huawei-Router-1-Serial0/0/0] link-protocol ppp
[Huawei-Router-1-Serial0/0/0] ppp authentication-mode pap
[Huawei-Router-1-Serial0/0/0] quit

Lesson tags: wan, HCNA, Huawei, ppp
Back to: HCNA (HCIA-Datacom) > WAN Protocols

Leave a Reply

Your email address will not be published. Required fields are marked *

HCNA (HCIA-Datacom)

Collapse
Expand
Latest Blog Posts