Two-Way Pap Authentication Configuration Example - H3C SR6600 Configuration Manual

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

Advertisement

Output queue : (FIFO queuing : Size/Length/Discards)
Interface is V35
206 packets input,
206 packets output,
[RouterB-Serial2/0/1] 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
Reply from 200.1.1.1: bytes=56 Sequence=2 ttl=255 time=1 ms
Reply from 200.1.1.1: bytes=56 Sequence=3 ttl=255 time=1 ms
Reply from 200.1.1.1: bytes=56 Sequence=4 ttl=255 time=1 ms
Reply from 200.1.1.1: bytes=56 Sequence=5 ttl=255 time=10 ms
--- 200.1.1.1 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 1/23/103 ms

Two-Way PAP Authentication Configuration Example

Network requirements
As shown in
Figure
It is required that Router A and Router B authenticate each other.
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 2/0/1
# Enable PPP encapsulation for Serial 2/0/1.
[RouterA-Serial2/0/1] link-protocol ppp
# Set the authentication mode to PAP.
[RouterA-Serial2/0/1] ppp authentication-mode pap domain system
# Configure the PAP username and password sent from Router A to Router B when Router A is
authenticated by Router B using PAP.
[RouterA-Serial2/0/1] ppp pap local-user usera password simple passa
# Assign an IP address to Serial 2/0/1.
[RouterA-Serial2/0/1] ip address 200.1.1.1 16
[RouterA-Serial2/0/1] quit
# Create an ISP domain named system.
[RouterA] domain system
# Configure the users in the domain to use the local authentication scheme.
2496 bytes
2492 bytes
data bytes, press CTRL_C to break
2-5, Router A and Router B are interconnected through their Serial 2/0/1 interfaces.
0/75/0
2-46

Advertisement

Table of Contents
loading

Table of Contents