Brocade scanner failed / standard commands



About this task

cheat sheet


For Troubleshooting reasons it is helpful to read the logs of a specific scanner 

see also 

Applies to

All BVQ Versions

Procedure

  • Check the if a certificate is activated (SW / Key exist?)
  • Discover the Principal Switch and the Fabric Switches
  • Discover if Virtual Fabrics are enabled
  • Discover the used Protocol/ Session Count /  Sample Requests
  • Increase the number of Sample Requests, if necessary (due to connection timeouts)
  • Increase the number of allowed ssh sessions, if necessary (the value "10" shown below is just an example)
  • Check how many REST Sessions are active


 Error
Got error from Brocade Switch with IP 10.XX.XX.XXX! (body: { "errors": { "error": [ { "error-type": "application", "error-tag": "operation-failed", "error-app-tag": "Error", "error-path": "/rest/login", "error-message": "Max limit for REST sessions reached", "error-info": { "error-code": 14, "error-module": "auth" }


Brocade
switch99:FID128:bvq> seccertmgmt show -all
ssh private key:
   Does not Exist
ssh public keys available for users:
   None

Certificate Files:
--------------------------------------------------------------------------------------------------------------------
Protocol   Client CA                 Server CA                 SW                        CSR     PVT Key Passphrase
--------------------------------------------------------------------------------------------------------------------
FCAP       Empty                     NA                        Empty                     Empty   Empty   Empty
RADIUS     Empty                     Empty                     Empty                     Empty   Empty   NA
LDAP       Empty                     Empty                     Empty                     Empty   Empty   NA
SYSLOG     Empty                     Empty                     Empty                     Empty   Empty   NA
HTTPS      NA                        Empty                     Exist                     Empty   Exist   NA
KAFKA      NA                        Exist                     NA                        NA      NA      NA
ASC        NA                        Empty                     NA                        NA      NA      NA         






switch99:FID128:bvq> fabricshow
Switch ID   Worldwide Name          Enet IP Addr    FC IP Addr      Name
-------------------------------------------------------------------------
  8: fffc08 10:00:10:05:33:b9:55:b6 10.10.102.05    0.0.0.0         "fabswitch08"
 22: fffc16 10:00:10:05:55:d5:eb:f6 10.10.101.09    0.0.0.0        >"fabswitch13"
 24: fffc18 10:00:18:55:cc:8b:e3:c8 10.10.101.07    0.0.0.0         "fabswitch15"
 25: fffc19 10:00:14:f5:55:11:e8:5f 10.10.101.02    0.0.0.0         "fabswitch18"
 27: fffc1b 10:00:18:94:71:55:da:f4 10.10.101.04    0.0.0.0         "fabswitch23"

The Fabric has 5 switches
Fabric Name: LABWI Fabric B


-------------------------------------------------------------------------------------   

switch99:FID128:bvq> fosconfig --show
FC Routing service:             disabled
Virtual Fabric:                 enabled

-------------------------------------------------------------------------------------   


switch99:FID128:bvq> mgmtapp --show
  REST Configuration:
        Interface State: Enabled
        Effective Protocol: HTTPS only
        HTTP State: Enabled
        Session Count: 10
        Throttling Configurations:
           Sample Requests      : 120
           Sample Time (in sec) : 30
           Idle Time (in sec)   : 3

  HTTPS Configuration:
        KeepAlive : Disabled
        KeepAliveTimeout : 15sec   

-------------------------------------------------------------------------------------   
 
switch99:FID128:bvq> mgmtapp --config -samplerequest 512


-------------------------------------------------------------------------------------   


switch99:FID128:bvq> mgmtapp --config -maxresrsession 10

fcs24:FID128:bvq> apploginhistory --show

The apploginhistory command will be deprecated in a future Fabric OS release. Use mgmtapp --show sessioninfo command for any Management application related operations.

The following is the history of logins to the switch from external applications
(Login Timestamp, IP Address, User Account, Application, SessionId, Current VF, Auth Token):

2023/08/16-12:28:16.385091, 10.10.120.75, bvq, Apache-HttpClient/4.5.13, cc7f75c8acb8dbe439f447eff37fabf13297113d9c44d3b94a8566ee175077cd, 128, No
...
2023/08/16-12:28:00.875845, 10.10.120.74, bvq@lab.sva.de, Apache-HttpClient/4.5.13, ab9d227073482eb6b254bf424c2c9a739e137b2a720cfcd38f1c8a5a26d42e02, 128, No

The following are the sessions from the external applications that are
currently active:

2022/05/09-08:19:50.418415, 10.10.135.18, admin, SANnavMP220_c7612669-4afe-326e-9821-2867ee688a6b, c0f7949aca08d408e4ff7622f546a7f25cda224590e6c6d627cecee27eaece2f, 128, No
2023/05/25-08:43:01.050580, 10.10.135.18, admin, SANnavMP222_c7612669-4afe-326e-9821-2867ee688a6b, 95b2b504cdd118dcd4d99bb10186c7a3172cc73118e183c483d113c943c04c5f, 128, No