Zhone Technologies Z-PLEX-10-24-DOC-SC manual Adding and deleting host routes

Models: Z-PLEX-10-24-DOC-SC

1 101
Download 101 pages 3.06 Kb
Page 42
Image 42

Adding and deleting routes

Configuring the Z-Plex

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

4.9.3Example routing configuration

Figure 4-1 on page 4-13provides an example routing configuration for the Z-Plex.

4-12 \ Zhone Technologies

Page 42
Image 42
Zhone Technologies Z-PLEX-10-24-DOC-SC manual Adding and deleting host routes, Example routing configuration