Computer Networks

[Day 10] 12. Commands for encapsulating CHAP and PAP

D
DITISS Admin
••2 min read

Router A Configuration

  1. Enter Interface Configuration:

    A(config)# interface s0

  2. Set PPP Encapsulation:

    A(config-if)# encapsulation ppp

  3. Configure PPP with CHAP and PAP:

    A(config-if)# ppp encapsulation chap pap

  4. Exit Interface Configuration:

    A(config-if)# exit

  5. Set Username for Router B:

    A(config)# username B password cisco

Router B Configuration

  1. Enter Global Configuration:

    B(config)#

  2. Set Username for Router A:

    B(config)# username A password cisco

Key Points

  • Matching Passwords: Ensure that the passwords for the usernames on both routers are identical. In this example, both routers A and B have their usernames configured with the password "cisco."

  • Authentication Methods: While the configuration includes both CHAP and PAP, typically only one method is used at a time for authentication. Make sure you choose the desired method based on your security requirements.


Read Next

8/26/2026

[Day 10] 13. Frame-Relay

**Frame Relay**: This is a type of packet-switched technology used for connecting networks. It allows data to be sent in packets (or frames) over a...

8/26/2026

[Day 11] 1. Advantages of Frame-Relay

### **1. Point-to-Multipoint Circuitry** **Point-to-Multipoint Circuitry (Hub and Spoke Topology)** in Frame Relay refers to the ability to conn...