# Troubleshooting

Use the pppoeControlPacket log to diagnose problems on your PPPoE interfaces.

log severity debug pppoeControlPacket

- Use to configure a packet trace log for a PPPoE interface. You must specify a PPPoE major interface.
- Specify one of the following interface types and a corresponding interface specifier. For more information, see Interface Types and Specifiers in JunosE Command Reference Guide.
  - fastEthernet
  - gigabitEthernet
  - atm
  - tenGigabitEthernet
- The packet trace log for a PPPoE interface displays only the first 256 bytes of packet data. Data in excess of 256 bytes does not appear in the packet trace log.
- You also configure logging to direct the output to a specific destination. For information, see Overview of System Logging.
- Example

      host1(config-if)#ip address 164.10.6.71 255.255.255.0
      host1(config-if)#log severity debug pppoeControlPacket atm 10/0.1
      host1:v0#DEBUG 07/25/2000 15:13:19 pppoeControlPacket (interface atm 10/0.1): PADI rx from 00-09-01-a0-00-2e
      DEBUG 07/25/2000 15:13:19 pppoeControlPacket (interface atm 10/0.1): PADO tx to 00-09-01-a0-00-2e
      DEBUG 07/25/2000 15:13:19 pppoeControlPacket (interface atm 10/0.1): PADR rx from 00-09-01-a0-00-2e
      DEBUG 07/25/2000 15:13:19 pppoeControlPacket (interface atm 10/0.1): PADS tx to 00-09-01-a0-00-2e, connection made  using session id 3 on sub interface 1
      RX-a0-00-2e:v0#
      RX-a0-00-2e:v0#
      RX-a0-00-2e:v0#
      RX-a0-00-2e:v0#
      RX-a0-00-2e:v0#
      RX-a0-00-2e:v0#
      RX-a0-00-2e:v0#config t
      Enter configuration commands, one per line.  End with CNTL/Z.
      RX-a0-00-2e:v0(config)#interface atm 10/1.1.1
      RX-a0-00-2e:v0(config-if)#ppp shut
      RX-a0-00-2e:v0(config-if)#DEBUG 07/25/2000 15:13:38 pppoeControlPacket (interface atm 10/0.1): PADT rx from 00-09-01-a0-00-2e
      RX-a0-00-2e:v0(config-if)#
      RX-a0-00-2e:v0(config-if)#no ppp shut
      RX-a0-00-2e:v0(config-if)#pppoe test
      RX-a0-00-2e:v0(config-if)#DEBUG 07/25/2000 15:13:49 pppoeControlPacket (interface atm 10/0.1): PADI rx from 00-09-01-a0-00-2e
      DEBUG 07/25/2000 15:13:49 pppoeControlPacket (interface atm 10/0.1): PADO tx to 00-09-01-a0-00-2e
      DEBUG 07/25/2000 15:13:49 pppoeControlPacket (interface atm 10/0.1): PADR rx from 00-09-01-a0-00-2e
      DEBUG 07/25/2000 15:13:49 pppoeControlPacket (interface atm 10/0.1): PADS tx to 00-09-01-a0-00-2e, connection made  using session id 4 on sub interface 1

      RX-a0-00-2e:v0(config-if)#
      RX-a0-00-2e:v0(config-if)#exit

- See log severity.