Ppp debug, clear and show commands, Ppp debug, clear and show commands -97 – Enterasys Networks X-Pedition XSR CLI User Manual

Page 367

Advertising
background image

PPP Debug, Clear and Show Commands

XSR CLI Reference Guide 8-97

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 

ppp debug packet

 command but is issued from EXEC 

mode.

Syntax

debug ppp packet [interface type/number] limit [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: 

XSR>

Example

The following example debugs sets PPP debugging on Serial interface 2/0:0 with a limit of 10 
packets for LCPBACP and BAP protocols:

Note: All XSR debug commands are set to privilege level 15 by default.

interface type

Dialer, ATM, Serial, BRI, Multilink, or Fast/GigabitEthernet interfaces.

number

Interface number.

x

Total number of packets to debug, ranging from 1 to 1,000,000.

type1

Packet types to debug including: PAP, CHAP, AUTH, BACP,

type2

BAP, BCP, CCP, ECP, IPCP, IPXCP, LCP and LQM.

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.

Advertising