Navigation
Example: Configuring PPP CHAP
The following example shows how to configure the profile pe-A-ppp-clients at the [edit access] hierarchy level; then reference it at the [edit interfaces] hierarchy level:
[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}}
interfaces {so-1/1/1 {encapsulation ppp;ppp-options {chap {access-profile pe-A-ppp-clients;local-name "pe-A-so-1/1/1";}}}so-1/1/2 {encapsulation ppp;ppp-options {chap {passive;access-profile pe-A-ppp-clients;local-name "pe-A-so-1/1/2";}}}}