Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

multiple pipe search

Hi All,

I want to search for a wwn in show fcns database detail command
switch# show fcns database | include fc:58
0x830045    N     xx:xx:xx:xx:xx:xx:fc:58 (HP) 

However this command does not give me the rest of the important details which would be normally mentioned as listed below.

VSAN:1     FCID:0x690000
------------------------
port-wwn (vendor)           :10:00:00:0d:ec:af:fe:05 (Cisco)
node-wwn                    :20:00:00:0d:ec:af:fe:00
class                       :2,3
node-ip-addr                :0.0.0.0
ipa                         :ff ff ff ff ff ff ff ff
fc4-types:fc4_features      :ipfc
symbolic-port-name          :
symbolic-node-name          :
port-type                   :N
port-ip-addr                :192.180.1.5
fabric-port-wwn             :22:00:00:0d:ec:af:fe:02
hard-addr                   :0x000000
permanent-port-wwn (vendor) :00:00:00:00:00:00:00:00
connected interface         :Not Available
switch name (IP address)    :switch (ip addr)

 

Is there a way to search multiple things which will still allow me to include the important details like switch ip and name etc.

Any help is much appreciated

 

Everyone's tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Super Bronze

DisclaimerThe Author of this

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

Many Cisco devices support regular expressions.  An or match might be something like:

show something | inc abc|xyx

3 REPLIES
Super Bronze

DisclaimerThe Author of this

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

Many Cisco devices support regular expressions.  An or match might be something like:

show something | inc abc|xyx

New Member

This discussion has been

This discussion has been reposted from Top Contributors to the Storage Networking community.

New Member

Thanks Joseph

Thanks Joseph

194
Views
0
Helpful
3
Replies
CreatePlease to create content