Home Blog Certs Knowledge Base About

Cisco L2 Protocols โ€” PPP & Frame-Relay

Cisco IOS WAN Layer 2 cheat sheet: PPP (Point-to-Point Protocol) with CHAP authentication, and Frame-Relay โ€” multipoint and point-to-point sub-interface configurations.

PPP โ€” Point-to-Point Protocol

PPP with CHAP Authentication
CommandDescription
hostname Router1Set hostname (used for CHAP authentication)
username Router2 password cisco123Create account for the remote router (on Router1)
int ser9/0Enter serial interface
ppp authentication chapRequire CHAP authentication from the remote router
debug ppp authenticationDebug PPP authentication process

PPP is a point-to-point environment โ€” no Layer 2 addresses (MAC) are used.


Frame-Relay โ€” Basic Setup

Simple Frame-Relay Link
CommandDescription
int ser9/0Enter serial interface
encapsulation frame-relaySet L2 encapsulation to Frame-Relay
ip address 192.168.0.1 255.255.255.0Assign IP to the interface
frame-relay map ip 10.1.1.1 110 broadcastManually map neighbor IP to DLCI 110 (when InverseARP is not working)

Frame-Relay โ€” Multipoint Sub-Interface (Hub)

Used when one physical interface connects to multiple remote sites. Inverse ARP is disabled โ€” manual mapping required.

Multipoint Frame-Relay (Hub Router)
CommandDescription
interface serial 0/0Physical serial interface
no ip addressRemove IP from physical interface
encapsulation frame-relaySet Frame-Relay encapsulation
interface serial 0/0.1 multipointCreate multipoint sub-interface
ip address 10.0.1.1 255.255.255.0Assign IP to sub-interface
frame-relay map ip 10.0.1.2 100 broadcastMap first spoke router IP โ†’ DLCI 100
frame-relay map ip 10.0.1.3 200 broadcastMap second spoke router IP โ†’ DLCI 200

Spoke routers in multipoint topology do not need a sub-interface.


Frame-Relay โ€” Point-to-Point Sub-Interfaces (Hub)

Each spoke gets its own sub-interface. Cleaner, avoids split-horizon issues with routing protocols.

Point-to-Point Frame-Relay (Hub Router)
CommandDescription
interface serial 0/0Physical interface
no ip addressRemove IP from physical interface
encapsulation frame-relaySet Frame-Relay encapsulation
interface serial 0/0.100 point-to-pointSub-interface for first spoke (DLCI 100)
ip address 10.0.1.1 255.255.255.0IP for this p2p link
frame-relay interface-dlci 100Assign DLCI 100 to this sub-interface
interface serial 0/0.110 point-to-pointSub-interface for second spoke (DLCI 110)
ip address 10.0.2.1 255.255.255.0IP for this p2p link
frame-relay interface-dlci 110Assign DLCI 110 to this sub-interface

Spoke routers in p2p topology must also create a point-to-point sub-interface.


Frame-Relay Diagnostics

show commands
CommandDescription
show frame-relay pvcShow PVC status and traffic counters
show frame-relay mapShow IP-to-DLCI mapping table

Cisco IOS Command Reference | PPP & Frame-Relay