Two-Way Pap Authentication Configuration Example - HPE FlexNetwork MSR Series Comware 5 Layer 2 - Wan Access Configuration Manual

Table of Contents

Advertisement

--- 200.1.1.1 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 1/23/103 ms

Two-way PAP authentication configuration example

Network requirements
As shown in
Configure Router A and Router B to authenticate each other.
Figure 5 Network diagram
Configuration procedure
Configure Router A:
1.
# Create a user account for Router B.
<RouterA> system-view
[RouterA] local-user userb
# Set a password for the user account.
[RouterA-luser-userb] password simple passb
# Set the service type of the user account to PPP.
[RouterA-luser-userb] service-type ppp
[RouterA-luser-userb] quit
# Enable PPP encapsulation on Serial 2/0.
[RouterA] interface serial 2/0
[RouterA-Serial2/0] link-protocol ppp
# Set the authentication mode to PAP.
[RouterA-Serial2/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/0] ppp pap local-user usera password simple passa
# Assign an IP address to Serial 2/0 of Router A.
[RouterA-Serial2/0] ip address 200.1.1.1 16
[RouterA-Serial2/0] quit
# Configure local authentication for the PPP users in the default ISP domain system.
[RouterA] domain system
[RouterA-isp-system] authentication ppp local
Configure Router B:
2.
# Create a user account for Router A on Router B.
<RouterB> system-view
[RouterB] local-user usera
# Set a password for the user account.
Figure
5, Router A and Router B are interconnected through their Serial 2/0 interfaces.
29

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FlexNetwork MSR Series and is the answer not in the manual?

Table of Contents