ADSL: PPPoA
set interfaces at-2/0/0 encapsulation atm-pvc
set interfaces at-2/0/0 atm-options vpi 0
set interfaces at-2/0/0 dsl-options operating-mode auto
set interfaces at-2/0/0 unit 0 encapsulation atm-ppp-vc-mux
set interfaces at-2/0/0 unit 0 vci 0.38
set interfaces at-2/0/0 unit 0 ppp-options chap default-chap-secret “chap-password” ## SECRET-DATA
set interfaces at-2/0/0 unit 0 ppp-options chap local-name “username@testisp.net ”
set interfaces at-2/0/0 unit 0 ppp-options chap passive
set interfaces at-2/0/0 unit 0 family inet negotiate-address
ADSL: PPPoEoA
set interfaces at-2/0/0 encapsulation ethernet-over-atm
set interfaces at-2/0/0 atm-options vpi 0
set interfaces at-2/0/0 dsl-options operating-mode auto
set interfaces at-2/0/0 unit 0 encapsulation ppp-over-ether-over-atm-llc
set interfaces at-2/0/0 unit 0 vci 0.38
set interfaces pp0 traceoptions flag all
set interfaces pp0 unit 0 point-to-point
set interfaces pp0 unit 0 ppp-options pap local-name username@testisp.net <<<<--- provided by the Internet SP
set interfaces pp0 unit 0 ppp-options pap local-password <password> <<<<--- provided by the Internet SP
set interfaces pp0 unit 0 ppp-options pap passive
set interfaces pp0 unit 0 pppoe-options underlying-interface at-2/0/0.0
set interfaces pp0 unit 0 pppoe-options idle-timeout 0
set interfaces pp0 unit 0 pppoe-options auto-reconnect 10
set interfaces pp0 unit 0 pppoe-options client
set interfaces pp0 unit 0 family inet mtu 1492
set interfaces pp0 unit 0 family inet address x.x.x.x/32 <<<<--- provided by the SP
set interfaces st0 unit 0 family inet mtu 1480
set interfaces st0 unit 0 family inet address x.x.x.x/30