r/Brocade•
hj78956

FOS 9.1.1d using grep

I frequently use grep in conjunction with a command to find information.

After updating a couple of my switches to 9.1.1, i realized that Brocade broke a functionality that I use a lot. Here is an illustration:

Brocade switch running FOS v9.0.1d

HG720B3:FID128:admin> switchshow | grep "171200" --context=3

15 15 170f00 id N32 Online FC F-Port 1 N Port + 3 NPIV public

16 16 171000 -- N64 No_Module FC

17 17 171100 id 16G Online FC F-Port 56:c9:ce:90:ab:d9:98:02

18 18 171200 id 16G Online FC F-Port 56:c9:ce:90:ab:d9:98:04

19 19 171300 id 16G Online FC F-Port 56:c9:ce:90:ab:d9:98:06

20 20 171400 id 16G Online FC F-Port 56:c9:ce:90:ab:d9:98:08

21 21 171500 id 16G Online FC F-Port 1 N Port + 1 NPIV public

The previous command found 3 lines before and after the specific string.

On a switch that has been upgraded to 9.1.1, this doesn't work.

A different switch running FOS v9.1.1:

HG620A1:FID128:admin> switchshow | grep "1a1700" --context=3

grep: Restricted: Option is not provided.

I see that FOS v9.1.1d is out. Just wondering if anyone that has installed it can tell me if this is still broken?

Thanks.

Posted Mar 1, 2024, 7:31 PM UTC

12
Loading comments…