Dell PowerSwitch S4112F-ON OS10 Enterprise Edition User Guide Release 10.4.0ER - Page 555
set metric-type
View all Dell PowerSwitch S4112F-ON manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 555 highlights
Default Command Mode Usage Information Example (Absolute) Not configured ROUTE-MAP To establish an absolute metric, do not enter a plus or minus sign before the metric value. To establish a relative metric, enter a plus or minus sign immediately preceding the metric value. The value is added to or subtracted from the metric of any routes matching the route map. You cannot use both an absolute metric and a relative metric within the same route map sequence. Setting either metric overrides any previously configured value. The no version of this command removes the filter. OS10(conf-route-map)# set metric 10 Example (Relative) OS10(conf-route-map)# set metric -25 Supported Releases 10.2.0E or later set metric-type Set the metric type for the a redistributed routel. Syntax set metric-type {type-1 | type-2 | external} Parameters • type-1 - Adds a route to an existing community. • type-2 - Sends a route in the local AS. • external - Disables advertisement to peers. Default Command Mode Usage Information Not configured ROUTE-MAP • BGP Affects BGP behavior only in outbound route maps and has no effect on other types of route maps. If the route map contains both a set metric-type and a set metric clause, the set metric clause takes precedence. If you enter the internal metric type in a BGP outbound route map, BGP sets the MED of the advertised routes to the IGP cost of the next hop of the advertised route. If the cost of the next hop changes, BGP is not forced to readvertise the route. - external - Reverts to the normal BGP rules for propagating the MED, the default. - internal - Sets the MED of a received route that is being propagated to an external peer equal to the IGP costs of the indirect next hop. • OSPF - external - Sets the cost of the external routes so that it is equal to the sum of all internal costs and the external cost. - internal - Sets the cost of the external routes so that it is equal to the external cost alone, the default. The no version of this command removes the set clause from a route map. Example OS10(conf-route-map)# set metric-type internal Supported Releases 10.2.0E or later Access Control Lists 555