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

Leave A Reply

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

You May Also Like

In this Huawei FTP Configuration example, we will configure a router as FTP Server and then we will try to...
MSTP is an enchanced STP version. With MSTP, both multiple STP instances can be used and one more VLANs can...
Huawei Router Interface Configuration Huawei Router Interface Configuration is one of the first configuration that Junior Network Engineers learn on...
In this OSPF Configuration Example, we will configure OSPFv2 on Huawei Routers. We will use eNSP for our Huawei OSPFv2...