match route-type
Syntax
match route-type external {type-1 | type-2}
no match route-type external [type-1 | type-2]
Description
Matches the metric-type value of the OSPF external route with the value configured in the match clause.
The
no
form of this command restores the default behavior of not matching the metric-type value of the OSPF external route.
Command context
config-route-map
Parameters
{type-1 | type-2}
Specifies the type-1 or type-2 OSPF value to be matched with the external route.
Authority
Administrators
Example
Configuring a match clause in the route map to match the metric-type value of the OSPF external route:
switch(config)# route-map GlobalMap permit seq 11 switch(config-route-map-GlobalMap-11)# match route-type external type-1