match origin
Configure a filter to match routes based on the value found in the BGP path ORIGIN attribute.
C-Series, E-Series, S-Series, Z-Series
Syntax
match origin {egp | igp | incomplete}
To disable matching filter, use the no match origin {igp | egp | incomplete} 
command.
Parameters
egp Enter the keyword egp to match routes originating outside the AS.
igp Enter the keyword igp to match routes originating within the same 
AS.
incomplete Enter the keyword incomplete to match routes with incomplete 
routing information.
Defaults Not configured.
Command Modes ROUTE-MAP
Command History
Version 8.3.11.1 Introduced on the Z9000.
Version 8.1.1.0 Introduced on the E-Series ExaScale.
pre-Version 
6.1.1.0
Introduced on the E-Series.
match route-type
Configure a filter to match routes based on the how the route is defined.
C-Series, E-Series, S-Series, Z-Series, S4810
Syntax
match route-type {external [type-1 | type-2] | internal | 
level-1 | level-2 | local}
To delete a match, use the no match route-type {local | internal | 
external [type-1 | type-2] | level-1 | level-2}
 command.
Parameters
external [type-1| 
type-2]
Enter the keyword external and then enter either type-1 or type-2 
to match only on OSPF Type 1 routes or OSPF Type 2 routes.
internal Enter the keyword internal to match only on routes generated 
within OSPF areas.
level-1 Enter the keyword level-1 to match IS-IS Level 1 routes.
level-2 Enter the keyword level-2 to match IS-IS Level 2 routes.
local Enter the keyword local to match only on routes generated within 
the switch.
290