XRPi Home

Documentation Index
Alphabetic Index

XRPi Documentation - Sysop Commands

RETRIES

Command

RETRIES -- Display / Set the retries parameter for a port.

Synopsis

RETRIES <port> [value]

Description

The RETRIES command allows the value of the level 2 maximum retry value for a port to be displayed or altered, i.e. the maximum no. of attempts at sending a frame without a reply being received. The usual setting is 10. A setting of 0 means "try forever", and should be avoided except for testing.

Options

If a single numeric argument is supplied, the current value for that port number is displayed.

If two numeric arguments are supplied, the first specifies the port number, and the second specifies the new value for the parameter. The new setting remains in force until changed, or until the router is restarted, in which case the value specified in the CFG file is reapplied.

Example

RETRIES 3       - Display current setting for port 3
RETRIES 3 15    - Set port 3 max retries to 15

Availability

Sysop-only.