Enterasys Networks XSR CLI Router User Manual


 
PPP Commands
8-88 Configuring the Point-to-Point Protocol
Example 2
Figure 82showstworouters,SiteAandSiteB,andonlyonepeerconfiguredtodoauthentication
(usingchap)withonlySiteBissuingthechallenge.Theconfigurationexamplefollows.
Figure 8-2 Authentication Configured on One Peer
Refertothefollowingsampleconfigurationfortheprecedingexample.OnSiteAenterthe
followingcommands:
XSR(config)#interface serial 1/0
XSR(config-if<S1/0>)#encapsulation ppp
XSR(config-if<S1/0>)#ppp authentication chap
OnSiteBenterthefollowing commands:
XSR(config)#interface serial 1/1
XSR(config-if<S1/1>)#encapsulation ppp
XSR(config-if<S1/1)#no ppp authentication
ppp chap
Thiscommandspecifiesauniquehostnameonaninterface,refusesCHAPauthenticationrequests
frompeers,orusesadefaultpasswordduringCHAPauthenticationwhennootherpasswordis
available.ItcanenablemultiplerouterstoappeartohavethesamehostnamewhenusingCHAP
authentication.
Thiscommandcanbeusedto
setadefaultpasswordduringauthenticationchallengeswhenthe
challengerʹsusernamecannotbefoundintheusernamelist.Itisalsorequiredwhenthe
challengerdoesnotspecifyitsnameinthechallengepacketandadefaultpasswordmustbesent.
Beawarethatthispasswordisonlyusedin
responsetochallengesandisnotusedtoauthenticate
thepeer.
Syntax
ppp chap {hostname hostname | refuse | password word}
no ppp authentication
Site A
(Serial Interface 1/0)
Site B
(Serial Interface 1/1)
Challenge - ID 9
Response - ID 9
Success/Failure - ID 9
ppp chap
hostname
AlternatenamesentintheCHAPchallenge.
refuse
RefusetoauthenticateusingCHAP.
word
DefaultpasswordsenttoCHAPchallengeswhennopasswordsareavailable.