[Day 10] 12. Commands for encapsulating CHAP and PAP
Router A Configuration
-
Enter Interface Configuration:
A(config)# interface s0 -
Set PPP Encapsulation:
A(config-if)# encapsulation ppp -
Configure PPP with CHAP and PAP:
A(config-if)# ppp encapsulation chap pap -
Exit Interface Configuration:
A(config-if)# exit -
Set Username for Router B:
A(config)# username B password cisco
Router B Configuration
-
Enter Global Configuration:
B(config)# -
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
[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...
[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...