Link to home
Start Free TrialLog in
Avatar of jskfan
jskfanFlag for Cyprus

asked on

BGP Status codes

When Running Show IP BGP, There are two "i" s in the status codes, one is Internal and the other is IGP.
One would show under "Network" the other one would show next to "Path"

I would like to know which one would show under Network ? is it Internal or IGP ? and what does it mean ?

I would like to know which one would show under path (a little bit right under path) ? is it Internal or IGP ? and what does it mean ?

Thank you in advance
Avatar of unfragmented
unfragmented

It means learned from an iBGP peer.  It should actually sit under a column called 'status' but for whatever reason, cisco didn't add that column heading in.

From Cisco:-
Status codes
Status of the table entry. The status is displayed at the beginning of each line in the table. It can be one of the following values:
s—The table entry is suppressed.
d—The table entry is dampened.
h—The table entry history.
*—The table entry is valid.
>—The table entry is the best entry to use for that network.
i—The table entry was learned via an internal BGP (iBGP) session.

Ref: http://www.cisco.com/en/US/docs/ios/12_3t/ip_route/command/reference/ip2_s2gt.html
Avatar of jskfan

ASKER

I am not at the router console now, but I believe under Network column, it can show something like this:
>i* or i>* , any way there is an "i" under the Network column...
what does the "i" mean

the one under the column that does not have column heading, you are saying it means routed learned from iBGP peer. correct ?
Yes you are correct.

Here is the output of a trivial iBGP peering between two routers.  The i against the 2.2.2.2 prefix is there because it is learned from iBGP.

Router#sh ip bgp
BGP table version is 4, local router ID is 1.1.1.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
              r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
*> 1.1.1.1/32       0.0.0.0                  0         32768 ?
*>i2.2.2.2/32       192.168.1.2              0    100      0 ?
* i192.168.1.0      192.168.1.2              0    100      0 ?
*>                  0.0.0.0                  0         32768 ?
Router#

Open in new window

Avatar of jskfan

ASKER

bit confused, let me put it this way:

1- what does the  "i" mean here:

  Network          Next Hop            Metric LocPrf Weight Path
 *>i2.2.2.2/32       192.168.1.2              0    100      0 ?


2- what does the "i" mean here:
  Network          Next Hop            Metric LocPrf Weight Path
*> 1.1.1.1/32       0.0.0.0                  0                        32768      ?          i
ASKER CERTIFIED SOLUTION
Avatar of unfragmented
unfragmented

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jskfan

ASKER

Excellent Explanation!!!


Thank you