Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


show route match-prefix



Allows you to search for routes using regular expressions based on the extended (modern) regular expressions as defined in POSIX 1003.2.



Regular expression to match formatted prefix.

Additional Information

Required Privilege Level


Output Fields

For information about output fields, see the output field tables for the show route command, the show route detail command, the show route extensive command, or the show route terse command.

Sample Output

show route match-prefix *:* (Show all routes matching route distributor

show route match-prefix 2* (Show all mvpn type-2 routes)

show route match-prefix *:224.* (Show all routes matching group 224/4)

Release Information

Command introduced in Junos OS Release 11.4.