IBM Heritage Network Router User Manual


 
Herita
g
e Series ADSL Brid
g
e/ Router
7-43
Command Sets for Command Line Interface
3. <channel> disable
Syntax:
<channel> disable
Description:
Clear the enable flag for a PPP channel. This is the default setting.
Disabling does not remove other configured information about this
channel. In the PPP state machine, this sets the PPP link to ‘closed’.
If it is already closed, there is no effect.
Configuration saving saves this information. By default all channels
are disabled.
4. <channel> discard
Syntax:
<channel> discard [<size>]
Description:
Discard is a PPP LCP packet type, which is like the Echo packet type
but does not generate a return. This can be used for more careful tests
of data transfer on the link, for instance at sizes near the negotiated
MRU. This command sends an LCP Discard packet, of the specified
size. If no size is given, a minimal sized packet is sent. Arrival of a
Discard packet is logged locally as a level 2 event. The link must be
up and operational in order to do the discard test.
5. <channel> echo
Syntax:
<channel> echo [<size>]
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 sends an
LCP Echo packet, of the specified size. If no size is given, a minimal
sized packet is sent. If a size greater than the remote Maximum
Receive Unit size is specified, the value is reduced to the remote MRU
before sending. The command waits for 1 second for a reply packet to
arrive, and prints whether the reply arrived. If a reply arrives
subsequent to this, it is logged as a level 2 event. The link must be up
and operational in order to do the echo test. See also the
discard test.