From: Danny.Andaluz@triaton-na.com
Date: Sun Nov 23 2003 - 13:55:04 GMT-3
For example, if I have 4 BRI's, but only one is being used (bri0), is there
a way to leave out bri1-3 when I do a "show run"? I'm not sure if a "|
exclude" can include more than one line.
Danny
-----Original Message-----
From: Jonathan V Hays [mailto:jhays@jtan.com]
Sent: Sunday, November 23, 2003 8:18 AM
To: Andaluz, Danilo, Triaton/NA; ccielab@groupstudy.com
Subject: RE: IOS Feature question
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