match metric
Use this command to match a metric of a route. The route specified by the policies might not be the same as specified by the routing protocols. Setting policies enable packets to take different routes depending on their length or content. Packet forwarding based on configured policies overrides packet forwarding specified in routing tables.
Note: This command is valid for BGP, OSPF, RIP, and IS-IS only.
Use the no parameter with this command to disable this function
Command Syntax
match metric <0-4294967295>
no match metric (<0-4294967295>|)
Parameters
<0-4261412864>
Metric value.
Default
No default value is specified
Command Mode
Route-map mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#route-map myroute permit 3
(config-route-map)#match metric 888999
Last modified date: 07-13-2023