You could do something like "show mls qos interface | i Giga|state"
This will show you all lines with either "Giga" or "state" and should result in

GigabitEthernet0/1
trust state: not trusted
GigabitEthernet0/2
trust state: trust dscp

regards
Stefan


Von: [email protected] 
[mailto:[email protected]] Im Auftrag von Kara Muessig 
(kmuessig)
Gesendet: Donnerstag, 30. Juni 2011 17:30
An: [email protected]
Betreff: [OSL | CCIE_Wireless] double pipe for a show command?

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,

[http://www.cisco.com/web/europe/images/email/signature/horizontal04.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>

[Think before you print.]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




<<inline: image001.jpg>>

<<inline: image002.gif>>

_______________________________________________
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