UNSOLVED

danielpsal

updated

12 years ago

D

danielpsal

27 Posts

0

1386

August 27th, 2014 10:00

what is the equivalent option for Fabric OS command on brocade to include only certain string like a grep or include

I am very familiar with cisco NXOS commands for switches but new on the Brocade Fabric OS CLI. I am doing a switchshow or zoneshow/configshow but only want to show certain strings like to show only certain aliases on the configshow or the zoneshow.

My command is zoneshow and I want to pipe it to like "grep" (on unix) or "include" (Cisco NXOS). what is the equivalent of grep or include on Fabric OS commands?

Thank you.

  • Allen Ward

    6 Operator

    •

    2124 Posts

    938

    0

    Posted September 4th, 2014 12:00

    There is good news on this one. FOS has grep available to use just like any Unix shell. Just pipe to it like you would on a Unix command line (since technically that's what you are on)