VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00
AddPac Technology Co., Ltd. -
77 -
[Example]Additional Commands of CHAP Configuration (Server)
This is when the AP1100 Gateway functions as a PPP authentication server in
the server side.
Gateway(config)# user ADDPAC password ADDPACGateway1 normal
☞ Registers the user name (addpac) and the password (router1) as
the normal priority in the server.
Gateway (config)#interface ethernet 0.0 ☞ Enters into the
interface configuration mode.
Gateway(config-ether0.0)# encapsulation ppp ☞ Sets the PPP
mode.
Gateway(config-ether0.0)# ppp authentication chap ☞ Sets the
PPP authentication mode as CHAP for the ethernet0.0 interface.
Gateway(config-ether0.0)# ip address 132.12.1.1 255.255.255.0
☞ Sets the IP address as “130.1.1.1” and the subnet mask as “24Bit.”
Gateway(config-ether0.0)# ppp peer default-ip address
132.12.1.2
☞ When the other Gateway receives the ethernet interface
ID from this Gateway, this command sets the IP address as the default
address “130.1.1.2.”
Gateway(config-ether0.0)# ppp timeout 100 ☞ Sets PPP connection
negotiation timeout value as 100 seconds.
Gateway(config-ether0.0)# end ☞ Exists from the configuration
menu.
Gateway
# debug ppp packet ☞ Decodes PPP Packet.
Gateway #
Ether0.0 LCP: TIMEOUT
Ether0.0 LCP: O CONFREQ id=1
Ether0.0 BCP: TIMEOUT
Ether0.0 BCP: O CONFREQ id=1
Ether0.0 LCP: TIMEOUT
Ether0.0 LCP: O CONFREQ id=1
Ether0.0 BCP: TIMEOUT
Ether0.0 BCP: O CONFREQ id=1
Gateway # debug ppp packet ☞ Stops PPP packet debugging.
Comments to this Manuals