match metric
To match on a specified value, configure a filter.
Syntax
match metric metric-value
Parameters
metric-value
Defaults
Not configured.
Command
ROUTE-MAP
Modes
Command
Version 8.3.16.1
History
Related
match interface
Commands
match ip address
match ip next-hop
match ip route-source
routers.
match route-type
match tag
match route-type
To match routes based on the how the route is defined, configure a filter.
Syntax
match route-type {external [type-1 | type-2] | internal |
local}
Parameters
external
[type-1| type-2]
internal
local
Defaults
Not configured.
Command
ROUTE-MAP
Modes
Access Control Lists (ACL)
Enter a value to match. The range is from zero (0) to
4294967295.
Introduced on the MXL 10/40GbE Switch IO Module.
— redistributes routes that match the next-hop interface.
— redistributes routes that match an IP address.
— redistributes routes that match the next-hop IP address.
— redistributes routes that match routes advertised by other
— redistributes routes that match a route type.
— redistributes routes that match a specific tag.
Enter the keyword external then either type-1 or type-2 to
match only on OSPF Type 1 routes or OSPF Type 2 routes.
Enter the keyword internal to match only on routes
generated within OSPF areas.
Enter the keyword local to match only on routes generated
within the switch.
205