12 match route-type – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 566

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 566 of 855

28.12 match route-type

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

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.

Note:

This command is valid for OSPF only.

28.12.1.1 Command

Syntax

match route-type external { type-1 | type-2 }

no match route-type external

28.12.1.2 Syntax

Description

type-1

Match OSPF External Type 1 metrics.

type-2

Match OSPF External Type 1 metrics.

28.12.1.3 Command

Mode

Route-map mode

28.12.1.4 Defaults

No match route-type is specified by default.

28.12.1.5 Examples

Switch# configure terminal
Switch(config)# route-map mymap1 permit 10
Switch(config-route-map)# match route-type external type-1

28.12.1.6 Related

Commands

match tag

Advertising