EasyManua.ls Logo

HP MSR Router Series

HP MSR Router Series
293 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
29
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 1.738/2.402/3.197/0.576 ms
Two-way PAP authentication configuration example
Network requirements
As shown in Figure 4, configure Router A and Router B to authenticate each other.
Figure 4 Network diagram
Configuration procedure
1. Configure Router A:
# Create a user account for Router B.
<RouterA> system-view
[RouterA] local-user userb class network
# Set a password for the user account.
[RouterA-luser-network-userb] password simple passb
# Set the service type of the user account to PPP.
[RouterA-luser-network-userb] service-type ppp
[RouterA-luser-network-userb] quit
# Enable PPP encapsulation on Serial 2/1/0 (optional, as an interface uses PPP encapsulation by
default).
[RouterA] interface serial 2/1/0
[RouterA-Serial2/1/0] link-protocol ppp
# Set the authentication mode to PAP.
[RouterA-Serial2/1/0] ppp authentication-mode pap domain system
# Configure the PAP username and password sent from Router A to Router B when Router A is
authenticated by Router B using PAP.
[RouterA-Serial2/1/0] ppp pap local-user usera password simple passa
# Assign an IP address to Serial 2/1/0 of Router A.
[RouterA-Serial2/1/0] ip address 200.1.1.1 16
[RouterA-Serial2/1/0] quit
# Configure local authentication for the PPP users in the default ISP domain system.
[RouterA] domain system
[RouterA-isp-system] authentication ppp local
2. Configure Router B:
# Create a user account for Router A on Router B.
<RouterB> system-view
[RouterB] local-user usera class network
# Set a password for the user account.
[RouterB-luser-network-usera] password simple passa
# Set the service type of the user account to PPP.

Table of Contents

Other manuals for HP MSR Router Series

Related product manuals