The configuration and 'show' commands below can be used for configuring PPPoE over ATM using a ADSL interface.
Configuration
user@router# show interfaces at-1/0/0
encapsulation ethernet-over-atm;
atm-options {
vpi 1;
}
unit 0 {
encapsulation ppp-over-ether-over-atm-llc;
vci 1.110;
}
[edit]
user@router# show interfaces pp0
unit 0 {
ppp-options {
chap {
access-profile ppp-acc;
local-name purple;
passive;
}
}
pppoe-options {
underlying-interface at-1/0/0.0;
auto-reconnect 30;
client;
}
family inet {
negotiate-address;
}
}
[edit]
user@router# show access
profile ppp-acc {
authentication-order password;
client belur chap-secret "$ABC123"; ## SECRET-DATA
}
Helpful SHOW commands
PP0.0 interface extensive output:
user@router# run show interfaces pp0.0 extensive
Logical interface pp0.0 (Index 68) (SNMP ifIndex 161) (Generation 142)
Flags: Point-To-Point SNMP-Traps 0x4000 Encapsulation: PPPoE
PPPoE:
State: SessionUp, Session ID: 1,
Remote MAC address: 00:00:00:00:ca:8f,
Configured AC name: None, Service name: None,
Auto-reconnect timeout: 5 seconds, Idle timeout: Never,
Underlying interface: at-1/0/0.0 (Index 70)
Traffic statistics:
Input bytes : 16798
Output bytes : 51334
Input packets: 288
Output packets: 459
Local statistics:
Input bytes : 6021
Output bytes : 51334
Input packets: 150
Output packets: 459
Transit statistics:
Input bytes : 10777 0 bps
Output bytes : 0 0 bps
Input packets: 138 0 pps
Output packets: 0 0 pps
Keepalive settings: Interval 10 seconds, Up-count 1, Down-count 3
Keepalive statistics:
Input : 0 (last seen: never)
Output: 135 (last sent 00:00:06 ago)
LCP state: Opened
NCP state: inet: Opened, inet6: Not-configured, iso: Not-configured, mpls:
Not-configured
CHAP state: Success
PAP state: Closed
Security: Zone: Null
Flow Statistics :
Flow Input statistics :
Self packets : 0
ICMP packets : 0
VPN packets : 0
Multicast packets : 0
Bytes permitted by policy : 0
Connections established : 0
Flow Output statistics:
Multicast packets : 0
Bytes permitted by policy : 0
Flow error statistics (Packets dropped due to):
Address spoofing: 0
Authentication failed: 0
Incoming NAT errors: 0
Invalid zone received packet: 0
Multiple user authentications: 0
Multiple incoming NAT: 0
No parent for a gate: 0
No one interested in self packets: 0
No minor session: 0
No more sessions: 0
No NAT gate: 0
No route present: 0
No SA for incoming SPI: 0
No tunnel found: 0
No session for a gate: 0
No zone or NULL zone binding 0
Policy denied: 0
Security association not active: 0
TCP sequence number out of window: 0
Syn-attack protection: 0
User authentication errors: 0
Protocol inet, MTU: 1492, Generation: 154, Route table: 0
Flags: Negotiate-Address
Addresses, Flags: Kernel Is-Preferred Is-Primary
Destination: 10.0.0.1, Local: 10.67.15.1, Broadcast: Unspecified,
Generation: 156
user@router# run show interfaces terse | match pp
pp0 up up
pp0.0 up up inet 10.67.15.1 --> 10.0.0.1