How to configure cisco switch for pppoe connection

By | January 30, 2026

Configuring a Cisco device (typically a router or layer 3 switch acting as a CPE) for PPPoE involves creating a Dialer interface, setting authentication (CHAP/PAP), enabling encapsulation, and binding it to a physical WAN port. Key steps include defining pppoe-client dial-pool-number, setting mtu 1492, and using ip address negotiated. 

Configuration Steps

Configure the Physical Interface (e.g., Gig0/0) connected to the Fibre ONT:

interface GigabitEthernet0/0
no ip address
pppoe-client dial-pool-number 1
no shutdown

Configure the Dialer Interface (e.g., Dialer1):

interface Dialer1
ip address negotiated
encapsulation ppp
dialer pool 1
mtu 1492
ppp authentication chap callin
ppp chap hostname
ppp chap password
ppp pap sent-username password

Configure Routing to send internet traffic through the Dialer interface:

ip route 0.0.0.0 0.0.0.0 Dialer1

Verification Commands

show pppoe session: Confirms the session is active.

show ip interface brief: Checks if the Dialer1 interface received an IP address.

show ip route: Verifies the default route is pointing to the Dialer interface