• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1752
  • Last Modified:

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
0
jskfan
Asked:
jskfan
  • 3
  • 3
1 Solution
 
unfragmentedCommented:
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
0
 
jskfanAuthor Commented:
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 ?
0
 
unfragmentedCommented:
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

0
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

 
jskfanAuthor Commented:
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
0
 
unfragmentedCommented:
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 ?

That is the status code, and the 'i' means learned from iBGP.

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

That is the origin code and the 'i' means the route was originated by BGP.

If it were originated by redistribution you would see a '?' for incomplete.
If it were originated by EGP (no longer used as a protocol, but sometimes manipulated by ISPs) you would see an 'e'.
0
 
jskfanAuthor Commented:
Excellent Explanation!!!


Thank you
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now