Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

show route match-prefix

Syntax

show route match-prefix match-prefix;

Release Information

Command introduced in Junos OS Release 11.4.

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

List of 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 7* (Show all mvpn type-7 routes)
show route match-prefix *:224.* (Show all routes matching group 224/4)

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)

user@host> show route match-prefix *:10.255.2.200:6:*

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

user@host> show route table blue.mvpn.0 match-prefix 7*
Paste
router command output here

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

user@host> show route match-prefix *:224.*

Published: 2013-08-01