![Capture.PNG Capture.PNG](https://community.cisco.com/t5/image/serverpage/image-id/204578iCCEBB939F3B974C5/image-size/large?v=v2&px=999)
1. PPPoE Session on CE1:
CE1#SHOW PPPOE SESSION
1 client session
Uniq ID PPPoE RemMAC Port VT VA State
SID LocMAC VA-st
N/A 0 0000.0000.0000 Fa0/0 Di1 N/A PADISNT
0000.0000.0000
```
2. Interfaces on CE1:
CE1#SHOW IP INT BRI
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES manual up up
ATM1/0 unassigned YES unset administratively down down
...
Dialer1 unassigned YES manual up up
```
3. **MPLS Topology:**
- R1 (PPPoE server) connected to R2 and R3.
- CE1 connected to DSLAM, which is in turn connected to R1.
4. **Configuration for CE1 (PPPoE Client):**
```plaintext
R5(config)#hostname CE1
R5(config)#interface Dialer1
R5(config-if)#encapsulation PPP
R5(config-if)#ip address negotiated
R5(config-if)#dialer pool 1
R5(config-if)#ppp authentication chap callin
R5(config-if)#ppp chap hostname asmaa
R5(config-if)#ppp chap password isic
R5(config-if)#interface FastEthernet0/0
R5(config-if)#no shutdown
R5(config-if)#no ip address
R5(config-if)#pppoe-client dial-pool-number 1
```
5. **Configuration for DSLAM:**
```plaintext
DSLAM(config)#interface FastEthernet0/0
DSLAM(config-if)#no shutdown
DSLAM(config-if)#pppoe enable
DSLAM(config-if)#exit
DSLAM(config)#interface FastEthernet2/0
DSLAM(config-if)#no shutdown
DSLAM(config-if)#pppoe enable
DSLAM(config-if)#exit
```
6. **Configuration for R1 (PPPoE Server):**
```plaintext
R1(config)#interface virtual-template 1
R1(config-if)#ip address 41.1.1.1 255.255.255.0
R1(config-if)#exit
R1(config)#username asmaa password isic
R1(config)#aaa new-model
R1(config)#aaa authentication ppp default local
R1(config)#interface virtual-template 1
R1(config-if)#ppp authentication chap default
R1(config-if)#exit
R1(config)#bba-group pppoe CE1
R1(config-bba-group)#virtual-template 1
R1(config-if)#exit
R1(config)#interface FastEthernet2/0
R1(config-if)#no shutdown
R1(config-if)#pppoe enable
R1(config-if)#pppoe enable group CE1
R1(config)#ip local pool POOL_ADSL 41.1.1.100 41.1.1.254
R1(config)#interface virtual-template 1
R1(config-if)#peer default ip address pool POOL_ADSL
```