Wednesday, March 30, 2011

notes: PPPoE

- The PPPoE client feature provides PPPoE client support on ATM PVCs (permanent virtual circuits) and ethernet interfaces.
- A dialer interface must be used for cloning virtual access.
- A PPPoE session is initiated by the PPPoE client.
- PPPoE is a commonly used application in the deployment of digital subscriber lines (DSL).
- The PPP over ethernet client feature expands PPPoE functionality by providing support for PPPoE on the client as well as on the server.
- PPP is configured on the physical interface and IP on the logical interface.
- A virtual-template interface is a PPP interface, no need for 'encapsulation ppp'.
- This can be seen with "sh interface virtual-template1"
- It is recommended that you set the MTU to 1492 bytes. This value accommodates a PPPoE header encapsulation of 8 bytes in the ethernet frame payload.

Dialer persistent feature:

- Allows a dial-on-demand routing (DDR) dialer profile connection to be brought up without being triggered by interesting traffic.
- The connection is not brought down until the shutdown interface command is entered on the dialer interface.
- If the persistent connection is torn down for some other reason, the system immediately tries to bring the connection back up.
- The dialer persistent command starts a timer when the dialer interface starts up and starts the connection when the timer expires.


CONFIG-SET: PPP over Ethenet (PPPoE) configuration
+---------------------------------------------------------------
R2 > PPPoE SERVER CONFIG
!
username test password test
!
bba-group pppoe global
vitual-template 1
!
ip local pool PPPoE 172.16.0.20 172.16.0.29
!
interface e0/1
ip address 10.0.0.6 255.255.255.0
pppoe enable group global
!
interface virtual-template1
ip address 172.16.0.12 255.255.255.255
ip mtu 1492
peer default ip address pool PPPoE
ppp authentication chap callin



R1 > PPPoE CLIENT CONFIG
!
bba-group pppoe global
!
interface fa0/0
ip address 10.0.0.5 255.255.255.0
!
interface fa1/0 - Configures the outside interface
no ip address
pppoe enable group global
pppoe-client dial-pool-number 1
!
interface dialer 0
ip address negotiated
ip mtu 1492
encapsulation ppp
dialer-pool 1
dialer-group 1
ppp authentication chap callout optional
ppp chap hostname test
ppp chap password 0 test
!
ip route 0.0.0.0 0.0.0.0 Dialer0
dialer-list 1 protocol ip permit


show commands and verification

show vpdn - Displays information about active Layer2 Forwarding (L2F) protocol
show vpdn session packet - Displays PPPoE session statistics
show vpdn session all - Displays PPPoE session information for each session ID
show vpdn tunnel - Displays PPPoE session count for the tunnel
clear vpdn tunnel pppoe - Terminates PPPoE session and immediately try to re-establish the session
clear interface dialer {number} - With dialer persistent, re-attempts to bring up the connection
debug vpdn pppoe-data - Displays PPPoE session data packets
debug vpdn pppoe-errors - Displays errors preventing a session establishment and terminating errors
debug vpdn pppoe-events - Displays PPPoE session establishment events messages
debug vpdn pppoe-packets - Displays each PPPoE protocol packet exchanged
debug dialer - Displays info about the packets received on a dialer interface

No comments:

Post a Comment