SRX ADSL

Here is a couple of SRX ADSL configs to 2 different ISPs.
Both these configs have been tested to actually work.

1) Telstra  - PPPOA

    at-1/0/0 {
        mtu 1540;
        encapsulation atm-pvc;
        atm-options {
            vpi 8;
        }
        dsl-options {
            operating-mode auto;
        }
        unit 0 {
            encapsulation atm-ppp-vc-mux;
            vci 8.35;
            ppp-options {
                chap {
                    default-chap-secret "$9$78fgoJGD.fT3JtuBIcS"; ## SECRET-DATA
                    local-name "yourname@direct.telstra.net";
                    passive;
                }
            }
            family inet {
                negotiate-address;
            }
        }
    }


routing-options {
    static {
        route 0.0.0.0/0 next-hop
at-1/0/0.0

2) Netspace - PPPOE

at-1/0/0 {
        mtu 1492;
        encapsulation ethernet-over-atm;
        atm-options {
            vpi 8;
        }
        dsl-options {
            operating-mode auto;
        }
        unit 0 {
            encapsulation ppp-over-ether-over-atm-llc;
            vci 8.35;
        }
    }
    pp0 {
        unit 0 {
            point-to-point;
            ppp-options {
                pap {
                    default-password "$9$CYEtAOwKvLXNdpqvLx92g5Qz"; ## SECRET-DATA
                    local-name "yourname@netspace.net.au";
                    local-password "$9$vMwMxdoraUDHq7XaUjhTQRhc"; ## SECRET-DATA
                    passive;
                }
            }
            pppoe-options {
                underlying-interface at-1/0/0.0;
                idle-timeout 0;
                auto-reconnect 2;
                client;
            }
            family inet {
                negotiate-address;
            }
        }
    }


routing-options {
    static {
        route 0.0.0.0/0 next-hop pp0.0



VERIFICATION COMMANDS

Here is some commands to check the status of the ADSL link.

show interfaces at-1/0/0

show interfaces pp0

show ppp summary

show pppoe version

show pppoe statistics

show pppoe interfaces

show chassis fpc pic-status

root> show chassis pic fpc-slot 1 pic-slot 0 

VERIFICATION  OUTPUT - from the PPPOE Netspace connection

root> show interfaces at-1/0/0
Physical interface: at-1/0/0, Enabled, Physical link is Up
  Interface index: 148, SNMP ifIndex: 533
  Link-level type: Ethernet-over-ATM, MTU: 1492, Clocking: Internal, ADSL mode,
  Speed: ADSL2+, Loopback: None
  Device flags   : Present Running
  Link flags     : None
  CoS queues     : 8 supported, 8 maximum usable queues
  Current address: b0:a8:6e:17:54:a0
  Last flapped   : 2012-08-29 17:23:52 UTC (01:16:00 ago)
  Input rate     : 0 bps (0 pps)
  Output rate    : 0 bps (0 pps)
  ADSL  alarms   : None
  ADSL  defects  : None
  ADSL status:
    Modem status  : Showtime (Adsl2plus)
    DSL mode      :     Auto    Annex A
    Last fail code: None
    Subfunction   : 0x00
    Seconds in showtime : 4558

  Logical interface at-1/0/0.0 (Index 80) (SNMP ifIndex 501)
    Flags: Point-To-Multipoint SNMP-Traps 0x0 Encapsulation: PPPoE-over-ATM-LLC
    Input packets : 3
    Output packets: 2
    Security: Zone: Null
    VCI 8.35
      Flags: Active, Multicast
      Total down time: 0 sec, Last down: Never
        Input packets : 1745
        Output packets: 1574

  Logical interface at-1/0/0.32767 (Index 82) (SNMP ifIndex 534)
    Flags: Point-To-Multipoint No-Multicast SNMP-Traps 0x0
    Encapsulation: ATM-VCMUX
    Input packets : 0
    Output packets: 0
    Security: Zone: Null
    VCI 8.4
      Flags: Active
      Total down time: 0 sec, Last down: Never
        Input packets : 0
        Output packets: 0

root>

root> show interfaces at-1/0/0 detail
Physical interface: at-1/0/0, Enabled, Physical link is Up
  Interface index: 148, SNMP ifIndex: 533, Generation: 151
  Link-level type: Ethernet-over-ATM, MTU: 1492, Clocking: Internal, ADSL mode,
  Speed: ADSL2+, Loopback: None
  Device flags   : Present Running
  Link flags     : None
  CoS queues     : 8 supported, 8 maximum usable queues
  Hold-times     : Up 0 ms, Down 0 ms
  Current address: b0:a8:6e:17:54:a0
  Last flapped   : 2012-08-29 17:23:52 UTC (01:16:10 ago)
  Statistics last cleared: Never
  Traffic statistics:
   Input  bytes  :                  234                    0 bps
   Output bytes  :                26001                    0 bps
   Input  packets:                    3                    0 pps
   Output packets:                  538                    0 pps
  Egress queues: 8 supported, 4 in use
  Queue counters:       Queued packets  Transmitted packets      Dropped packets
    0 best-effort                 1041                 1041                    0
    1 expedited-fo                   0                    0                    0
    2 assured-forw                   0                    0                    0
    3 network-cont                 535                  535                    0
  Queue number:         Mapped forwarding classes
    0                   best-effort
    1                   expedited-forwarding
    2                   assured-forwarding
    3                   network-control
  ADSL  alarms   : None
  ADSL  defects  : None
  ADSL status:
    Modem status  : Showtime (Adsl2plus)
    DSL mode      :     Auto    Annex A
    Last fail code: None
    Subfunction   : 0x00
    Seconds in showtime : 4568
  ADSL Chipset Information:               ATU-R                  ATU-C
    Vendor Country :                       0xb5                   0xb5
    Vendor ID      :                       TSTC                   BDCM
    Vendor Specific:                     0x0000                 0x939f
  ADSL Statistics:                        ATU-R                  ATU-C
    Attenuation (dB)         :              6.0                   12.0
    Capacity used (%)        :                0                      0
    Noise margin (dB)        :             12.0                   10.0
    Output power (dBm)       :              0.0                    0.0

                                  Interleave       Fast  Interleave       Fast
    Bit rate (kbps)   :                20013          0        1023          0
    CRC               :                    0          0           0          0
    FEC               :                   18          0           0          0
    HEC               :                    0          0           0          0
    Received cells    :                19000          0
    Transmitted cells :                 9566          0

  Logical interface at-1/0/0.0 (Index 80) (SNMP ifIndex 501) (Generation 145)
    Flags: Point-To-Multipoint SNMP-Traps 0x0 Encapsulation: PPPoE-over-ATM-LLC
    Traffic statistics:
     Input  bytes  :                  234
     Output bytes  :                  160
     Input  packets:                    3
     Output packets:                    2
    Local statistics:
     Input  bytes  :                  234
     Output bytes  :                  160
     Input  packets:                    3
     Output packets:                    2
    Transit statistics:
     Input  bytes  :                    0                    0 bps
     Output bytes  :                    0                    0 bps
     Input  packets:                    0                    0 pps
     Output packets:                    0                    0 pps
    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
    VCI 8.35
      Flags: Active, Multicast
      Total down time: 0 sec, Last down: Never
      ATM per-VC transmit statistics:
       Tail queue packet drops: 0
      Traffic statistics:
       Input  bytes  :               904264
       Output bytes  :               400809
       Input  packets:                 1747
       Output packets:                 1576

  Logical interface at-1/0/0.32767 (Index 82) (SNMP ifIndex 534)
  (Generation 147)
    Flags: Point-To-Multipoint No-Multicast SNMP-Traps 0x0
    Encapsulation: ATM-VCMUX
    Traffic statistics:
     Input  bytes  :                    0
     Output bytes  :                    0
     Input  packets:                    0
     Output packets:                    0
    Local statistics:
     Input  bytes  :                    0
     Output bytes  :                    0
     Input  packets:                    0
     Output packets:                    0
    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
    VCI 8.4
      Flags: Active
      Total down time: 0 sec, Last down: Never
      ATM per-VC transmit statistics:
       Tail queue packet drops: 0
      Traffic statistics:
       Input  bytes  :                    0
       Output bytes  :                    0
       Input  packets:                    0
       Output packets:                    0

root>

root> show interfaces at-1/0/0 extensive
Physical interface: at-1/0/0, Enabled, Physical link is Up
  Interface index: 148, SNMP ifIndex: 533, Generation: 151
  Link-level type: Ethernet-over-ATM, MTU: 1492, Clocking: Internal, ADSL mode,
  Speed: ADSL2+, Loopback: None
  Device flags   : Present Running
  Link flags     : None
  CoS queues     : 8 supported, 8 maximum usable queues
  Hold-times     : Up 0 ms, Down 0 ms
  Current address: b0:a8:6e:17:54:a0
  Last flapped   : 2012-08-29 17:23:52 UTC (01:16:40 ago)
  Statistics last cleared: Never
  Traffic statistics:
   Input  bytes  :                  234                    0 bps
   Output bytes  :                26145                  184 bps
   Input  packets:                    3                    0 pps
   Output packets:                  541                    0 pps
  Input errors:
    Errors: 0, Drops: 0, Invalid VCs: 0, Framing errors: 0, Policed discards: 0,
    L3 incompletes: 0, L2 channel errors: 0, L2 mismatch timeouts: 0,
    Resource errors: 0
  Output errors:
    Carrier transitions: 1, Errors: 0, Drops: 0, Aged packets: 0, MTU errors: 0,
    Resource errors: 0
  Egress queues: 8 supported, 4 in use
  Queue counters:       Queued packets  Transmitted packets      Dropped packets
    0 best-effort                 1043                 1043                    0
    1 expedited-fo                   0                    0                    0
    2 assured-forw                   0                    0                    0
    3 network-cont                 538                  538                    0
  Queue number:         Mapped forwarding classes
    0                   best-effort
    1                   expedited-forwarding
    2                   assured-forwarding
    3                   network-control
  ADSL  alarms   : None
  ADSL  defects  : None
  ADSL media:            Seconds        Count  State
    LOF                          0            0  OK
    LOS                          0            0  OK
    LOM                          0            0  OK
    LOP                          0            0  OK
    LOCDI                        0            0  OK
    LOCDNI                       0            0  OK
  ADSL status:
    Modem status  : Showtime (Adsl2plus)
    DSL mode      :     Auto    Annex A
    Last fail code: None
    Subfunction   : 0x00
    Seconds in showtime : 4599
  ADSL Chipset Information:               ATU-R                  ATU-C
    Vendor Country :                       0xb5                   0xb5
    Vendor ID      :                       TSTC                   BDCM
    Vendor Specific:                     0x0000                 0x939f
  ADSL Statistics:                        ATU-R                  ATU-C
    Attenuation (dB)         :              6.0                   12.0
    Capacity used (%)        :                0                      0
    Noise margin (dB)        :             12.0                   10.0
    Output power (dBm)       :              0.0                    0.0

                                  Interleave       Fast  Interleave       Fast
    Bit rate (kbps)   :                20013          0        1023          0
    CRC               :                    0          0           0          0
    FEC               :                   18          0           0          0
    HEC               :                    0          0           0          0
    Received cells    :                19017          0
    Transmitted cells :                 9627          0
  ATM status:
    HCS state:     Hunt
    LOC      :       OK
  ATM Statistics:
    Uncorrectable HCS errors: 0, Correctable HCS errors: 0,
    Tx cell FIFO overruns: 0, Rx cell FIFO overruns: 0,
    Rx cell FIFO underruns: 0, Input cell count: 0, Output cell count: 0,
    Output idle cell count: 0, Output VC queue drops: 0, Input no buffers: 0,
    Input length errors: 0, Input timeouts: 0, Input invalid VCs: 0,
    Input bad CRCs: 0, Input OAM cell no buffers: 0
  Packet Forwarding Engine configuration:
    Destination slot: 1
  CoS information:
    Direction : Output
    CoS transmit queue               Bandwidth               Buffer Priority   Limit
                              %            bps     %           usec
    0 best-effort            95         971850    95              0      low    none
    3 network-control         5          51150     5              0      low    none

  Logical interface at-1/0/0.0 (Index 80) (SNMP ifIndex 501) (Generation 145)
    Flags: Point-To-Multipoint SNMP-Traps 0x0 Encapsulation: PPPoE-over-ATM-LLC
    Traffic statistics:
     Input  bytes  :                  234
     Output bytes  :                  160
     Input  packets:                    3
     Output packets:                    2
    Local statistics:
     Input  bytes  :                  234
     Output bytes  :                  160
     Input  packets:                    3
     Output packets:                    2
    Transit statistics:
     Input  bytes  :                    0                    0 bps
     Output bytes  :                    0                    0 bps
     Input  packets:                    0                    0 pps
     Output packets:                    0                    0 pps
    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
    VCI 8.35
      Flags: Active, Multicast
      Total down time: 0 sec, Last down: Never
      ATM per-VC transmit statistics:
       Tail queue packet drops: 0
      Traffic statistics:
       Input  bytes  :               905050
       Output bytes  :               403486
       Input  packets:                 1753
       Output packets:                 1581

  Logical interface at-1/0/0.32767 (Index 82) (SNMP ifIndex 534)
  (Generation 147)
    Flags: Point-To-Multipoint No-Multicast SNMP-Traps 0x0
    Encapsulation: ATM-VCMUX
    Traffic statistics:
     Input  bytes  :                    0
     Output bytes  :                    0
     Input  packets:                    0
     Output packets:                    0
    Local statistics:
     Input  bytes  :                    0
     Output bytes  :                    0
     Input  packets:                    0
     Output packets:                    0
    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
    VCI 8.4
      Flags: Active
      Total down time: 0 sec, Last down: Never
      ATM per-VC transmit statistics:
       Tail queue packet drops: 0
      Traffic statistics:
       Input  bytes  :                    0
       Output bytes  :                    0
       Input  packets:                    0
       Output packets:                    0

root>

root> show interfaces pp0
Physical interface: pp0, Enabled, Physical link is Up
  Interface index: 128, SNMP ifIndex: 502
  Type: PPPoE, Link-level type: PPPoE, MTU: 1532
  Device flags   : Present Running
  Interface flags: Point-To-Point SNMP-Traps
  Link type      : Full-Duplex
  Link flags     : None
  Input rate     : 1320 bps (0 pps)
  Output rate    : 9928 bps (0 pps)

  Logical interface pp0.0 (Index 81) (SNMP ifIndex 535)
    Flags: Point-To-Point SNMP-Traps 0x0 Encapsulation: PPPoE
    PPPoE:
      State: SessionUp, Session ID: 5694,
      Session AC name: syd-ult-bng1, Remote MAC address: 00:30:88:17:21:3e,
      Configured AC name: None, Service name: None,
      Auto-reconnect timeout: 2 seconds, Idle timeout: Never,
      Underlying interface: at-1/0/0.0 (Index 80)
    Input packets : 1827
    Output packets: 1652
  Keepalive settings: Interval 10 seconds, Up-count 1, Down-count 3
  Keepalive: Input: 84 (00:00:42 ago), Output: 503 (00:00:03 ago)
  LCP state: Opened
  NCP state: inet: Opened, inet6: Not-configured, iso: Not-configured, mpls:
  Not-configured
  CHAP state: Closed
  PAP state: Success
    Security: Zone: untrust
    Protocol inet, MTU: 1460
      Flags: Sendbcast-pkt-to-re, Negotiate-Address
      Addresses, Flags: Kernel Is-Preferred Is-Primary
        Destination: 204.216.17.248, Local: 201.77.41.220

root> show interfaces pp0 extensive
Physical interface: pp0, Enabled, Physical link is Up
  Interface index: 128, SNMP ifIndex: 502, Generation: 131
  Type: PPPoE, Link-level type: PPPoE, MTU: 1532, Speed: Unspecified
  Device flags   : Present Running
  Interface flags: Point-To-Point SNMP-Traps
  Link type      : Full-Duplex
  Link flags     : None
  Physical info  : Unspecified
  Hold-times     : Up 0 ms, Down 0 ms
  Current address: Unspecified, Hardware address: Unspecified
  Alternate link address: Unspecified
  Statistics last cleared: Never
  Traffic statistics:
   Input  bytes  :               846091                    0 bps
   Output bytes  :               367323                    0 bps
   Input  packets:                 1827                    0 pps
   Output packets:                 1057                    0 pps
  Input errors:
    Errors: 0, Drops: 0, Framing errors: 0, Runts: 0, Giants: 0,
    Policed discards: 0, Resource errors: 0
  Output errors:
    Carrier transitions: 0, Errors: 0, Drops: 0, MTU errors: 0,
    Resource errors: 0

  Logical interface pp0.0 (Index 81) (SNMP ifIndex 535) (Generation 146)
    Flags: Point-To-Point SNMP-Traps 0x0 Encapsulation: PPPoE
    PPPoE:
      State: SessionUp, Session ID: 5694,
      Session AC name: syd-ult-bng1, Remote MAC address: 00:30:88:17:21:3e,
      Configured AC name: None, Service name: None,
      Auto-reconnect timeout: 2 seconds, Idle timeout: Never,
      Underlying interface: at-1/0/0.0 (Index 80)
    Traffic statistics:
     Input  bytes  :               823481
     Output bytes  :               396056
     Input  packets:                 1827
     Output packets:                 1652
    Local statistics:
     Input  bytes  :                23877
     Output bytes  :                28733
     Input  packets:                  596
     Output packets:                  595
    Transit statistics:
     Input  bytes  :               799604                    0 bps
     Output bytes  :               367323                    0 bps
     Input  packets:                 1231                    0 pps
     Output packets:                 1057                    0 pps
  Keepalive settings: Interval 10 seconds, Up-count 1, Down-count 3
  Keepalive statistics:
    Input : 84 (last seen 00:00:49 ago)
    Output: 503 (last sent 00:00:10 ago)
  LCP state: Opened
  NCP state: inet: Opened, inet6: Not-configured, iso: Not-configured, mpls:
  Not-configured
  CHAP state: Closed
  PAP state: Success
    Security: Zone: untrust
    Flow Statistics :
    Flow Input statistics :
      Self packets :                     1
      ICMP packets :                     2
      VPN packets :                      0
      Multicast packets :                0
      Bytes permitted by policy :        796845
      Connections established :          0
    Flow Output statistics:
      Multicast packets :                0
      Bytes permitted by policy :        367323
    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: 1460, Generation: 158, Route table: 0
      Flags: Sendbcast-pkt-to-re, Negotiate-Address
      Addresses, Flags: Kernel Is-Preferred Is-Primary
        Destination: 204.216.17.248, Local: 201.77.41.220,
        Broadcast: Unspecified, Generation: 150

root>

root> show ppp summary
Interface      Session type  Session phase      Session flags
pp0.0          PPP           Network

root> show ppp statistics detail
Session statistics from PPP process
  Total sessions: 1
    Sessions in disabled phase    : 0
    Sessions in establish phase   : 0
    Sessions in authenticate phase: 0
    Sessions in network phase     : 1
    Bundles in pending phase      : 0
Type                   Size  Active  Free  Limit  Total size  Requests Failures
PPP Auth session         24      1                        24         1
Queued rtsock msgs        0      0      0  65535           0         0
CI settings               0      0                         0         0
Interface address        68      1      0  65535          68         1
Destination profile       0      0                         0         0
ML link settings          0      0                         0         0
IPCP blocked address      0      0                         0         0
PPP session              76      1                        76         1
PPP session trace         0      0                         0         0
IFL redundancy state      0      0                         0         0
PPP Auth session : Pap    104      1                     104         1
Protocol family         108      1      0  65535         108         1
ML bundle settings        0      0                         0         0
PPP LCP session         132      1                       132         1
PPP NCP session         136      1                       136         1
Physical interface      136      3      0  65535         408         3
Access profile            0      0                         0         0
ML wait entry             0      0      0     20           0         0
Group profile             0      0                         0         0
Profile client            0      0                         0         0
PPP Auth session : Chap      0      0                      0         0
Logical interface      1644      1      0  65535        1644         1
Non-tagged                                                24         9
Total                                                   2724        20        0

root> show ppp interface terse pp0.0
Session name    Session type   Session phase      Session flags
pp0.0           PPP            Network

root> show ppp interface extensive pp0
Sessions for interface pp0
  Session pp0.0, Type: PPP, Phase: Network
    LCP
      State: Opened
      Last started: 2012-08-29 17:23:53 UTC
      Last completed: 2012-08-29 17:23:53 UTC
      Negotiated options:
        Authentication protocol: PAP, Magic number: 1346713483, Local MRU: 1460
    Authentication: PAP
      State: Success
      Last started: 2012-08-29 17:23:53 UTC
      Last completed: 2012-08-29 17:23:53 UTC
    IPCP
      State: Opened
      Last started: 2012-08-29 17:23:56 UTC
      Last completed: 2012-08-29 17:23:56 UTC
      Negotiated options:
        Local address: 201.77.41.220, Remote address: 204.216.17.248,
        Primary DNS: 203.0.178.191, Secondary DNS: 204.216.29.191

root> show pppoe version
Point-to-Point Protocol Over Ethernet, Version 1. rfc2516
  Maximum sessions              = 1024
  PADI resend timeout           = 2 seconds
  PADR resend timeout           = 16 seconds
  Maximum resend timeout        = 64 seconds
  Maximum configured AC timeout = 2 seconds

root> show pppoe statistics
Active PPPoE sessions: 1
  PacketType                       Sent         Received
    PADI                              1                0
    PADO                              0                2
    PADR                              1                0
    PADS                              0                1
    PADT                              0                0
    Service name error                0                0
    AC system error                   0                0
    Generic error                     0                0
    Malformed packets                 0                0
    Unknown packets                   0                0
  Timeout
    PADI                              0
    PADO                              0
    PADR                              0
  Receive Error Counters
    PADI                              0
    PADO                              1
    PADR                              0
    PADS                              0

root> show pppoe interfaces brief
Interface       Underlying            State       Session    Remote
                interface                         ID         MAC
pp0.0           at-1/0/0.0            Session up  5694       00:30:88:17:21:3e

root> show pppoe interfaces detail
pp0.0 Index 81
  State: Session up, Session ID: 5694,
  Service name: None,
  Session AC name: syd-ult-bng1, Configured AC name: None,
  Remote MAC address: 00:30:88:17:21:3e,
  Session uptime: 01:32:31 ago,
  Auto-reconnect timeout: 2 seconds, Idle timeout: Never,
  Underlying interface: at-1/0/0.0 Index 80

root> show pppoe interfaces extensive
pp0.0 Index 81
  State: Session up, Session ID: 5694,
  Service name: None,
  Session AC name: syd-ult-bng1, Configured AC name: None,
  Remote MAC address: 00:30:88:17:21:3e,
  Session uptime: 01:32:38 ago,
  Auto-reconnect timeout: 2 seconds, Idle timeout: Never,
  Underlying interface: at-1/0/0.0 Index 80
  PacketType                       Sent         Received
    PADI                              1                0
    PADO                              0                2
    PADR                              1                0
    PADS                              0                1
    PADT                              0                0
    Service name error                0                0
    AC system error                   0                0
    Generic error                     0                0
    Malformed packets                 0                0
    Unknown packets                   0                0
  Timeout
    PADI                              0
    PADO                              0
    PADR                              0
  Receive Error Counters
    PADI                              0
    PADO                              1
    PADR                              0
    PADS                              0

root> show chassis fpc pic-status
Slot 0   Online       FPC
  PIC 0  Online       2x GE, 6x FE, 1x 3G
Slot 1   Online       FPC
  PIC 0  Online       1x ADSL 2/2+ A

root> show chassis pic fpc-slot 1 pic-slot 0
FPC slot 1, PIC slot 0 information:
  Type                             1x ADSL 2/2+ A
  State                            Online
  PIC version                  0.0
  Uptime                         1 hour, 35 minutes, 51 seconds


 
 
 

No comments: