show as-path
Syntax
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-prependaction) or aggregation.Required Privilege Level
Output Fields
Total AS paths—Number of AS paths.
<flags>—Information about the AS path:
ASLoop—Path contains an AS loop.Atomic—Path includes theATOMIC_AGGREGATEpath attribute.Local—Path was created by local aggregation.
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-pathTotal AS paths: 24744Path: 234 234 3561 6503 278 3596 IRefs: 2 ASes: 6 Segments: 1 Overhead: 64Path: 267 234 3561 4926 4926 4926 10834 5648 I <ASLoop>Refs: 2 ASes: 8 Segments: 1 Overhead: 64Path: 234 234 3561 4926 4926 4926 10834 5648 I <ASLoop>Refs: 2 ASes: 8 Segments: 1 Overhead: 64Path: 2914 4000 8068 8072 IRefs: 3 ASes: 4 Segments: 1 Overhead: 64Path: 2914 701 6388 3464 IRefs: 22 ASes: 4 Segments: 1 Overhead: 64Path: 267 234 1239 6347 11404 11404 I <ASLoop>Refs: 2 ASes: 6 Segments: 1 Overhead: 64Path: 234 234 1239 6347 11404 11404 I <ASLoop>Refs: 2 ASes: 6 Segments: 1 Overhead: 64Path: 267 234 1239 2516 4675 I <Atomic>Aggregator: 4675 202.233.0.5Refs: 2 ASes: 5 Segments: 1 Overhead: 64Path: 267 234 1239 2516 4675 I <Atomic>Aggregator: 4675 202.249.2.37Refs: 2 ASes: 5 Segments: 1 Overhead: 64Path: 234 234 1239 2516 4675 I <Atomic>Aggregator: 4675 202.249.2.37Refs: 2 ASes: 5 Segments: 1 Overhead: 64Path: 234 234 1239 2516 4675 I <Atomic>Aggregator: 4675 202.233.0.5Refs: 2 ASes: 5 Segments: 1 Overhead: 64Path: 267 234 1239 701 10275 ?Aggregator: 10275 157.130.192.246Refs: 4 ASes: 5 Segments: 1 Overhead: 64...