show route aspath-regex
Syntax
show route aspath-regex regular-expression
<logical-system (all | logical-system-name)>
Syntax (EX Series
Switch)
show route aspath-regex regular-expression
Release Information
Command introduced before Junos OS Release 7.4.
Command introduced in Junos OS Release 9.0 for EX Series switches.
Description
Display the entries in the routing table that match the specified autonomous system
(AS) path regular expression.
Options
regular-expression
—Regular expression that matches an entire AS path.
logical-system (all |
logical-system-name
)
—(Optional) Perform this operation on all logical
systems or on a particular logical system.
Additional Information
You can specify a regular expression as:
•
An individual AS number
•
A period wildcard used in place of an AS number
•
An AS path regular expression that is enclosed in parentheses
You also can include the operators described in the table of AS path regular expression
operators in the
Junos Policy Framework Configuration Guide
. The following list summarizes
these operators:
•
{m,n}
—At least
m
and at most
n
repetitions of the AS path term.
•
{m}
—Exactly
m
repetitions of the AS path term.
•
{m,}
—
m
or more repetitions of the AS path term.
•
*
—Zero or more repetitions of an AS path term.
•
+
—One or more repetitions of an AS path term.
•
?
—Zero or one repetition of an AS path term.
•
aspath_term | aspath_term
—Match one of the two AS path terms.
When you specify more than one AS number or path term, or when you include an
operator in the regular expression, enclose the entire regular expression in quotation
marks. For example, to match any path that contains AS number 234, specify the
following command:
show route aspath-regex ".* 234 .*"
Required Privilege
Level
view
2175
Copyright © 2010, Juniper Networks, Inc.
Chapter 74: Operational Commands for Layer 3 Protocols
Summary of Contents for JUNOS OS 10.3 - SOFTWARE
Page 325: ...CHAPTER 17 Operational Mode Commands for System Setup 229 Copyright 2010 Juniper Networks Inc ...
Page 1323: ...CHAPTER 56 Operational Mode Commands for Interfaces 1227 Copyright 2010 Juniper Networks Inc ...
Page 2841: ...CHAPTER 86 Operational Commands for 802 1X 2745 Copyright 2010 Juniper Networks Inc ...
Page 3367: ...CHAPTER 113 Operational Mode Commands for CoS 3271 Copyright 2010 Juniper Networks Inc ...
Page 3435: ...CHAPTER 120 Operational Mode Commands for PoE 3339 Copyright 2010 Juniper Networks Inc ...
Page 3529: ...CHAPTER 126 Operational Mode Commands for MPLS 3433 Copyright 2010 Juniper Networks Inc ...