HPE FlexNetwork MSR series Configuration Manual page 40

Comware 7 layer 2 - wan access
Table of Contents

Advertisement

# Configure the username for Router B when Router B is authenticated.
[RouterB-Serial2/1/0] ppp chap user userb
# Assign an IP address to Serial 2/1/0 of Router B.
[RouterB-Serial2/1/0] ip address 200.1.1.2 16
(Method 2) The authenticator with no username configured authenticates the peer by using
CHAP.
3.
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 hello
# Set the service type of the user account to PPP.
[RouterA-luser-network-userb] service-type ppp
[RouterA-luser-network-userb] quit
# Set the authentication mode to CHAP.
[RouterA] interface serial 2/1/0
[RouterA-Serial2/1/0] ppp authentication-mode chap domain system
# Assign an IP address to Serial 2/1/0.
[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
4.
Configure Router B:
# Configure the username of Router B when Router B is authenticated.
<RouterB> system-view
[RouterB] interface serial 2/1/0
[RouterB-Serial2/1/0] ppp chap user userb
# Set the default CHAP password.
[RouterB-Serial2/1/0] ppp chap password simple hello
# Assign an IP address to Serial 2/1/0.
[RouterB-Serial2/1/0] ip address 200.1.1.2 16
5.
Verify the configuration:
# Use the display interface serial command to display information about Serial 2/1/0 of Router
B.
[RouterB-Serial2/1/0] display interface serial 2/1/0
Serial2/1/0
Current state: UP
Line protocol state: UP
Description: Serial2/1/0 Interface
Bandwidth: 64kbps
Maximum Transmit Unit: 1500
Internet Address: 200.1.1.2/16 Primary
Link layer protocol: PPP
LCP opened, IPCP opened
...
31

Hide quick links:

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