Ppp and mp configuration examples, One-way pap authentication configuration example, Network requirements – H3C Technologies H3C SR8800 User Manual
Page 41: Configuration procedure
33
Task Command
Remarks
Display information about existing
MP-group interfaces.
display interface mp-group
[ mp-number ] [ | { begin | exclude
| include } regular-expression ]
Available in any view
Display the information and
statistics of MP-group interfaces.
display ppp mp [ interface
mp-group mp-number ] [ | { begin
| exclude | include }
regular-expression ]
Available in any view
Clear the statistics of an interface.
reset counters interface
[ interface-type
[ interface-number ] ]
Available in user view
PPP and MP configuration examples
One-way PAP authentication configuration example
Network requirements
As shown in
, Router A and Router B are connected through their Serial 4/1/9/1:0 interfaces.
Configure Router A to authenticate Router B by using PAP, but Router B not to authenticate Router A.
Figure 10 Network diagram
Configuration procedure
1.
Configure Router A:
# 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
[RouterA] interface Serial 4/1/9/1:0
# Enable PPP encapsulation on interface Serial 4/1/9/1:0.
[RouterA-Serial4/1/9/1:0] link-protocol ppp
# Set the authentication mode to PAP.
[RouterA-Serial4/1/9/1:0] ppp authentication-mode pap domain system
# Assign an IP address to Serial 4/1/9/1:0.
[RouterA-Serial4/1/9/1:0] ip address 200.1.1.1 16
[RouterA-Serial4/1/9/1:0] quit
# Configure local authentication for the PPP users in the default ISP domain system.