It'll depend on the formatting of the show output, but you can try using
"section" instead of "include" and get better results.
HTH,
*Scott Morris*, CCIE/x4/ (R&S/ISP-Dial/Security/Service Provider) #4713,
CCDE #2009::D, JNCIE-M #153, JNCIS-ER, CISSP, et al.
CCSI #21903, JNCI-M, JNCI-ER
swm_at_emanon.com
Knowledge is power.
Power corrupts.
Study hard and be Eeeeviiiil......
On 1/13/11 8:02 AM, me you wrote:
> I would like to use regular expressions to view a line from EIGRP top all
> links. I am using the command "Show ip eigrp top all | i Tunnel2" I get a
> single line result for all the ip address learned from Tunnel2; however, I
> want to see the line above with the IP address learned via tunnel 2. How can
> I use regular expressions or someother command to view the ip address
> and eigrp topo all-links learned from tunnel 2
>
> Thank you
> Rob.
>
>
> 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 Thu Jan 13 2011 - 08:50:06 ART
This archive was generated by hypermail 2.2.0 : Tue Feb 01 2011 - 07:39:17 ART