Kevin Dorrell, CCIE #20765

13 Feb 2008

Skip to string in IOS

Filed under: IOS features — Tags: — dorreke @ 06:27

I’ve just noticed something useful in IOS.  If you have a long listing from a command, and the IOS is doing a “more” function, you can use a slash (‘/’) to skip to a string, just like in UNIX.

For example, if you do a show run, and what interests you is the OSPF, you can type /ospf, and the listing will skip to the next instance of that string and show you a window-full from there on.  If you have done that once, and you want to skip to the next instance of “ospf”, the just type slash (‘/’) and return – it assumes the previous string.

This nicely complements the “sec” filter option.

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: