Dual Trunk E1 Router

match metric

Use the match metric command to match the specified metric value. Use the no parameter to turn off the matching.

Command Syntax

(no) match metric METRICVALUE METRICVALUE = <0-16777216>

Default

Disabled

Command Mode

Route-map mode

Usage

To set the conditions for redistributing routes from one routing protocol to another, use the match and set route-mapconfiguration commands. The match commands specify the match criteria under which redistribution is allowed for the current route-map. The set commands specify the set redistribution actions to be performed, if the match criteria are met.

If a route does not match the criteria completely, it will not be advertised for outbound route maps and neither be accepted for inbound route maps. You can modify the data by configuring a second route-map section and specifying an explicit match. Some types of LSAs have specific metric values.Use the match metric command to match metric value.

Examples

ospfd# configure terminal

ospfd(config)# route-map mymap1 permit 10 ospfd(config-route-map)# match metric 100

Related Commands

match tag, match route-type external

match route-type external

Use the match route-type external command to match specified external route type. Use the no parameter to turn off the matching.

Command Syntax

(no) match route-type external (type-1 type-2)

Default

Disabled

Command Mode

Route-map mode

Usage

To set the conditions for redistributing routes from one routing protocol to another, use the match and set route-mapconfiguration commands. The match commands specify the match criteria under which redistribution is allowed for the current route-map. The set commands specify the set redistribution actions to be performed, if the match criteria are met.

If a route does not match the criteria completely, it will not be advertised for outbound route maps and neither be accepted for inbound route maps. You can modify the data by configuring a second route map section and specifying an explicit match.

Use the match route-type external command to match specific external route types. AS-external LSA is either Type-1 or Type-2. External type-1 matches only Type 1 external routes and external type-2 matches only Type 2 external routes.

Examples

ospfd# configure terminal

ospfd(config)# route-map mymap1 permit 10 ospfd(config-route-map)# match route-type external type-1

Related Commands

match tag, match route-type external

match tag

Use the match tag command to match the specified tag value. Use the no parameter to turn off the declaration. Tag is the route tag which is labeled by another routing protocol (BGP or other IGP when redistributing).

Command Syntax

(no) match tag <0-4294967295>

Default

Disabled

Dual Trunk E1 Router User’s Guide

TECHNICAL: 0118 96 56 000

177

Page 189
Image 189
Black Box LRU4240 manual Match metric, Match route-type external, Match tag