Re: sh ip route

From: Tony Singh <mothafungla_at_gmail.com>
Date: Tue, 19 Mar 2013 14:30:52 +0000

caveat as ever is to check if the bgp peer supports route-refresh
capabilities in the initial peering exchange as it's required to
support received-routes option, to check this do a show ip bgp neig
command

will be similar to below

 Neighbor capabilities:
    Route refresh: advertised and received(new)
    Four-octets ASN Capability: advertised and received
    Address family IPv4 Unicast: advertised and received
    Multisession Capability: advertised and received

if it does most newer IOS's do and that command suggests "soft inbound
reconfiguration is not configured" then try it on real hardware
assuming it doesn't work & your using iou/gns environments...

otherwise i'd do show ip bgp summary and look out for state/prefixes
column for how many prefixed received from the peer / or if you have
access to the advertising router run the same command but ending
advertised-routes to see what's it's advertising & on the receiving
router run a debug ip bgp updates to see what it's receiving.....

the regular expression below would still show you neighbor & interface
outputs using the or variable, ok?

HTH

Tony

On 19 March 2013 14:11, Tony Singh <mothafungla_at_gmail.com> wrote:
> do you know what your looking for?
>
> sh ip bgp ipv4 unicast nei x.x.x.x received-routes
>
>
> --
> BR
>
> Sent from my iPhone on 3
>
> On 19 Mar 2013, at 13:59, gs gs <gs4me2me_at_gmail.com> wrote:
>
> but it wouldn't display network in my example.
>
> i looking something what exist in bgp: sh ip bgp neighbors 1.1.1.1
> received-routes
>
>
> On Tue, Mar 19, 2013 at 2:50 PM, Tony Singh <mothafungla_at_gmail.com> wrote:
>>
>> you could try matching a bgp neighbor & interface for example
>>
>> show ip route | i FastEthernet0/* |172.18.19.*
>>
>> this will match any interface FastEthernet0/x & say neighbor 172.18.19.x
>>
>>
>> check regular expressions they can get complex
>>
>>
>> http://www.cisco.com/en/US/docs/ios/termserv/configuration/guide/tsv_reg_express_ps6350_TSD_Products_Configuration_Guide_Chapter.html
>>
>>
>> BR
>>
>> Tony
>>
>>
>> On 19 March 2013 13:33, Tony Singh <mothafungla_at_gmail.com> wrote:
>> > sh ip route | i fastEthernet0/0.1
>> >
>> > --
>> > BR
>> >
>> > Sent from my iPhone on 3
>> >
>> > On 19 Mar 2013, at 13:23, gs gs <gs4me2me_at_gmail.com> wrote:
>> >
>> > for example my router has two interfaces and from both receives some
>> > routes.
>> > now i want to see what routes comes from each interface.
>> >
>> >
>> >
>> > On Tue, Mar 19, 2013 at 2:18 PM, Tony Singh <mothafungla_at_gmail.com>
>> > wrote:
>> >>
>> >> Not sure 100% what your asking but have you tried
>> >>
>> >> Sh ip route x.x.x.x x.x.x.x longer-prefixes
>> >>
>> >> The pipe lets you modify the output of the routing table with append
>> >> begin
>> >> section redirect etc etc
>> >>
>> >> --
>> >> BR
>> >>
>> >> Tony
>> >>
>> >> Sent from my iPhone on 3
>> >>
>> >> On 19 Mar 2013, at 13:04, gs gs <gs4me2me_at_gmail.com> wrote:
>> >>
>> >> > hi all,
>> >> >
>> >> > how to see in sh ip route - route from specific nex-hop, and not use
>> >> > |.
>> >> >
>> >> > thanks!
>> >> >
>> >> >
>> >> > Blogs and organic groups at http://www.ccie.net
>> >> >
>> >> >
>> >> > _______________________________________________________________________
>> >> > Subscription information may be found at:
>> >> > http://www.groupstudy.com/list/CCIELab.html

Blogs and organic groups at http://www.ccie.net
Received on Tue Mar 19 2013 - 14:30:52 ART

This archive was generated by hypermail 2.2.0 : Wed Apr 03 2013 - 19:06:19 ART