PPP Commands
8-92 Configuring the Point-to-Point Protocol
Mode
Serial,DialerandFast/GigabitEthernetSub‐interfaceconfiguration:XSR(config-if<xx>)#
Example
Thefollowingexamplesetstheterminate‐requestcounterat10requestsonDialerinterface57:
XSR(config)#interface dialer 57
XSR(config-if<D57>)#ppp lcp max-terminate 10
ppp max-bad-auth
Thiscommandpermitsmultipleauthenticationfailures.ItconfiguresaPoint‐to‐Pointinterface
nottoresetitselfimmediatelyafteranauthenticati onfailurebuttoallowaspecifiednumberof
authenticationretries.ThiscommandappliestoanyserialinterfaceonwhichPPPencapsulationis
enabled.
Syntax
ppp max-bad-auth number
Syntax of the “no” Form
Usethenoformofthiscommandtoresettothedefault(immediatereset):
no ppp max-bad-auth
Default
0
Mode
Interfaceconfiguration:XSR(config-if<xx>)#
Example
Thefollowingexamplesetsserialinterface1/0toallowfiveadditionalretriesafteraninitial
authenticationfailure(foratotalofsixfailedauthenticationattempts):
XSR(config)#interface serial 1/0
XSR(config-if<S1/0>)#encapsulation ppp
XSR(config-if<S1/0>)#no shutdown
XSR(config-if<S1/0>)#ppp authentication chap
XSR(config-if<S1/0>)#ppp max-bad-auth 6
ppp pap sent-username
ThiscommandconfiguresaPAPusernameandcleartextpasswordforthespecifiedinterface.The
valueisusedinthePAPauthenticationrequestpackettothepeer.
number
Numberofretriesafterwhichtheinterfaceresetsitself.