Operation Manual – User Access
H3C SecPath Series Security Products
Chapter 1 PPP Configuration
1-17
Operation
Command
Clear all statistics about IP header
compression
reset ppp compression iphc
[
interface-type interface-number
]
Clear all statistics about Stac-lzs header
compression
reset ppp compression stac-lzs
[
interface-type interface-number
]
1.4 Typical PPP Configuration Example
1.4.1 PAP Authentication
I. Configuration requirements
As shown in
, the firewalls SecPath 1 and SecPath 2 are interconnected on
Ethernet1/0/0. SecPath 1 authenticates SecPath 2 with the PAP approach.
II. Network diagram
SecPath1
SecPath 2
Ethernet1/0/0
Ethernet1/0/0
Figure 1-3
Network diagram of PAP and CHAP authentication
III. Configuration procedure
1) Configure
SecPath1
# Add a PPPoE user.
[H3C] local-user secpath2
[H3C-luser-secpath2] password simple pwd
[H3C-luser-secpath2] service-type ppp
# Configure virtual template parameters on SecPath1.
[H3C] interface virtual-template 1
[H3C-Virtual-Template1] ppp authentication-mode pap
[H3C-Virtual-Template1] ip address 1.1.1.1 255.0.0.0
[H3C-Virtual-Template1] remote address 1.1.1.2
# Configure the PPPoE parameter on the SecPath1.
[H3C] interface ethernet 1/0/0
[H3C-Ethernet1/0/0] pppoe-server bind virtual-template 1
2) Configure
SecPath2.
[H3C] dialer-rule 1 ip permit
[H3C] interface dialer 1
[H3C-Dialer1] dialer user secpath1