[178841] in North American Network Operators' Group

home help back first fref pref prev next nref lref last post

distinguishing eBGP from show ip BGP

daemon@ATHENA.MIT.EDU (Reza Motamedi)
Wed Mar 11 14:33:14 2015

X-Original-To: nanog@nanog.org
From: Reza Motamedi <motamedi@cs.uoregon.edu>
Date: Wed, 11 Mar 2015 14:32:33 -0400
To: nanog@nanog.org
Errors-To: nanog-bounces@nanog.org

Hi Nanog,

For a research I want to distinguish the external AS peering from "show ip
BGP". In other words I want to see which entry show a path that immediately
sends packets to another AS. My understanding is that *status code* shows
if the route is internal, right? Does this mean if the *'i' *is not
present, the route is goes out of the AS in the next hop. On the same note,
can I use "Next Hop" to identify such entries?

I just included a sample report from a public looking glass in XO.


 show ip bgp  207.108.0.0/15 longer-prefixes
 BGP table version is 529230540, local router ID is 65.106.7.145
 * * *Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal,
               r RIB-failure, S Stale, m multipath, b backup-path, x
best-external, f RT-Filter, a additional-path
 Origin codes: i - IGP, e - EGP, ? - incomplete

    Network          Next Hop            Metric LocPrf Weight Path
 *  207.108.0.0/15   216.156.2.164            3             0 2828 209 i
 *                   65.106.7.101             2             0 2828 209 i
 *                   65.106.7.246             3             0 2828 209 i
 *                   65.106.7.55              3             0 2828 209 i
 *>                  216.156.2.162            2             0 2828 209 i
 *                   65.106.7.54              3             0 2828 209 i
 *                   65.106.7.252             2             0 2828 209 i
 *                   216.156.2.160            2             0 2828 209 i
 *                   65.106.7.56              3             0 2828 209 i
 *                   216.156.2.165            2             0 2828 209 i
 *                   65.106.7.144             2             0 2828 209 i

Best Regards
Reza Motamedi (R.M)
Graduate Research Fellow
Oregon Network Research Group
Computer and Information Science
University of Oregon

home help back first fref pref prev next nref lref last post