Configuration Commands
Page 92 7750 SR OS Router Configuration Guide
x:x:x:x:x:x:d.d.d.d
x [0 — FFFF]H
d [0 — 255]D
ipv6-prefix-length 0 — 128
ip-address — The IP address of the IP interface. The ip-addr portion of the address command
specifies the IP host address that will be used by the IP interface within the subnet. This address
must be unique within the subnet and specified in dotted decimal notation.
Values ipv4 -address a.b.c.d (host bits must be 0)
ipv6-address x:x:x:x:x:x:x:x[-interface]
x:x:x:x:x:x:d.d.d.d[-interface]
x: [0..FFFF]H
d: [0..255]D
interface: 32 characters maximum, mandatory for link local
addresses
netmask — The subnet mask in dotted decimal notation.
Values 0.0.0 .0 — 255.25 5.255.255 (network bits all 1 and host bits all 0)
preference preference — The preference of this static route versus the routes from different sources
such as BGP or OSPF, expressed as a decimal integer. When modifing the preference of an
existing static route, the metric will not be changed unless specified.
Different protocols should not be configured with the same preference. If this occurs, the
tiebreaker is according to the default preference table defined in Table5 on page 93.
If multiple routes are learned with an identical preference using the same protocol, the lowest-
cost route is used. If multiple routes are learned with an identical preference using the same
protocol, and the costs (metrics) are equal, then the route to use is determined by the
configuration of the ecmp command.
metric metric — The cost metric for the static route, expressed as a decimal integer. This value is
used when importing the static route into other protocols such as OSPF. When the metric is
configured as 0 then the metric configured in OSPF, default-import-metric, applies. When
modifying the metric of an existing static route, the preference will not change unless specified.
This value is also used to determine which static route to install in the forwarding table:
• If there are multiple static routes with the same preference but unequal metrics then the
lower cost (metric) route will be installed.
• If there are multiple static routes with equal preferences and metrics then ECMP rules
apply.
• If there are multiple routes with unequal preferences then the lower preference route
will be installed.
Default 1
Values 0 — 65535
next-hop [ip-address | ip-int-name] — Specifies the directly connected next hop IP address used to
reach the destination. If the next hop is over an unnumbered interface, the ip-int-name of the
unnumbered interface (on this node) can be configured.