Brocade Fibre Channel Networking Community

Expand all | Collapse all

Help required for command

  • 1.  Help required for command

    Posted 05-18-2016 10:52 PM

    Hi All,

     

    I have a brocade switch model 300 and version v6.3.2e8.

    It a slot based system and do not support command option "portshow -i ".

    This command give me the data for all ports avialable in switch, but unfortunately this index range option is not avalabe in this version and i am looking for the command which gives me the data for all ports in single command.

     

    Thanks for everyones help and support.

     

    Regards,

    Manish


    #san
    #BrocadeFibreChannelNetworkingCommunity
    #storagenetworking
    #fibrechannel


  • 2.  Re: Help required for command

    Posted 05-18-2016 11:11 PM

    ->It a slot based system....

     

    -->>I have a brocade switch model 300 

     

    brocade 300 is not a slot based system.

     

    can you post please from "switchshow" command the line "Switch Type" ?

     

     


    #BrocadeFibreChannelNetworkingCommunity


  • 3.  Re: Help required for command

    Posted 05-19-2016 12:19 AM

    to see ports 7 to 19:

     

    for ((i=7;i<=19;i++)); do portshow $i; done

    #BrocadeFibreChannelNetworkingCommunity


  • 4.  Re: Help required for command

    Posted 05-19-2016 12:26 AM

    if you have to do that for several port ranges, define once:

     

    poshow () { for((i=$1;i<=$2;i++)); do portshow $i; done; }

    and then for 7-19 just type

     

    poshow 7 19

    #BrocadeFibreChannelNetworkingCommunity


  • 5.  Re: Help required for command

    Posted 05-20-2016 03:12 AM

    Thank you all,

     

    I got it there is no option to get all the ports data.

    I need to fire a command one by one for all ports.

     

    Thanks for all your suggestions and time.

     

    Regards,

    Manish


    #BrocadeFibreChannelNetworkingCommunity