Add/Delete Additional Routes
- Last Updated: October 14, 2024
- 1 minute read
- LoadMaster
- Multi-Tenant LoadMaster
- Documentation
These commands can be used to add/delete additional routes.
Example Command
Add:
curl -k "https://<Username>:<Password>@<MTIPAddress>/mtaccess/addroute?dest=<DestinationIpAddress>&gateway=<GatewayIPAddress>"Delete:
curl -k "https://<Username>:<Password>@<MTIPAddress>/mtaccess/delroute?dest=<DestinationIPAddress>"Available Parameters
|
Parameter |
Parameter Type |
Parameter Description |
Mandatory |
|---|---|---|---|
|
dest |
Address |
The destination network which needs to be accessed. |
Yes |
|
gateway |
Address |
The gateway on the local network, which allows access to the destination network. |
Yes - if adding. No - if removing. |
Example Output
<?xml version="1.0" encoding="ISO-8859-1"?><Response stat="200" code="OK"><Success>Command completed ok</Success></Response>