Zyxel NXC2500 [70/275] Static route commands

Zyxel NXC2500 [70/275] Static route commands
Chapter 7 Route
NXC CLI Reference Guide
70
Figure 10 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.0 and subnet mask
255.255.255.0 and with the next-hop interface ge1. Then use the show command to display
the setting.
Table 26 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. Use show ip
route to see learned route information.
show ip route control-virtual-server-rules Displays whether or not static routes have priority
over NAT virtual server rules (1-1 SNAT).
Router(config)# ip route 10.10.10.0 255.255.255.0 ge1
Router(config)#
Router(config)# show ip route-settings
Route Netmask Nexthop Metric
===========================================================================
10.10.10.0 255.255.255.0 ge1 0

Содержание

Скачать