[Contents] [Prev] [Next] [Index] [Report an Error]


show as-path

Syntax

show as-path

Description

Display the distribution of AS paths that the local routing is using (usually through the routing table). Use this command when debugging refcount problems for AS paths and for seeing how AS paths have been manipulated through policy (through the as-path-prepend action) or aggregation.

Required Privilege Level

view

Output Fields

Total AS paths—Number of AS paths.

Path—AS path.

<flags>—Information about the AS path:

Refs—Path reference count.

ASes—Number of AS paths that the router knows.

Segments—Length of the AS segment descriptor.

Overhead—Efficiency of AS storage.

Sample Output

user@host> show as-path
Total AS paths: 24744
Path: 234 234 3561 6503 278 3596 I
        Refs: 2 ASes: 6 Segments: 1 Overhead: 64
Path: 267 234 3561 4926 4926 4926 10834 5648 I <ASLoop>
        Refs: 2 ASes: 8 Segments: 1 Overhead: 64
Path: 234 234 3561 4926 4926 4926 10834 5648 I <ASLoop>
        Refs: 2 ASes: 8 Segments: 1 Overhead: 64
Path: 2914 4000 8068 8072 I
        Refs: 3 ASes: 4 Segments: 1 Overhead: 64
Path: 2914 701 6388 3464 I
        Refs: 22 ASes: 4 Segments: 1 Overhead: 64
Path: 267 234 1239 6347 11404 11404 I <ASLoop>
        Refs: 2 ASes: 6 Segments: 1 Overhead: 64
Path: 234 234 1239 6347 11404 11404 I <ASLoop>
        Refs: 2 ASes: 6 Segments: 1 Overhead: 64
Path: 267 234 1239 2516 4675 I <Atomic>
        Aggregator: 4675 202.233.0.5
        Refs: 2 ASes: 5 Segments: 1 Overhead: 64
Path: 267 234 1239 2516 4675 I <Atomic>
        Aggregator: 4675 202.249.2.37
        Refs: 2 ASes: 5 Segments: 1 Overhead: 64
Path: 234 234 1239 2516 4675 I <Atomic>
        Aggregator: 4675 202.249.2.37
        Refs: 2 ASes: 5 Segments: 1 Overhead: 64
Path: 234 234 1239 2516 4675 I <Atomic>
        Aggregator: 4675 202.233.0.5
        Refs: 2 ASes: 5 Segments: 1 Overhead: 64
Path: 267 234 1239 701 10275 ?
        Aggregator: 10275 157.130.192.246
        Refs: 4 ASes: 5 Segments: 1 Overhead: 64
...

[Contents] [Prev] [Next] [Index] [Report an Error]