match distance


match distance distance [ distance ]*

no match distance [ distance ]

Release Information

Command introduced before JunosE Release 7.1.0.


Matches any routes that have the specified administrative distance. The no version removes the match clause from a route map unless you specify a value, in which case only that value is removed from the match clause.

Note: Matching a distance is useful only when applied to a route being redistributed out of a routing table. Distance is used to determine the relative preference between routes to the same prefix in order to pick the best route to that prefix in the routing table. Distance has no meaning in any other circumstance and any attempt to match distance will fail.



Policy List Configuration, Route Map Configuration

Related Documentation