The Point-to-Point Protocol (PPP) is the most widely used protocol for connecting hosts over the peer-to-peer connection, such as modem or ISDN link or a direct cable connection. It supports transmitting multi-protocol datagrams over a single link, along with such features as authentication, link quality monitoring and flexible set of options which can be negotiated between two connecting hosts.
The PPP over Ethernet (PPPoE) protocol allows hosts inside an Ethernet-based network to access external hosts via PPP through the bridge host (Access Concentrator). It is most often used to access an xDSL line from inside the network, the DSL or cable modem playing the role the AC
Thus, for successful connection two physical parts are required: client PPPoE module (on every host wishing to use PPPoE) and one or more Access Concentrators. They are presented in a CPX by two modules: POECLI for client part, described in this document, and POEAC as a server part.
This PPPoE Client implementation supports several upper-layer PPP's per single POECLI module. However, you will have to install a distinct POECLI module per each Ethernet interface through which the connection is desired. Also note, that POECLI and POEAC modules cannot share the same Ethernet interface on the same CPX.
For more information, consult the following documents:
The PPP over Ethernet Client port is labelled within the Abilis CPX with the acronym "POECLI" and it is provided with the parameters described in this section.
Here is an example on how to display the POECLI port parameters. Shown values are only examples.
[13:51:12] ABILIS_CPX: D P PO:970 . PO:970 ------------------------------------------------------------------------ POECLI LOG:NO LOWPO:55 max-ses:4 ABORT:NEVER INIT-TOUT:1 INIT-RTY:4 SREQ-TOUT:20 SREQ-RTY:4
To activate changes made on the low case parameters it is needed to restart the system, on the contrary for the high case ones, it is enough to execute the initialization command INIT PO:.
LOWPO: | Identifier of the lower level Abilis CPX port |
NONE | 1 - 999, NONE |
Sets the lower level port; it can only be an ETH or ETH100 port.
The value "NONE" makes the PPPoE port unusable.
MAX-SES: | Number of sessions a module can support |
4 | 1 - 255 |
Sets the number of PPPoE sessions the module can support. There can't be more than this amount of upper layer PPP modules connecting at once. Changing this parameter requires CPX restart.
ABORT: | Active Discovery abort policy |
ALWAYS | NEVER, NOOTHER, ALWAYS |
Determines the behavior in case a PADO packet specifying an error condition was received:
Value | Meaning |
---|---|
NEVER | PADO packets indicating an error are ignored |
NOOTHER | Negotiation terminates if no other PADO packets received until timeout. This may be the preferred policy for networks with several Access Concentrators |
ALWAYS | Error PADO packets cause immediate termination. This may be the preferred policy for networks with a single Access Concentrator |
INIT-TOUT: | Active Discovery Initiation timeout |
5 | 1 - 65535 |
Sets the timeout between resending of PADI packets, in case no answer was received.
INIT-RTY: | Active Discovery Initiation retries |
4 | 1 - 65535 |
Sets the maximal number of PADI packets sent during initiation phase. If none of them were answered, connection terminates.
SREQ-TOUT: | Active Discovery Request timeout |
20 | 1 - 65535 |
Sets the timeout between resending of PADS packets, in case no answer was received.
SREQ-RTY: | Active Discovery Session Request retries |
4 | 1 - 65535 |
Sets the maximal number of PADR packets sent during initiation phase. If none of them were answered, PADI packets are being sent again.
POECLI stat/diag output contain several parts:
[18:45:45] ABILIS_CPX: D S PO:970 . PO:970 ------------------------------------------------------------------------ POECLI STATE:READY CUR-SES:1 MAX-SES:2 ------------------------------------------------------------------------ SES: STATE: AC-MAC: CONN-TIME: SES-ID: SERVICE-NAME: AC-NAME: ------------------------------------------------------------------------ 0 CONNECTED 00-40-F4-0A-C6-EB 5 1 EBIB CPX ------------------------------------------------------------------------ 1 DISCONNECTED 00-00-00-00-00-00 0 0 ------------------------------------------------------------------------ -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---| SUCC-CALL | | 0|FAIL_CALL | | 0| CHAR-DATA | 0| 0|CHAR-SYS | 0| 0| PCK-DATA | 0| 0|PCK-SYS | 0| 0| LOST-DATA | 0| |DROP-SYS | 0| | ------------------------------------------------------------------------
[18:45:45] ABILIS_CPX: D S PO:970 . PO:970 ------------------------------------------------------------------------ POECLI --- Cleared 000:00:00:35 ago, on 03/09/2002 at 18:45:10 ---------------- -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---| SUCC-CALL | | 0|FAIL_CALL | | 0| CHAR-DATA | 0| 0|CHAR-SYS | 0| 0| PCK-DATA | 0| 0|PCK-SYS | 0| 0| LOST-DATA | 0| |DROP-SYS | 0| | ------------------------------------------------------------------------
STATE: | POECLI port state |
DOWN, READY |
Current port state.
Value | Meaning |
---|---|
DOWN | Lower ETH layer is not present or inoperable, POECLI stopped. |
READY | POECLI is up and running. |
CUR-SES: | Number of open sessions |
0-255 |
Total number of sessions currently active
SES: | Session number |
0-255 |
Session number in internal table.
STATE: | Session state |
DOWN, PADISENT, PADRSENT, OPEN |
Current session state.
Value | Meaning |
---|---|
DOWN | Session is closed. |
PADISENT | Session is opening: PADI packet sent, PADO not yet received. |
PADRSENT | Session is opening: PADR packet sent, PADS not yet received. |
OPEN | Session is open and transferring data. |
AC-MAC: | Remote MAC address |
0-255 |
MAC address of remote Access Concentrator. If session is DOWN, will show last valid value.
CONN-TIME: | Time connected |
DWORD |
Shows time since session was connected.
SES-ID: | Session ID |
0-65535 |
Shows PPPoE Session ID as assigned by Access Concentrator.
SERVICE-NAME: | Session Service name |
Shows Service Name to which connection occured. This can either the exact name specified in upper layer PPP or, if it was blank, service name given by AC.
AC-NAME: | Remote AC name |
Shows Access Concentrator Name to which connection occured.
SUCC-CALL: | Successful connects to remote AC |
0-65535 |
Number of successful attempts to establish a connection to Access Concentrator(s).
FAIL-CALL: | Failed connects to remote AC |
0-65535 |
Number of failed attempts to establish a connection to Access Concentrator(s).
CHAR-DATA: | Total data bytes received/sent |
Total number of data bytes received from (sent to) hosts in LAN, including all framing.
Data means all PPP traffic, including PPP system packets. This is the same as bytes sent/received to external links.
CHAR-SYS: | Total system bytes received/sent |
Total number of system bytes received from (sent to) hosts in LAN, including all framing.
System means PPPoE system packets only.
PCK-DATA: | Data packets received/sent |
Number of data packets received from (sent to) hosts in LAN.
Data means all PPP traffic, including PPP system packets. This is the same as packets sent/received to external links.
PCK-SYS: | System packets received/sent |
Number of system packets received from (sent to) hosts in LAN.
System means PPPoE system packets only.
LOST-DATA: | Data packets lost |
Number of data packets lost due to internal queues overflow.
LOST-DATA: | Data packets lost |
0-255 |
Number of data packets lost because there were no RECV pending from PPP.
DROP-SYS: | System packets dropped |
0-255 |
Number of system packets, which were discarded because they were of unexpected type or specified a nonexisting session ID