Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show route match-prefix

Syntax

Description

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

Options

match-prefix

Regular expression to match formatted prefix.

Additional Information

Required Privilege Level

view

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 *:10.255.2.200:6:* (Show all routes matching route distributor 10.255.2.200:6)

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.