OcNOS-SP : Layer 3 Guide : Fundamental Layer 3 Command Reference : Route-Map Commands : match route-type
match route-type
Use this command to match an external route type. 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.
Use the no parameter with this command to turn off the matching.
Command Syntax
match route-type external (type-1|type-2)
no match route-type external (type-1|type-2|)
Parameters
type-1
Match OSPF External Type 1 metric.
type-2
Match OSPF External Type 2 metric.
Default
By default, match route type external is disabled
Command Mode
Route-map mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#route-map mymap1 permit 10
(config-route-map)#match route-type external type-1
Last modified date: 10/16/2023