H3C SR6600 Configuration Manual page 57

Layer 2 – wan configuration
Hide thumbs Also See for SR6600:
Table of Contents

Advertisement

[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
# Set a password for the user account.
[RouterB-luser-usera] password simple passa
# Set the service type of the user account to PPP.
[RouterB-luser-usera] service-type ppp
[RouterB-luser-usera] quit
[RouterB] interface serial 2/0/1
# Enable PPP encapsulation for Serial 2/0/1.
[RouterB-Serial2/0/1] link-protocol ppp
# Set the authentication mode to PAP.
[RouterB-Serial2/0/1] ppp authentication-mode pap domain system
# Configure the PAP username and password sent from Router B to Router A when Router B is
authenticated by Router A using PAP.
[RouterB-Serial2/0/1] ppp pap local-user userb password simple passb
# Assign an IP address to Serial 2/0/1.
[RouterB-Serial2/0/1] ip address 200.1.1.2 16
[RouterB-Serial2/0/1] quit
# Create an ISP domain named system.
[RouterB] domain system
# Configure the users in the domain to use the local authentication scheme.
[RouterB-isp-system] authentication ppp local
3)
Verify the configurations
Use the display interface command to display information about Serial 2/0/1 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 that PPP negotiation is successful. Router A and Router B can ping each other.
[RouterB-isp-system] display interface serial 2/0/1
Serial2/0/1 current state: UP
Line protocol current state: UP
Description: Serial2/0/1 Interface
The Maximum Transmit Unit is 1500, Hold timer is 10(sec)
Internet Address is 200.1.1.2/16 Primary
Link layer protocol is PPP
LCP opened, IPCP opened
Output queue : (Urgent queuing : Size/Length/Discards)
Output queue : (Protocol queuing : Size/Length/Discards)
Output queue : (FIFO queuing : Size/Length/Discards)
Interface is V35
206 packets input,
206 packets output,
[RouterB-isp-system] ping 200.1.1.1
PING 200.1.1.1: 56
Reply from 200.1.1.1: bytes=56 Sequence=1 ttl=255 time=103 ms
2496 bytes
2492 bytes
data bytes, press CTRL_C to break
2-47
0/100/0
0/500/0
0/75/0

Advertisement

Table of Contents
loading

Table of Contents