Actually John, you CAN do it. See the reply I got from Kevin Cullimore.
Thanks, Ole ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Ole Drews Jensen Systems Network Manager CCNP, MCSE, MCP+I RWR Enterprises, Inc. [EMAIL PROTECTED] http://www.RouterChief.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NEED A JOB ??? http://www.oledrews.com/job ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -----Original Message----- From: John Neiberger [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 15, 2001 5:31 PM To: [EMAIL PROTECTED] Subject: Re: show int | include ... [7:26422] The include option works like grep in unix. AFAIK, there is no way to do what you want from the command line. You could add the words "FastEthernet" to each description! :-) Then, show int | inc FastEthernet would work. John >>> "Ole Drews Jensen" 11/15/01 4:10:43 PM >>> I wanted to play around with the | include option on the show command, but I can't get it to do what I want, and I can't find any docs on it. I want to include the interface and description of all FastEthernet interfaces. If I do a show int | include FastEthernet it will show the line where it says FastEthernet for all FastEthernet interfaces. Example: SANTA#show int | include FastEthernet FastEthernet0/1 is up, line protocol is up FastEthernet0/2 is up, line protocol is up FastEthernet0/3 is down, line protocol is down FastEthernet0/4 is down, line protocol is down FastEthernet0/5 is down, line protocol is down FastEthernet0/6 is up, line protocol is up FastEthernet0/7 is up, line protocol is up FastEthernet0/8 is up, line protocol is up FastEthernet0/9 is up, line protocol is up FastEthernet0/10 is down, line protocol is down FastEthernet0/11 is down, line protocol is down FastEthernet0/12 is up, line protocol is up If I do a show int | include Description it will show the line where there is a description for all interfaces. Example: SANTA#show int | include Description Description: LINK TO SWITCH IN SUITE 1209 Description: LINK TO HUB IN SUITE 1303 Description: HP LaserJet 4 Plus Description: HP DeskJet 930C Description: FIREWALL Description: Dave Description: Cindy Description: Lauren Description: Sharon But, how do I get both? I have tried the following with out luck: show int | include FastEthernet Description show int | include FastEthernet , Description show int | include FastEthernet | Description show int | include FastEthernet | include Description show int | include FastEthernet include Description This is one of those stupid command options you've seen so many times, but never used. Any comments? Thanks in advance, Ole ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Ole Drews Jensen Systems Network Manager CCNP, MCSE, MCP+I RWR Enterprises, Inc. [EMAIL PROTECTED] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http://www.RouterChief.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NEED A JOB ??? http://www.oledrews.com/job ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Message Posted at: http://www.groupstudy.com/form/read.php?f=7&i=26438&t=26422 -------------------------------------------------- FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]