but i don't know about 20.20.20.10/32, i only know that some routes are
learned through int f0/1
and i want to see it all without knowing which they are.
the problem with pipe is that for some route that they don't put in the
same line.
On Tue, Mar 19, 2013 at 4:04 PM, Tony Singh <mothafungla_at_gmail.com> wrote:
> try
>
> R67#show ip route | i FastEthernet0/1 + | 20.20.20.10
> O IA 20.20.20.10/32 [110/51] via 172.19.18.1, 06:37:03,
> FastEthernet0/1
>
> this would match the learnt prefix 20.20.20.10 and interface
> FastEthernet0/1
>
>
>
> On 19 March 2013 14:53, gs gs <gs4me2me_at_gmail.com> wrote:
> > sorry, but you don't understand me.
> >
> > my question is: how for IGP to see what route advertise some interface
> > similar how in BGP we can.
> >
> > i have this:
> >
> > sh ip route
> >
> > D EX 100.100.100.0/24
> > [170/40960] via 10.10.10.10, 22:29:12, GigabitEthernet0/0.123
> >
> >
> >
> > and when use pipe to match source 10.10.10.10 or interface g0/0.123 i
> can't
> > see what route (100.100.100.0/24) router behind int g0/0.123 is
> advertised
> >
> >
> >
> >
> >
> >
> > On Tue, Mar 19, 2013 at 3:30 PM, Tony Singh <mothafungla_at_gmail.com>
> wrote:
> >>
> >> 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 - 16:19:19 ART
This archive was generated by hypermail 2.2.0 : Wed Apr 03 2013 - 19:06:19 ART