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

Page 500

Advertising
background image

CanogaOS Command Reference

28-12

no match origin

Syntax Description

egp

learned from EGP.

igp

Local IGP

incomplete

Unknown heritage

Command Mode

Route-map mode

Defaults

No match origin is specified by default.

Examples

Switch# configure terminal

Switch(config)# route-map myroute deny 34

Switch(config-route-map)# match origin egp

Related Commands

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 rout e 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.


Command Syntax

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

no match route-type external

Syntax Description

type-1

Match OSPF External Type 1 metrics.

type-2

Match OSPF External Type 1 metrics.

Command Mode

Route-map mode

Advertising