Establishing a Static Route
ip route
Configuring Static Routes with Indirect Next Hops
Copyright © 2010, Juniper Networks, Inc.
Use to assign a router ID—a unique identifier that IP routing protocols use to identify
the router within an autonomous system.
Example
host1(config)#ip router-id 192.32.15.23
Use the no version to remove the router ID assignment.
See ip router-id
You can set a destination to receive and send traffic by a specific route through the
network.
Use to establish a static route.
Example
host1(config)#ip route 192.56.15.23 255.255.255.0 192.66.0.1
Use the no version to remove a static route from the routing table.
See ip route
You can configure static routes where next hops are not on directly connected interfaces.
Such a route is usable, and appears in the route table, only if another route in the route
table can resolve the next hop.
The resolving route can be either statically created or dynamically learned by a routing
protocol (like RIP, BGP, OSPF, and so on).
NOTE: When configuring this type of static route, the route that resolves the
next hop must have an administrative distance value that is better (lower)
than the distance of the static route you want to resolve.
Figure 11: Static Routes with Indirect Next Hops
On the Boston router in the network shown in Figure 11 on page 29:
Chapter 1: Configuring IP
29
Need help?
Do you have a question about the JUNOSE SOFTWARE FOR E SERIES 11.3.X - IP-IPV6-IGP CONFIGURATION GUIDE 2010-10-31 and is the answer not in the manual?
Questions and answers