HPE FlexNetwork MSR Series Comware 5 Layer 2 - Wan Access Configuration Manual page 43

Table of Contents

Advertisement

# Enable PPP encapsulation on Serial 2/0.
[RouterB] interface serial 2/0
[RouterB-Serial2/0] link-protocol ppp
# Configure the username for Router B when Router B is authenticated.
[RouterB-Serial2/0] ppp chap user userb
# Assign an IP address to Serial 2/0 of Router B.
[RouterB-Serial2/0] ip address 200.1.1.2 16
(Method 2) The authenticator with no username configured authenticates the supplicant by
using CHAP.
Configure Router A:
3.
# 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 hello
# Set the service type of the user account to PPP.
[RouterA-luser-userb] service-type ppp
[RouterA-luser-userb] quit
# Set the authentication mode to CHAP.
[RouterA] interface serial 2/0
[RouterA-Serial2/0] ppp authentication-mode chap domain system
# Assign an IP address to Serial 2/0.
[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:
4.
# Configure the username of Router B when Router B is authenticated.
<RouterB> system-view
[RouterB] interface serial 2/0
[RouterB-Serial2/0] ppp chap user userb
# Set the default CHAP password.
[RouterB-Serial2/0] ppp chap password simple hello
# Assign an IP address to Serial 2/0.
[RouterB-Serial2/0] ip address 200.1.1.2 16
Verify the configuration:
5.
Use the display interface serial command to display information about Serial 2/0 of Router B.
The physical layer status and link layer status of the interface are both up, and the states of LCP
and IPCP are both Opened, indicating PPP negotiation is successful. Router A and Router B
can ping each other.
[RouterB-Serial2/0] display interface serial 2/0
Serial2/0 current state: UP
Line protocol current state: UP
Description: Serial2/0 Interface
The Maximum Transmit Unit is 1500, Hold timer is 10(sec)
Internet Address is 200.1.1.2/16 Primary
32

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?

Subscribe to Our Youtube Channel

Table of Contents