Command Reference Guide
3Com Router 5000 Family and Router 6000 Family ip route-static ● 175
Command Reference
nexthop-address
Specifies the next hop IP address (in dotted decimal
notation) of the static route.
preference-value
Preference level of the static route in the range from 1
to 255.
public
Public network.
reject
Indicates an unreachable route.
blackhole
Indicates a blackhole route.
tag tag-value
Tag for the static route. It is used for routing policies.
description string
Description on the static route.
Default By default, the system can obtain the sub-net route directly connected with the
router. When configuring a static route, the default preference is 60 if it is not
specified. If it is not specified as reject or blackhole, the route will be reachable by
default.
Example Configure the next hop of the default route as 129.102.0.2.
[3Com ] ip route-static 0.0.0.0 0.0.0.0 129.102.0.2
Configure the static route, whose destination address is 100.1.1.1 and whose
next-hop address is 1.1.1.2.
[3Com ] ip route-static vpn-instance vpn1 100.1.1.1 16 vpn-instance
vpn1 1.1.1.2
View This command can be used in the following views:
■ System view
Description Two static routes to the same destination through the same next hop but with
different preferences are totally different. The system will prefer the route with the
smaller preference value, that is, higher preference level as the current route.
Precautions when configuring static route:
■ When the destination IP address and the mask are both 0.0.0.0, it is the default
route. If it is failed to detect the routing table, a packet will be forwarded along
the default route.
■ For different configuration of preference level, flexible routing management policy
can be adopted. For example, configure multiple routes to the same destination.
Load sharing can be fulfilled by specifying the same preference for the routes.
Route backup can be realized by specifying different preferences.
■ To configure static route, either transmission interface or next hop address can be
specified, which one is adopted in practice depends on actual condition. For the
interfaces supporting the resolution from network address to link layer address or
point-to-point interface, transmission interface or next hop address can be
specified. But for NBMA interfaces, such as the interface or dialing interface
encapsulated with X.25 or frame-relay, they support point-to-multi-point. Except
IP route is configured, secondary route, i.e. the map from IP address to link layer