[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

BGP Status codes

Posted on 2012-08-25
6
Medium Priority
?
1,641 Views
Last Modified: 2012-08-30
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
Comment
Question by:jskfan
  • 3
  • 3
6 Comments
 
LVL 7

Expert Comment

by:unfragmented
ID: 38332777
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
 

Author Comment

by:jskfan
ID: 38335596
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
 
LVL 7

Expert Comment

by:unfragmented
ID: 38335702
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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:jskfan
ID: 38339580
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
 
LVL 7

Accepted Solution

by:
unfragmented earned 2000 total points
ID: 38340019
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
 

Author Closing Comment

by:jskfan
ID: 38349050
Excellent Explanation!!!


Thank you
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the hope of saving someone else's sanity... About a year ago we bought a Cisco 1921 router with two ADSL/VDSL EHWIC cards to load balance local network traffic over the two broadband lines we have, but we couldn't get the routing to work consi…
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question