OS10 Enterprise Edition User Guide Release 10.4.0E(R3)



Assigns a default-metric of redistributed routes to locally originated routes.

default-metric number
number — Enter a number as the metric to assign to routes from other protocols, from 1 to 4294967295.
Command Mode
Usage Information
Assigns a metric for locally-originated routes such as redistributed routes. After you redistribute routes in BGP, use this command to reset the metric value — the new metric does not immediately take effect. The new metric takes effect only after you disable and re-enable route redistribution for a specified protocol. To re-enable route distribution use the redistribute {connected [route-map map-name] | ospf process-id | static [route-map map-name] } command, or use the clear ip bgp * command after you reset BGP. The no version of this command removes the default metric value.
Example (IPv4)
OS10(conf-router-bgpv4-af)# default-metric 60
Example (IPv6)
OS10(conf-router-bgpv6-af)# default-metric 60
Supported Releases
10.3.0E or later

Rate this content

Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\