i
Contents
Configuring PPPoE ······················································································································································· 1
Overview············································································································································································1
PPPoE network structure····················································································································································1
PPPoE client········································································································································································2
Configuring a PPPoE client···············································································································································3
Configuring a dialer interface ································································································································3
Configuring a PPPoE session···································································································································4
Resetting a PPPoE session········································································································································4
Displaying and maintaining PPPoE ·································································································································5
PPPoE client configuration examples·······························································································································5
Configuring PPPoE client in permanent mode·······································································································5
Configuring PPPoE client in on-demand mode······································································································6
Configuring PPPoE client in diagnostic mode ·······································································································7
Configuring L2TP·························································································································································· 9
Overview············································································································································································9
Typical L2TP networking ··········································································································································9
L2TP message types and encapsulation structure ······························································································ 10
L2TP tunnel and session ········································································································································ 10
L2TP tunneling modes and tunnel establishment process ·················································································· 10
L2TP features ·························································································································································· 14
Protocols and standards ······································································································································· 15
L2TP configuration task list ············································································································································ 15
Configuring basic L2TP capabilities····························································································································· 16
Configuring an LAC······················································································································································· 17
Configuring an LAC to initiate tunneling requests for a specified user ··························································· 17
Specifying LNS IP addresses································································································································ 18
Configuring transferring AVP data in hidden mode·························································································· 18
Configuring AAA authentication on an LAC······································································································ 18
Configuring an LAC to automatically establish an L2TP tunnel········································································ 19
Configuring an LNS ······················································································································································· 20
Creating a VT interface ········································································································································ 20
Configuring an LNS to accept L2TP tunneling requests from a specified LAC ··············································· 20
Configuring user authentication on an LNS ······································································································· 21
Configuring AAA authentication on an LNS ······································································································ 22
Configuring optional L2TP parameters ························································································································ 22
Configuring L2TP tunnel authentication··············································································································· 22
Setting the Hello interval······································································································································· 23
Enabling session flow control······························································································································· 23
Configuring the DSCP value of L2TP packets····································································································· 24
Configuring the VPN for a tunnel peer ··············································································································· 24
Displaying and maintaining L2TP································································································································· 24
L2TP configuration examples ········································································································································ 25
Configuration example for NAS-initiated L2TP tunnel······················································································· 25
Configuration example for client-initiated L2TP tunnel ······················································································ 27
Configuration example for LAC-auto-initiated L2TP tunnel················································································ 29
Troubleshooting L2TP ····················································································································································· 31
Configuring DDR ························································································································································32
Overview········································································································································································· 32