To verify PPPoE configuration perform the following tasks:
Verify the PPPoE configuration for an ATM-for-ADSL interface.
From the J-Web interface, select Configuration>View and Edit>View Configuration Text. Alternatively, from configuration mode in the CLI, enter the show interfaces command from the top level.
- [edit]
- user@host# show interfaces
- at-2/0/0 {
- encapsulation ethernet-over-atm;
-
- atm-options {
- vpi 0;
- }
-
- dsl-options {
- operating-mode auto;
- }
-
- unit 0 {
- encapsulation ppp-over-ether-over-atm-llc;
- vci 0.120;
- }
- }
- pp0 {
- mtu 1492;
-
- unit 0 {
-
- ppp-options {
-
- chap {
- access-profile A-ppp-client;
- local-name A-at-2/0/0.0;
- }
- }
-
- pppoe-options {
- underlying-interface at-2/0/0;
- access-concentrator ispl.com;
- service-name "video@ispl.com";
- auto-reconnect 100;
- }
- no-keepalives;
-
- family inet {
- negotiate-address;
- }
- }
- }
Verify that the output shows the intended configuration of PPPoE. For more information about the format of a configuration file, see Viewing the Configuration Text.
Verifying PPPoE InterfacesVerify that the PPPoE router interfaces are configured properly.
From the CLI, enter the show interfaces pp0 command.
user@host> show interfaces pp0
Physical interface: pp0, Enabled, Physical link is Up
Interface index: 67, SNMP ifIndex: 317
Type: PPPoE, Link-level type: PPPoE, MTU: 9192, Clocking: 1
Device flags : Present Running
Interface flags: Point-To-Point SNMP-Traps
Link type : Full-Duplex
Link flags : None
Last flapped : Never
Input rate : 0 bps (0 pps)
Output rate : 0 bps (0 pps)
Logical interface pp0.0 (Index 1) (SNMP ifIndex 330)
Flags: Point-To-Point SNMP-Traps 16384 Encapsulation: PPPoE
PPPoE:
State: SessionUp, Session ID: 3304,
Session AC name: isp1.com, AC MAC address: 00:90:1a:40:f6:4c,
Service name: video@isp1.com, Configured AC name: isp1.com,
Auto-reconnect timeout: 60 seconds
Underlying interface: fe-5/0/0.0 (Index 71)
Input packets : 23
Output packets: 22
Keepalive settings: Interval 10 seconds, Up-count 1, Down-count 3
Keepalive: Input: 16 (00:00:26 ago), Output: 0 (never)
LCP state: Opened
NCP state: inet: Opened, inet6: Not-configured, iso: Not-configured, mpls:
Not-configured
CHAP state: Success
Protocol inet, MTU: 1492
Flags: Negotiate-Address
Addresses, Flags: Kernel Is-Preferred Is-Primary
Destination: 211.211.211.2, Local: 211.211.211.1
The output shows information about the physical and the logical interface. Verify the following information:
For more information about the show interfaces pp0 command, see the JUNOS Network and Services Interfaces Command Reference.
Verifying PPPoE SessionsVerify that a PPPoE session is running properly on the logical interface.
From the CLI, enter the show pppoe interfaces command.
user@host> show pppoe interfaces
pp0.0 Index 67 State: Session up, Session ID: 31, Service name: video@isp1.com, Configured AC name: isp1.com, Session AC name: belur, AC MAC address: 00:90:1a:40:f6:4e, Auto-reconnect timeout: 1 seconds, Underlying interface: fe-0/0/1.0 Index 69
The output shows information about the PPPoE sessions. Verify the following information:
For more information about the show pppoe interfaces command, see the JUNOS Network and Services Interfaces Command Reference.
Verifying the PPPoE VersionVerify the version information of the PPPoE protocol configured on the Services Router interfaces.
From the CLI, enter the show pppoe version command.
user@host> show pppoe version
Point-to-Point Protocol Over Ethernet, version 1. rfc2516 PPPoE protocol = Enabled Maximum Sessions = 256 PADI resend timeout = 2 seconds PADR resend timeout = 16 seconds Max resend timeout = 64 seconds Max Configured AC timeout = 4 seconds
The output shows PPPoE protocol information. Verify the following information:
For more information about the show pppoe version command, see the JUNOS Network and Services Interfaces Command Reference.
Verifying PPPoE StatisticsDisplay statistics information about PPPoE interfaces.
From the CLI, enter the show pppoe statistics command.
user@host> show pppoe statistics
Active PPPoE sessions: 4
PacketType Sent Received
PADI 502 0
PADO 0 219
PADR 219 0
PADS 0 219
PADT 0 161
Service name error 0 0
AC system error 0 13
Generic error 0 0
Malformed packets 0 41
Unknown packets 0 0
Timeout
PADI 42
PADO 0
PADR 0
The output shows information about active sessions on PPPoE interfaces. Verify the following information:
For more information about the show pppoe statistics command, see the JUNOS Network and Services Interfaces Command Reference.