Documentation

policiestopologyrunindex

Name

bgp topology record-route -  record the routes from all the topology

Synopsis

record-route [--exact-match] [--output=] [--preserve-dups] <prefix> 

Arguments

--exact-match
optionally performs exact-match
--output=
optional output file
--preserve-dups
optionally keep duplicate ASNs in paths
prefix
destination prefix

Description

This command performs a record-route for each router in the topology.

The output can optionally be redirected to an output file using the --output option.

Output format: <src-as-num> <prefix> <as-path>

Example:
For instance, here is the result of the EBGP_2_ROUTERS example. The path from AS1 is "1" because it has advertised the prefix 0.1/16. The path from AS2 is "2 1" because it has received a BGP message with the prefix 0.1/16 from AS1. 1 0.1.0.0/16 1
2 0.1.0.0/16 2 1