PREV NEXT INDEX

Avici Systems Inc.


set metric-type


Sets the metric type to give redistributed routes.

Syntax: set metric-type {internal|external|type-1|type-2}

no set metric-type

internal

IS-IS internal metric.

external

IS-IS external metric.

type-1

OSPF external type 1 metric.

type-2

OSPF external type 2 metric.

Description: Use the set metric-type command to set the metric type for the destination routing protocol.

Use the no set metric-type command to use the default metric type for this route.

Route maps consist of sets of match and set commands. Match commands define the match criteria for route maps. Routes that match one or more match criteria are processed according to the actions defined by the set commands. Routes that do not match at least one of the match criteria in the route map are ignored.

Use the route-map command to create a route map. Use the various match and set commands to define the conditions for redistributing routes between protocols or instances of the same protocol.

Metrics are values that the router uses to tell receiving routers how far away a destination is. Different routing protocols use metrics in different ways. Therefore, it is necessary to let BGP know what type of metric is represented by metric-value.

Factory Default: No metric-type defined.

Command Mode: Route map configuration.

Example: In the following example, routes advertised to external neighbor 10.5.1.121 have the metric type set to external type 2.

router(config)#route-map set-type permit 10

router(config-route-map)#set metric-type type-2

router(config-route-map)#end

router(config)#router bgp 56

router(config-router)#neighbor 10.5.1.121 remote-as 123

router(config-router)#neighbor 10.5.1.121 route-map set-type out

Related Commands: route-map
match as-path
match community
match ip address
match ip next-hop
match ip route-source
match metric
show route-map
match route-type
match tag
set as-path
set community
set community
set ip next-hop
set level
set local-preference
set metric
set origin
set tag
set weight


PREV NEXT INDEX

Copyright © 2004 Avici Systems Inc.
Avici® and TSR® is a registered trademark of Avici Systems Inc.
IPriori™, Composite Links™, SSR™, QSR, and NSR® are trademarks of Avici Systems Inc.

   Source File Name: Routing_Pol.fm
    HTML File Name: Routing_Pol38.html
    Last Updated: 05/10/04 at 16:38:37

Please email suggestions and comments to: doc@avici.com