Example: Configure CHAP
[edit access]profile pe-A-ppp-clients;client cpe-1 chap-secret "$1$dQYsZ$B5ojUeUjDsUo.yKwcCZ0"; # SECRET-DATAclient cpe-2 chap-secret "$1$kdAsfaDAfkdjDsASxfafdKdFKJ"; # SECRET-DATA}}[edit interfaces so-1/2/0]encapsulation ppp;ppp-options {chap {access-profile pe-A-ppp-clients;local-name "pe-A-so-1/1/1";}}[edit interfaces so-1/1/2]encapsulation ppp;ppp-options {chap {access-profile pe-A-ppp-clients;local-name "pe-A-so-1/1/2";}}