User`s guide
VoiceFinder AP200 VoIP Residential Gateway (RGW) User’s Guide Version 1.1
AddPac Technology Co.,Ltd. -
64 -
[Example] Added Commands during CHAP Configuration (Client)
This is when the AP160 dial-up VoIP gateway is used as a PPP CallIn client in the
client side.
AP160(config)# interface async 0
☞ Enters into the interface configuration mode.
AP160(config-async0)# encapsulation ppp
☞ Sets the PPP mode.
AP160(config-async0)# ppp authentication chap
☞ Sets the PPP authentication mode as CHAP for the async 0
interface.
AP160(config-async0)# ppp chap hostname ADDPAC
☞ If the user name that was saved in the server during PPP CHAP
connection is different from the user name of the client router,
this command sends the user name of the server side.
AP160(config-async0)# ppp chap password ADDPACGateway
☞ Sets the user name of the server side to check the password
that the server sends during PPP CHAP connection.
AP160(config-async0)# ppp timeout 100
☞ Sets PPP connection negotiation timeout value as 100 seconds.
AP160(config-async0)# end
☞ Exists from the configuration mode.
AP160# debug ppp packet
☞ Decodes PPP packets.
AP160#
AP160# async0 LCP: TIMEOUT
async0 LCP: O CONFREQ id=1
ASYNCMAP 0xa0000 MagicNumber 0x7b7b PCOMP ACCOMP
async0 LCP: I CONFREQ id=1
MRU 1514 ASYNCMAP 0x0 AuthProto CHAP
AP160# debug ppp packet
☞ Stops PPP packet debugging.