XRPi Home

Documentation Index
Alphabetic Index

XRPi Documentation - Sysop Commands

UDPLOCAL

Command

UDPLOCAL -- Display / Set a port's UDPLOCAL parameter.

Synopsis

UDPLOCAL <port> [0-65535]

Availability

Sysop-only.

Description

The UDPLOCAL command allows the UDP service number (often confusingly called a "port") at the local end of an AXUDP link to be displayed or altered.

This number must match the link partner's UDPREMOTE, i.e. the destination service number in the frames from him to you.

If not specified, UDPLOCAL defaults to 93.

It is usually specified within a PORT configuration block in the XROUTER.CFG file, but this command allows it to be changed on the fly, without needing to take XRPi off line.

Please see the manual section on AXUDP for more information.

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

UDPLOCAL 3       - Display current UDPLOCAL setting for port 3
UDPLOCAL 3 9393  - Set port 3 UDPLOCAL to 9393

See also

AXUDP(9) -- About AX25-over-UDP Tunnelling.
UDPREMOTE(2) -- Display / Set a port's UDPREMOTE parameter.
XROUTER.CFG(8) -- Main Configuration File