VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00
AddPac Technology Co., Ltd. -
75 -
[Example] Additional Commands for PAP Configuration (Server)
If the Gateway functions as a server, it means AP2120 Gateway functions as
the PPP authentication server.
Router(config)# user ADDPAC password ADDPACRouter1 normal ☞
Registers the user name (addpac) and the password (Router1) with the
normal priority in the server.
Router (config)#interface ethernet 0.0 ☞ Enters into the
interface configuration mode.
Router(config-ether0.0)# encapsulation ppp ☞ Sets the PPP mode.
Router(config-ether0.0)# ppp authentication pap ☞ Sets the PPP
authentication mode as PAP for the ethernet0.0 interface.
Router(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.”
Router(config-ether0.0)# ppp peer default-ip address
132.12.1.2
☞ When the other Router receives the serial interface
IP from this Gateway, this command enables the Gateway to provide
default address (130.1.1.2)to the other Router. (* If an IP address
has been set already in the other Router, the operator does not need
to use this command.)
Router(config-ether0.0)# ppp timeout 100 ☞ Sets PPP connection
negotiation timeout value as 100 seconds.
Router(config-ether0.0)# end ☞ Exists from the configuration
menu.
Router # debug ppp packet ☞ Decodes PPP Packet.
Router #
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
Router # debug ppp packet ☞ Stops PPP packet debugging.
Comments to this Manuals