Description:
This command manages network routes not handled by the GATEWAYIPADDRESS.
This command is experimental and is subject to change without notice.
Form:
Command Handler: SYSD
ROUTE [[VALUE] | [COMMAND VALUE]]
Argument list:
COMMAND VALUE DESCRIPTION
No args, Shows the additional route.
NETWORK GATEWAY NETMASK DEVICE Sets the additional route.
DELETE NETWORK GATEWAY NETMASK DEVICE Deletes the additional route.
VALUE desscriptions:
NETWORK - Target Network/Host
GATEWAY - Gateway that can route to the network. Must be reachable on local network.
NETMASK - Netmask
DEVICE - Hardware device to use, "eth0" or "eth1", corresponds to LAN and GIGE
Response:
"OK\r\n" to acknowledge receipt of command, and
[Reply Info] if required by the command
"ERROR- [Description]\r\n" if error, ending command
"\r\n" concludes modify responses (empty line)
Examples:
Add route:
*.SYSD ROUTE 192.168.8.0 192.168.10.1 255.255.255.0 eth0
Response is: OK\r\n
\r\n
Modify argument (note: if all arguments have been set, the old route is deleted
and a new route is put in its place based on current arguments):
*.SYSD ROUTE DEVICE eth1
Response is: OK\r\n
\r\n
Show route:
*.SYSD ROUTE
Response is:
OK\r\n
NETWORK= 192.168.10.0\r\n
GATEWAY= 192.168.10.1\r\n
NETMASK= 255.255.255.0\r\n
DEVICE= eth0\r\n
Delete route:
*.SYSD ROUTE delete 192.168.8.0 192.168.10.1 255.255.255.0 eth0
Response is: OK\r\n
\r\n
The following deletes the currently set route:
*.SYSD ROUTE delete
Response is: OK\r\n
\r\n
Notes:
This command is experimental and is subject to change without notice.