From: Jonathan V Hays (jhays@jtan.com)
Date: Sun Nov 23 2003 - 10:17:41 GMT-3
Could you please describe the output you are looking for in greater
detail? 
I use 'sh ip int brief | exclude unassigned' a lot, which gives me a
list of interfaces with IP addresses on a Cisco device.
1#sh ip int brief
Interface                  IP-Address      OK? Method Status
Protocol
FastEthernet0/0            137.10.125.1    YES manual up
up      
FastEthernet1/0            unassigned      YES manual administratively
down down    
Serial1/0                  unassigned      YES manual administratively
down down    
Serial1/1                  unassigned      YES manual administratively
down down    
Ethernet3/0                unassigned      YES manual administratively
down down    
Serial3/0                  unassigned      YES manual administratively
down down    
Serial3/1                  unassigned      YES manual administratively
down down    
Loopback0                  137.10.1.1      YES manual up
up      
R1#sh ip int brief | exclude unassigned
Interface                  IP-Address      OK? Method Status
Protocol
FastEthernet0/0            137.10.125.1    YES manual up
up      
Loopback0                  137.10.1.1      YES manual up
up      
R1#
The keywords 'include', 'exclude', and 'begin' can help a lot in
filtering out unwanted lines in your output.
R1#show run | ?
  begin    Begin with the line that matches
  exclude  Exclude lines that match
  include  Include lines that match
HTH,
Jonathan
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Danny.Andaluz@triaton-na.com
Sent: Saturday, November 22, 2003 9:20 PM
To: ccielab@groupstudy.com
Subject: IOS Feature question
Hey, Group.  Is there any way to remove unused interfaces from showing
up in
the display of a "show run" or "show config"?
 
Thanks,
Danny
This archive was generated by hypermail 2.1.4 : Fri Dec 12 2003 - 12:29:16 GMT-3