Zyxel OLT2412 [213/326] Static route commands

Zyxel OLT2412 [213/326] Static route commands
OLT2412 User’s Guide 213
CHAPTER 28
Static Route
This chapter shows you how to configure static routes. Static routes tell the OLT how to forward IP
traffic when you configure the TCP/ IP parameters manually.
28.1 Static Route Commands
The following table lists the static route commands.
28.2 Static Route Command Examples
In this routing table, you can create an active static route if the <next-hop-ip> is in 172.16.37.0/
24 or 127.0.0.0/16. You cannot create an active static route to other IP addresses.
For example, you cannot create an active static route that routes traffic for 192.168.10.1/24 to
172.23.44.51.
Table 114 Static Route Commands
COMMAND DESCRIPTION
show ip route
Displays the IP routing table.
show ip route static
Displays the static routes.
ip route <ip> <mask> <next-hop-
ip> [metric <metric>] [name
<name>] [inactive]
Creates a static route. If the <ip> <mask> already exists, the OLT
deletes the existing route first. Optionally, also sets the metric,
sets the name, and/or deactivates the static route.
metric: 1-15
name: 1-10 English keyboard characters
Note: If the <next-hop-ip> is not directly connected to the OLT,
you must make the static route inactive.
no ip route <ip> <mask>
Removes a specified static route.
no ip route <ip> <mask> <next-
hop-ip>
Removes a specified static route.
no ip route <ip> <mask> inactive
Enables a specified static route.
no ip route <ip> <mask> <next-
hop-ip> inactive
Enables a specified static route.
OLT2412# config
OLT2412(config)# ip route 192.168.10.1 255.255.255.0 172.23.44.51
Error : The Action is failed. Please re-configure setting.

Содержание