Adding and deleting routes | Configuring the |
user> SET ROUTE:DLTNETRT:x:destination:gateway
For example, the following command deletes a network route (route number 2) from the 192.168.0.0 network using the gateway 128.23.22.1:
user> SET ROUTE:DLNETRT:1:192.168.0.0:128.23.22.1
4.9.2Adding and deleting host routes
To add a host route, enter the following command:
user> SET ROUTE:ADDHOSTRT:x:destination:gateway
Where x is the number of the route, destination is the destination address, and gateway is the gateway address. For example, the following command creates a host route (route number 1) from 192.168.8.21 using the gateway 128.23.21.1:
user> SET ROUTE:ADDHOSTRT:1:192.168.8.21:128.23.21.1
To delete a network route, enter the following command:
user> SET ROUTE:DLTHOSTRT:x:destination:gateway
For example, the following command deletes a host route (route number 2) from 192.168.9.21 using the gateway 128.23.22.1:
user> SET ROUTE:DLHOSTRT:1:192.168.9.21:128.23.22.1