Show Route Aspath-Regex - Juniper JUNOS OS 10.4 - FOR EX REV 1 Manual

For ex series ethernet switches
Table of Contents

Advertisement

show route aspath-regex

Syntax
Syntax (EX Series
Switch)
Release Information
Description
Options
Additional Information
Required Privilege
Level
Copyright © 2010, Juniper Networks, Inc.
show route aspath-regex regular-expression
<logical-system (all | logical-system-name)>
show route aspath-regex regular-expression
Command introduced before Junos OS Release 7.4.
Command introduced in Junos OS Release 9.0 for EX Series switches.
Display the entries in the routing table that match the specified autonomous system
(AS) path regular expression.
—Regular expression that matches an entire AS path.
regular-expression
logical-system (all | logical-system-name)
systems or on a particular logical system.
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.
—Exactly m repetitions of the AS path term.
{m}
{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
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 .*"
view
Chapter 80: Operational Commands for Layer 3 Protocols
—(Optional) Perform this operation on all logical
—Match one of the two AS path terms.
2403

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os 10.4

Table of Contents