Re: [OSL | CCIE_RS] how to accomplish this.

From: Marko Milivojevic <markom_at_ipexpert.com>
Date: Sat, 13 Mar 2010 22:28:01 +0000

On Sat, Mar 13, 2010 at 22:15, Nadeem Rafi <nrafia_at_gmail.com> wrote:
> Its good news, it shows it can be done :)
> scripting example if possible

Create a TCL script that will parse running-config and find each
occurence of "^interface". Get the text between that and line "^!"
into variable. If that variable contains "^ ip pim", print out the
whole variable.

That's the logic, feel free to script away in your favorite
programming language :-)

--
Marko Milivojevic - CCIE #18427
Senior Technical Instructor - IPexpert
Mailto: markom_at_ipexpert.com
Telephone: +1.810.326.1444
Fax: +1.810.454.0130
Web: http://www.ipexpert.com/
Blogs and organic groups at http://www.ccie.net
Received on Sat Mar 13 2010 - 22:28:01 ART

This archive was generated by hypermail 2.2.0 : Thu Apr 01 2010 - 07:26:35 ART