62
do the echo test. See also the
discard
test.
6.
<channel>
echo every
Syntax:
<channel> echo every <seconds>
Description:
Echo is an LCP packet, which is used to test an established PPP link. It solicits a ping-like reply
from the far end. This command sets a channel to confirm the continued presence of an open PPP
connection by sending an LCP echo every few seconds, and requiring an echo reply. The number of
seconds between echo requests is specified as a parameter. If 0 is specified, the function is disabled.
Use the
info all
command to read the current state on a channel. Configuration saving saves this
information. By default the function is disabled.
7.
<channel>
enable
Syntax:
<channel> enable
Description:
Set the enable flag for a PPP channel. By default this is disabled.
In the PPP state machine, this flag sets the PPP link to ‘
open
’. If it is already open, there is no effect.
Configuration saving saves this information. By default all channels are disabled.
8.
<channel>
hdlc
Syntax:
<channel> hdlc [1|0]
Description:
If 1, use an HDLC header on the front of transmitted packets and require one on received ones.
This consists of two bytes, FF-03, and assists in interoperability with some other (non-standard)
implementations. If 0, disable this. Call with no argument to find the current setting.
The default value is 0 (disabled). Configuration saving saves this information.
If not set, and a packet is received with an HDLC header, the channel goes into a ‘learned HDLC’
mode and sends packets with the HDLC header. Thus, interoperation with HDLC-using
equipment should not normally require any configuration. Learning occurs in this direction only.
Setting
hdlc
to 0 clears this learned state.
Configuration saving does not save the learned state.
9.
<channel>
info
Syntax:
<channel> info [all]
Description:
Provide information about the current settings of this channel. This includes all configured state,
and also current protocol information. Specifying ‘
all
’ prints out more information.
info
and
status
are synonyms.
10.
<channel>
interface
Syntax:
<channel> interface <n>
Description:
Logically associate the specified channel with the specified interface.
Interface 1 is always the router port. It should be used for any PPP channel over which IPCP
communication with the local system’s IP router is desired. Other interfaces can be created for
bridging. A single PPP channel can only be associated with a single interface, or a single tunnel.
Use
info
to find the current setting.
Calling with n=0 removes any association. This is the default state. Configuration saving saves this
information.