Re: Refining output of show running-config

From: James (james@towardex.com)
Date: Sun Jul 25 2004 - 14:32:29 GMT-3


On Sun, Jul 25, 2004 at 10:13:12AM -0700, Joseph D. Phillips wrote:
> I noticed you used parentheses in:
>
> show run | inc (router ospf)|(summary)
>
> That outputs every line that matches each parenthetical phrase. Very
> cool.
>
> I was wondering how you would go about showing the running-config
> beginning with "router isis" such that you would exclude the references
> to "ip router isis" within interface configurations.

Simplest way:
sh run | be net 49

:P (assuming your isis net's start with 49.area-id)

-J

--
James Jun                                            TowardEX Technologies, Inc.
Technical Lead                        Network Design, Consulting, IT Outsourcing
james@towardex.com                  Boston-based Colocation & Bandwidth Services
cell: 1(978)-394-2867           web: http://www.towardex.com , noc: www.twdx.net


This archive was generated by hypermail 2.1.4 : Sun Aug 01 2004 - 10:12:02 GMT-3