[Contents] [Prev] [Next] [Index] [Report an Error]

# match route-type

#### Syntax

match route-type internal [ intra | inter ] [ level-1 | level-2 ]
[ external [ type-1 | type-2 ] ] [ level-1 | level-2 ]*

match route-type external [ type-1 | type-2 ] [ level-1 | level-2 ]
[ internal [ intra | inter ] ] [ level-1 | level-2 ]*

match route-type { level-1 | level-2 } [ internal [ intra | inter ] ]
[level-1 | level-2 ] [ external [ type-1 | type-2 ] ] [ level-1 | level-2 ]*

match route-type { level-1 | level-2 } [ external [ type-1 | type-2 ] ]
[ level-1 | level-2 ] [ internal [ intra | inter ] ] [ level-1 | level-2 ]*

no match route-type [ internal [ intra | inter ] | external [ type-1 | type-2 ] |
level-1 | level-2 ]

#### Release Information

Command introduced before JUNOSe Release 7.1.0.

#### Description

Matches routes of the specified type. The no version removes the match clause from a route map unless you specify a value, in which case only that value is removed from the match clause.

#### Options

- internal—Specifies internal routes
  - intra—OSPF intra-area routes
  - inter—OSPF interarea routes
- external—Specifies external routes
  - type-1—OSPF type 1 external routes
  - type-2—OSPF type 2 external routes
- level-1—Specifies IS-IS level 1 routes
- level-2—Specifies IS-IS level 2 routes
- *—Indicates that one or more parameters can be repeated multiple times in a list in the command line

#### Mode

Policy List Configuration, Route Map Configuration

[Contents] [Prev] [Next] [Index] [Report an Error]