User`s guide

PassFinder AP2520 VoIP Router/Gateway Operation Manual Version 1.10 / Mar. 2002
AddPac Technology Co., Ltd. -
64 -
[Example] Added Commands During CHAP Configuration (Server)
This is when the AP2520 Gateway functions as a PPP authentication server in the
server side.
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 erhernet0.0 Enters into the
interface configuration mode.
router (config-ether0.0)# encapsulation pppoe Sets the PPP
mode.
router (config- ether0.0)# ppp authentication CHAP Sets the
PPP authentication mode as CHAP 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-s 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.”
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
Ethernet0 LCP: TIMEOUT
Ethernet0 LCP: O CONFREQ id=1
Ethernet0 BCP: TIMEOUT
Ethernet0 BCP: O CONFREQ id=1
Ethernet0 LCP: TIMEOUT
Ethernet0 LCP: O CONFREQ id=1
Ethernet0 BCP: TIMEOUT
Ethernet0 BCP: O CONFREQ id=1
router # undebug ppp packet Stops PPP packet debugging.