OLT2406 User’s Guide
588
CHAPTER 81
Static Route
81.1 Overview
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.
81.2 Static Route Commands
The following table lists the static route commands.
81.3 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.
Table 303 Static Route Commands
COMMAND DESCRIPTION M P
show ip route
Displays the IP routing table. E 3
show ip route static
Displays the static routes. E 3
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.
C13
no ip route <ip> <mask>
Removes a specified static route. C 13
no ip route <ip> <mask> <next-hop-
ip>
Removes a specified static route. C 13
no ip route <ip> <mask> inactive
Enables a specified static route. C 13
no ip route <ip> <mask> <next-hop-
ip> inactive
Enables a specified static route. C 13