R0106-HP MSR Router Series Layer 2 - WAN Configuration Guide(V7)
22
Task Command
Clear the statistics for VA interfaces. reset counters interface [ virtual-access [ interface-number ] ]
Clear the statistics for MP-group interfaces.
reset counters interface [ mp-group [ interface-number ] ]
PPP configuration examples
One-way PAP authentication configuration example
Network requirements
As shown in Figure 3, configure Router A to authenticate Router B by using PAP, but Router B not to
authenticate Router A.
Figure 3 Network diagram
Configuration procedure
1. 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 passb
# Set the service type of the user account to PPP.
[RouterA-luser-network-userb] service-type ppp
[RouterA-luser-network-userb] quit
# Enable PPP encapsulation on Serial 2/1/0 (optional, because an interface uses PPP
encapsulation by default).
[RouterA] interface serial 2/1/0
[RouterA-Serial2/1/0] link-protocol ppp
# Set the authentication mode to PAP.
[RouterA-Serial2/1/0] ppp authentication-mode pap 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
2. Configure Router B:
# Enable PPP encapsulation on Serial 2/1/0 (optional, because an interface uses PPP
encapsulation by default).
<RouterB> system-view