command that can display routes containing AS loops

Dave Bell me at geordish.org
Mon Jan 12 13:16:40 UTC 2015


On a Juniper, you could do something like:

 show route hidden aspath-regex .*<Target-AS>.*

Regards,
Dave

On 12 January 2015 at 13:05, Song Li <refresh.lsong at gmail.com> wrote:
> Hi everyone,
>
> I am curious about the AS loops in the AS-path. I think there should be a
> very, very few received BGP routes that contain the local AS#. But because
> such routes will be dropped and not installed in Loc-RIB, I want to know if
> there is a command that can display the dropped routes containing AS loops
> (in cisco or juniper router). Does anybody know?
>
> Thanks!
>
> Best!
>
> --
> Song Li
> Room 4-204, FIT Building,
> Network Security,
> Department of Electronic Engineering,
> Tsinghua University, Beijing 100084, China
> Tel:( +86) 010-62446440
> E-mail: refresh.lsong at gmail.com



More information about the NANOG mailing list