Reference Guide

set metric
Configure a filter to assign a new metric to redistributed routes.
S5000
Syntax
set metric [+ | -] metric-value
To delete a setting, enter no set metric.
Parameters
+ (OPTIONAL) Enter + to add a metric-value to the
redistributed routes.
- (OPTIONAL) Enter - to subtract a metric-value from the
redistributed routes.
metric-value Enter a number as the new metric value. The range is zero
(0) to 4294967295.
Defaults Not configured.
Command
Modes
ROUTE-MAP
Command
History
Version 9.0(1.3) Introduced on the S5000.
Related
Commands
set automatic-tag – computes the tag value of the route.
set level – specifies the OSPF area for route redistribution.
set metric-type – specifies the route type assigned to redistributed routes.
set tag – specifies the tag assigned to redistributed routes.
set metric-type
Configure a filter to assign a new route type for routes redistributed to OSPF.
S5000
Syntax
set metric-type {internal | external | type-1 | type-2}
Parameters
internal Enter the keyword internal to assign the Interior Gateway
Protocol metric of the next hop as the route’s BGP
MULTI_EXIT_DES (MED) value.
external Enter the keyword external to assign the IS-IS external
metric.
type-1 Enter the keyword type-1 to assign the OSPF Type 1 metric.
248
Access Control Lists (ACL)