Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


show as-path summary


Syntax (EX Series Switches)


Display autonomous system (AS) path summary information.

AS paths are stored in a hash table. A hash table is one method for fast lookup. Each entry in the table is called a bucket. Junos OS computes a hash value that indicates in which bucket the AS path is stored. The AS paths are dispersed among the hash buckets so that a manageable number of AS paths is stored in each bucket. Only unique AS paths are stored. Duplicate AS paths increase a reference count, but do not increase the number of AS paths stored in the hash table.



(Optional) Display AS path summary information for all routing instances.

logical-system (all | logical-system-name)

(Optional) Perform this operation on all logical systems or on a particular logical system.

Required Privilege Level


Output Fields

Table 1 lists the output fields for the show as-path summary command. Output fields are listed in the approximate order in which they appear.

Table 1: show as-path summary Output Fields

Field Name

Field Description

AS Paths

Number of AS paths.


Number of hash buckets in use.


Maximum number of AS path entries per bucket.


Minimum number of AS path entries per bucket.


Average number of AS path entries per bucket.

Std deviation

Standard deviation of AS path entries per bucket.

Sample Output

show as-path summary

Release Information

Command introduced before Junos OS Release 7.4.