Example
The following example enables CHAP on serial interface 1/0 and defines a password for local
server Bob and remote server John:
XSR(config)#hostname Bob
XSR(config)#interface serial 1/0
XSR(config-if<S1/0>)#encapsulation ppp
XSR(config-if<S1/0>)#ppp authentication chap
XSR(config)#username John password remote_dev
PPP Debug, Clear and Show Commands
debug ppp packet
This command enables PPP debugging for an interface from outside the actual interface. It
performs the same PPP debugging as the
mode.
Syntax
debug ppp packet [interface type/number] limit [x][type1][type2]...
interface type
number
x
type1
type2
Syntax of the "no" Form
The following no form of the command returns the default value:
no debug ppp packet [interface type/number]
Mode
EXEC configuration:
Example
The following example debugs sets PPP debugging on Serial interface 2/0:0 with a limit of 10
packets for LCP, BACP and BAP protocols:
Note: All XSR debug commands are set to privilege level 15 by default.
Dialer, ATM, Serial, BRI, Multilink, or Fast/GigabitEthernet interfaces.
Interface number.
Total number of packets to debug, ranging from 1 to 1,000,000.
Packet types to debug including: PAP, CHAP, AUTH, BACP,
BAP, BCP, CCP, ECP, IPCP, IPXCP, LCP and LQM.
XSR>
Note: This command does not display in the running config file since it is strictly a debug function. It
must be set manually every time you reboot the XSR.
ppp debug packet
command but is issued from EXEC
PPP Debug, Clear and Show Commands
XSR CLI Reference Guide 8-97