[177303] in North American Network Operators' Group
Re: command that can display routes containing AS loops
daemon@ATHENA.MIT.EDU (Dave Bell)
Mon Jan 12 08:16:48 2015
X-Original-To: nanog@nanog.org
In-Reply-To: <54B3C6A2.4030509@gmail.com>
Date: Mon, 12 Jan 2015 13:16:40 +0000
From: Dave Bell <me@geordish.org>
To: refresh.lsong@gmail.com
Cc: nanog list <nanog@nanog.org>
Errors-To: nanog-bounces@nanog.org
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@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@gmail.com