PassFinder AP2520 VoIP Router/Gateway Operation Manual
Version 1.10 / Mar. 2002
AddPac Technology Co., Ltd.
-
75
-
[Example] Added Commands During PAP Configuration (Server)
If the router functions as a server, it means the AP2520 router functions as the
PPP authentication server.
router(config)# user addpac password router1 normal
☞
Registers the
user name (addpac) and the password (router1) with the normal priority
in the server.
router (config)#interface serial 1
☞
Enters into the interface
configuration mode.
router(config-serial1)# encapsulation ppp
☞
Sets the PPP mode.
router(config-serial1)# ppp authentication pap
☞
Sets the PPP
authentication mode as PAP for the serial 1 interface.
router(config-serial1)# 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-serial1)# ppp peer default-ip address 132.12.1.2
☞
When the other router receives the serial interface IP from this router,
this command enables the router 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-serial1)# ppp timeout 100
☞
Sets PPP connection
negotiation timeout value as 100 seconds.
router(config-serial1)# end
☞
Exists from the configuration menu.
router #
Serial1 LCP: TIMEOUT
Serial1 LCP: O CONFREQ id=1
Serial1 BCP: TIMEOUT
Serial1 BCP: O CONFREQ id=1
Serial0 LCP: TIMEOUT
Serial0 LCP: O CONFREQ id=1
Serial0 BCP: TIMEOUT
Serial0 BCP: O CONFREQ id=1
router # debug ppp packet
☞
Stops PPP packet debugging.