Chapter 7 Route
ZyWALL (ZLD) CLI Reference Guide
85
Figure 15 Example of Static Routing Topology
7.4 Static Route Commands
The following table describes the commands available for static route. You must use the
configure terminal command to enter the configuration mode before you can use these
commands.
7.4.1 Static Route Commands Example
The following command sets a static route with IP address 10.10.10.1 and subnet mask
255.255.255.0 and with the next-hop interface ge1.
Table 40 Command Summary: Static Route
COMMAND DESCRIPTION
[no] ip route {w.x.y.z} {w.x.y.z}
{interface|w.x.y.z} <0..127>
Sets a static route. The no command disables a
static route.
ip route replace {w.x.y.z} {w.x.y.z}
{interface|w.x.y.z} <0..127> with {w.x.y.z}
{w.x.y.z} {interface|w.x.y.z} <0..127>
Changes an existing route’s settings.
show ip route-settings Displays static route information.
Router(config)# ip route 10.10.10.1 255.255.255.0 ge1