IP Router Configuration
Router Configuration Guide 129
This option when enabled delays the activation of the static route until the LDP session comes up over
the interface and the ldp-sync-timer configured on that interface has expired
Default no ldp-sync
metric
Syntax [no] metric metric-value
Context config>router>static-route-entry>next-hop
config>router>static-route-entry>indirect
Description This command specifies 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 different metrics then the lower cost
(metric) route will be installed.
The no form of this command returns the metric to the default value
Default no ldp-sync
Parameters metric-value — Specifies the cost metric value.
Values 0 to 65535
preference
Syntax [no] preference preference-value
Context config>router>static-route-entry>next-hop
config>router>static-route-entry>indirect
config>router>static-route-entry>black-hole
Description This command specifies the route preference to be assigned to the associated static route. The lower
the preference value the more preferred the route is considered.
Table 5 shows the default route preference based on the route source.
Table 5: Default Route Preference
Label Preference Configurable
Direct attached 0 No
Static route 5 Yes