<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Using the Pipe in IOS</title>
	<link>http://aconaway.com/2008/04/13/using-the-pipe-in-ios/</link>
	<description>Not something you want to hear</description>
	<pubDate>Thu, 21 Aug 2008 22:31:10 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>

	<item>
		<title>By: LBSources</title>
		<link>http://aconaway.com/2008/04/13/using-the-pipe-in-ios/#comment-1067</link>
		<author>LBSources</author>
		<pubDate>Mon, 21 Apr 2008 11:03:18 +0000</pubDate>
		<guid>http://aconaway.com/2008/04/13/using-the-pipe-in-ios/#comment-1067</guid>
		<description>I don't know what I'd do without "include" or "begin" .. Now I've just added "section" :-) Thanks!</description>
		<content:encoded><![CDATA[<p>I don&#8217;t know what I&#8217;d do without &#8220;include&#8221; or &#8220;begin&#8221; .. Now I&#8217;ve just added &#8220;section&#8221; <img src='http://aconaway.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron Conaway</title>
		<link>http://aconaway.com/2008/04/13/using-the-pipe-in-ios/#comment-1043</link>
		<author>Aaron Conaway</author>
		<pubDate>Wed, 16 Apr 2008 18:00:51 +0000</pubDate>
		<guid>http://aconaway.com/2008/04/13/using-the-pipe-in-ios/#comment-1043</guid>
		<description>Thanks, Clint.  Regular expressions are crazy and can do amazing things.  They're used elsewhere in IOS (like BGP AS path stuff), so it's worth checking out.</description>
		<content:encoded><![CDATA[<p>Thanks, Clint.  Regular expressions are crazy and can do amazing things.  They&#8217;re used elsewhere in IOS (like BGP AS path stuff), so it&#8217;s worth checking out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clint Young</title>
		<link>http://aconaway.com/2008/04/13/using-the-pipe-in-ios/#comment-1040</link>
		<author>Clint Young</author>
		<pubDate>Wed, 16 Apr 2008 04:20:59 +0000</pubDate>
		<guid>http://aconaway.com/2008/04/13/using-the-pipe-in-ios/#comment-1040</guid>
		<description>Dang, while I have always used the include and begin, etc. I wasn't aware I could use it to this extent.  Time to start customizing some Cisco scripts on my Unix box now to pull more specific info!   Great article!!</description>
		<content:encoded><![CDATA[<p>Dang, while I have always used the include and begin, etc. I wasn&#8217;t aware I could use it to this extent.  Time to start customizing some Cisco scripts on my Unix box now to pull more specific info!   Great article!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Horton</title>
		<link>http://aconaway.com/2008/04/13/using-the-pipe-in-ios/#comment-1034</link>
		<author>Josh Horton</author>
		<pubDate>Tue, 15 Apr 2008 04:11:50 +0000</pubDate>
		<guid>http://aconaway.com/2008/04/13/using-the-pipe-in-ios/#comment-1034</guid>
		<description>Thanks for adding the link.</description>
		<content:encoded><![CDATA[<p>Thanks for adding the link.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron Conaway</title>
		<link>http://aconaway.com/2008/04/13/using-the-pipe-in-ios/#comment-1031</link>
		<author>Aaron Conaway</author>
		<pubDate>Mon, 14 Apr 2008 14:18:12 +0000</pubDate>
		<guid>http://aconaway.com/2008/04/13/using-the-pipe-in-ios/#comment-1031</guid>
		<description>Absolutely right, Josh.  That's part of the regular expression syntax for IOS.  You can do all sorts of stuff, too.  You can match only interfaces F0/1, F0/2, F0/7 with this.

.... &#124; include 0/[127]

Or to find all the IP addresses in the config, do this.

sh run &#124; incl address [0-9]+\.[0-9]+\.[0-9]+\.[0-9]+

I've gone back and set a link to Cisco page on regular expressions, so check it out.</description>
		<content:encoded><![CDATA[<p>Absolutely right, Josh.  That&#8217;s part of the regular expression syntax for IOS.  You can do all sorts of stuff, too.  You can match only interfaces F0/1, F0/2, F0/7 with this.</p>
<p>&#8230;. | include 0/[127]</p>
<p>Or to find all the IP addresses in the config, do this.</p>
<p>sh run | incl address [0-9]+\.[0-9]+\.[0-9]+\.[0-9]+</p>
<p>I&#8217;ve gone back and set a link to Cisco page on regular expressions, so check it out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Horton</title>
		<link>http://aconaway.com/2008/04/13/using-the-pipe-in-ios/#comment-1030</link>
		<author>Josh Horton</author>
		<pubDate>Mon, 14 Apr 2008 14:03:19 +0000</pubDate>
		<guid>http://aconaway.com/2008/04/13/using-the-pipe-in-ios/#comment-1030</guid>
		<description>Great article! Keep it up! 

You can just add this tidbit to your article and not post the comment, but I just found that you can use an OR statement the other day. Just enclose the search items in parenthesis and separate them with pipes.

bunker-3825-r1#show interface &#124; i (line protocol&#124;error&#124;rate)
GigabitEthernet0/0 is up, line protocol is up
  Queueing strategy: fifo
  5 minute input rate 4882000 bits/sec, 1425 packets/sec
  5 minute output rate 909000 bits/sec, 1188 packets/sec
     2 input errors, 0 CRC, 0 frame, 2 overrun, 0 ignored
     0 output errors, 0 collisions, 0 interface resets</description>
		<content:encoded><![CDATA[<p>Great article! Keep it up! </p>
<p>You can just add this tidbit to your article and not post the comment, but I just found that you can use an OR statement the other day. Just enclose the search items in parenthesis and separate them with pipes.</p>
<p>bunker-3825-r1#show interface | i (line protocol|error|rate)<br />
GigabitEthernet0/0 is up, line protocol is up<br />
  Queueing strategy: fifo<br />
  5 minute input rate 4882000 bits/sec, 1425 packets/sec<br />
  5 minute output rate 909000 bits/sec, 1188 packets/sec<br />
     2 input errors, 0 CRC, 0 frame, 2 overrun, 0 ignored<br />
     0 output errors, 0 collisions, 0 interface resets</p>
]]></content:encoded>
	</item>
</channel>
</rss>
