Thanks Tor,

 

That was exactly my issue, I kept adding the second include.

 

Thanks!

 

-Kara

 

From: Tor A. L. Olsen [mailto:[email protected]] 
Sent: Thursday, June 30, 2011 12:34 PM
To: Kara Muessig (kmuessig)
Cc: [email protected]
Subject: Re: [OSL | CCIE_Wireless] double pipe for a show command?

 

Hi Kara,

 

Actually, it is possible to use "double pipe include" in show commands.
It is a handy method to filter the show results :) I use a lot. Just
remember not to use "include" in the second pipe

 

E.G.

SW3560-1#sh run | include interface | address

 

Result

interface Loopback0

 ip address 10.10.255.253 255.255.255.255

interface Loopback1

 ip address 10.10.1.3 255.255.255.255

interface Port-channel1

.... omitted output

interface GigabitEthernet0/4

interface Vlan1

 ip address 10.10.100.1 255.255.255.0

interface Vlan5

 ip address 10.10.210.1 255.255.255.0

interface Vlan10

 ip address 10.10.10.3 255.255.255.0

 

AND

 

SW3560-1# sh run | include ip dhcp pool | network

 

Result:

ip dhcp pool VLAN113

   network 10.10.113.0 255.255.255.0

ip dhcp pool VLAN11

   network 10.10.11.0 255.255.255.0

ip dhcp pool VLAN12

   network 10.10.12.0 255.255.255.0

ip dhcp pool VLAN13

   network 10.10.13.0 255.255.255.0

ip dhcp pool VLAN14

   network 10.10.14.0 255.255.255.0

ip dhcp pool VLAN15

   network 10.10.15.0 255.255.255.0

 network 10.10.0.0 0.0.255.255 area 0

 network 172.16.99.0 0.0.0.3 area 0

 

/Tor Olsen

 

On 30/06/2011, at 17.30, Kara Muessig (kmuessig) wrote:





Hi team,

 

Do you know if there is a way to do a multiple include on an output of a
show command?  For example the output of the show mls qos interface
command is below.  What I'd like to see really quickly is the interface
name and what it is trusting.  Any ideas?

 

GigabitEthernet0/1

trust state: not trusted

trust mode: not trusted

trust enabled flag: ena

COS override: dis

default COS: 0

DSCP Mutation Map: Default DSCP Mutation Map

Trust device: none

qos mode: port-based

 

GigabitEthernet0/2

trust state: trust dscp

trust mode: trust dscp

trust enabled flag: ena

COS override: dis

default COS: 0

DSCP Mutation Map: Default DSCP Mutation Map

Trust device: none

qos mode: port-based

 

thanks,

 

<image001.jpg>

Kara Muessig
CONSULTING SYSTEMS ENGINEER.SALES
Wireless South Team
[email protected] <mailto:[email protected]> 
Phone: 512-791-2870





Cisco.com <http://www.cisco.com/> 

        

<image002.gif>Think before you print.

This email may contain confidential and privileged material for the sole
use of the intended recipient. Any review, use, distribution or
disclosure by others is strictly prohibited. If you are not the intended
recipient (or authorized to receive for the recipient), please contact
the sender by reply email and delete all copies of this message.

For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/index.html
<http://www.cisco.com/web/about/doing_business/legal/cri/index.html> 

 




 

<ATT00001..txt>

 

_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com

Are you a CCNP or CCIE and looking for a job? Check out 
www.PlatinumPlacement.com

Reply via email to