[
Contents]
[
Prev]
[
Next]
[
Index]
[
Report an Error]
Verifying a PPPoE Configuration
To verify PPPoE configuration perform the following tasks:
Displaying a PPPoE Configuration for an Ethernet
Interface
Purpose
Verify the PPPoE configuration for an Ethernet interface.
Action
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
fe-3/0/0 {
unit 1{
}
}
pp0 {
unit 1{
pppoe-options {
underlying-interface fe-3/0/0.0;
idle-timeout 123;
access-concentrator myac;
service-name myserv;
auto-reconnect 10;
client;
}
family inet {
address 22.2.2.1/32 {
destination 22.2.2.2;
}
}
family inet6 {
address 3004::1/128 {
destination 3004::2;
}
}
}
}
What it Means
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.
Displaying a PPPoE Configuration
for an ATM-over-ADSL or ATM-over-SHDSL Interface
Purpose
Verify the PPPoE configuration for an ATM-over-ADSL or ATM-over-SHDSL
interface.
Action
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-6/0/0 {
encapsulation ethernet-over-atm;
atm-options {
vpi 0;
}
dsl-options {
operating-mode itu-dmt;
}
unit 0 {
encapsulation ppp-over-ether-over-atm-llc;
vci 35;
}
}
pp0 {
unit 0 {
pppoe-options {
underlying-interface at-6/0/0.0;
idle-timeout 123;
access-concentrator myac;
service-name myserv;
auto-reconnect 10;
client;
}
family inet {
address 11.1.1.1/32 {
destination 11.1.1.2;
}
}
family inet6 {
address 2004::1/128 {
destination 2004::2;
}
}
family mpls;
}
}
What it Means
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 Interfaces
Purpose
Verify that the PPPoE router interfaces are configured properly.
Action
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
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
|
What it Means
The output shows information about the physical and the logical interface.
Verify the following information:
- The physical interface is enabled and the link is up.
- The PPPoE session is running on the correct logical interface.
- Under State, the state is active (up).
- Under Underlying interface, the physical interface on
which the PPPoE session is running is correct:
- For an Ethernet connection, the underlying interface is Fast Ethernet
or Gigabit Ethernet—for example, fe-5/0/0.0.
- For an ATM-over-ADSL or ATM-over-SHDSL connection, the underlying
interface is ATM—for example, at-2/0/0.0.
For more information about the show interfaces pp0 command,
see the JUNOS Interfaces Command Reference.
Verifying PPPoE Sessions
Purpose
Verify that a PPPoE session is running properly on the logical interface.
Action
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
|
What it Means
The output shows information about the PPPoE sessions. Verify the following
information:
- The PPPoE session is running on the correct logical interface.
- Under State, the session is active (up).
- Under Underlying interface, the physical interface on
which the PPPoE session is running is correct:
- For an Ethernet connection, the underlying interface is Fast Ethernet
or Gigabit Ethernet—for example, fe-0/0/1.0.
- For an ATM-over-ADSL or ATM-over-SHDSL connection, the underlying
interface is ATM—for example, at-2/0/0.0.
For more information about the show pppoe interfaces command,
see the JUNOS Interfaces Command Reference.
Verifying the PPPoE Version
Purpose
Verify the version information of the PPPoE protocol configured on the Services Router interfaces.
Action
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
|
What it Means
The output shows PPPoE protocol information. Verify the following information:
- The correct version of the PPPoE protocol is configured on the
interface.
- Under PPPoE protocol, the PPPoE protocol is enabled.
For more information about the show pppoe version command,
see the JUNOS Interfaces Command Reference.
Verifying PPPoE Statistics
Purpose
Display statistics information about PPPoE interfaces.
Action
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
|
What it Means
The output shows information about active sessions on PPPoE interfaces.
Verify the following information:
- Total number of active PPPoE sessions running on the interface.
- Under Packet Type, the number of packets of each type
sent and received during the PPPoE session.
For more information about the show pppoe statistics command,
see the JUNOS Interfaces Command Reference.
[
Contents]
[
Prev]
[
Next]
[
Index]
[
Report an Error]