SFM monitoring

Switch Fabric Module (SFM), and Traffic Manager (TM) error interrupts are logged in RASLOG.

FE Health Monitoring

All SFM-FEs are periodically polled to check for any access issues. When the number of error events in a polling window crosses the threshold, action is taken. You can configure the parameters using the sysmon fe-access-check command.
device(config)# sysmon fe-access-check ?
Possible completions:
  action               Set Fe-Access-Check action
  disable              Disable Fe Access Check (Default: Enabled)
  poll-interval        Set Fe-Access-Check poll-interval
  recovery-threshold   Set Fe-Access-Check recovery threshold
  threshold            Set Fe-Access-Check threshold
device(config)#

SFM Walk

This algorithm tries to isolate an SFM-FE in case of egress TM reassembly errors. It disables an SFM-FE, monitors egress TM reassembly errors and then either isolates it or re-enables it before moving on to next SFM-FE. This can be triggered manually or by egress monitoring running on TMs. You can configure the parameters using the sysmon sfm-walk command.
device(config)# sysmon sfm-walk ?
Possible completions:
  auto                       Enable Auto SFM Walk (Default: Disabled)
  disable-redundancy-check   Disable SFM Walk redundancy check (Default:
                             Enabled)
  poll-interval              Set SFM Walk poll-interval
  threshold                  Set SFM Walk reassembly error threshold
device(config)#

Use the sysmon sfm-walk command to manually start or stop SFM walk.

device# sysmon sfm-walk ?
Possible completions:
  start   Start SFM Walk
  stop    Stop SFM Walk
device#

FE Link CRC Monitoring

All SFM-FE and TM fabric links are polled periodically to check for slow CRC errors. When the number of CRC events in a window crosses threshold, action is taken. You can configure the parameters using the sysmon link-crc-monitoring command.
device(config)# sysmon link-crc-monitoring ?
Possible completions:
  action          Set Link CRC Monitoring action
  disable         Disable Link CRC Monitoring (Default: Enabled)
  poll-interval   Set Link CRC Monitoring poll-interval
  threshold       Set Link CRC Monitoring threshold
device(config)#

Show commands

Following are sample show command outputs for the SFM module.

device# show sfm ?
Possible completions:
  link-connectivity   Display fabric connectivity
  link-thresholds     Display fabric thresholds
  links               Display fabric links
  mcast               Display fabric mcast entries
  queue-occupancy     Display fabric queues
  serdes-mode         Display fabric serdes-mode
  statistics          Display fabric global counters
device# show sfm link-connectivity 
SFM Connectivity (FE 4):
--------------------
Link | Logical Port | Remote Module | Remote Link | Remote Device Type
----------------------------------------------------------------------
036  |     036      |     0012      |     011     |     FAP
037  |     037      |     0012      |     009     |     FAP
038  |     038      |     0012      |     010     |     FAP
039  |     039      |     0012      |     008     |     FAP
device# show sfm queue-occupancy
FE Queue (FE 4):
DCH Queues:
=========
DCH0 Pipe 0: [22,9]
DCH1 Pipe 0: [59,6]
DCH2 Pipe 0: [64,8]
DCH3 Pipe 0: [136,6]

DCL Queues:
=========
DCL0 Pipe 0: [20,4]
DCL1 Pipe 0: [56,12]
DCL2 Pipe 0: [136,4]
device# show sfm link-thresholds
   Link |   Pipe       |     GCI1      |      GCI2   |   GCI2
   RX Thresholds:
   001  |     000      |     0511      |     511     |   511
   TX Thresholds:
   001  |     000      |     0024      |     032     |   40
device# show sfm links
FE-LINKS:
FE Links (FE 4):
 Link  | CRC Error | Size Error | Code Group Error | Misalign | No Signal Lock | No signal accept | Errored tokens | Errored tokens count
 ----------------------------------------------------------------------------------------------------------------------------------------
  0    |    -      |     -      |   ***    |      ***       |        ***         |      ***       |    ***         |  0
  1    |    -      |     -      |   ***    |      ***       |        ***         |      ***       |    ***         |  0
  2    |    -      |     -      |   ***    |      ***       |        ***         |      ***       |    ***         |  0
  3    |    -      |     -      |   ***    |      ***       |        ***         |      ***       |    ***         |  0
  4    |    -      |     -      |   -      |      -         |        -           |      -         |     -          |  63
  5    |    -      |     -      |   -      |      -         |        -           |      -         |     -          |  63
  6    |    -      |     -      |   -      |      -         |        -           |      -         |     -          |  63  
device# show sfm mcast id 1
For MGID 1 fap-list: idx:1 fap-id:0x0
For MGID 1 fap-list: idx:2 fap-id:0x1
For MGID 1 fap-list: idx:3 fap-id:0x2
For MGID 1 fap-list: idx:4 fap-id:0x3
device# show sfm statistics
#-----------------------------------------------------------------------#
#                          |                   Pipe 0                   #
#-----------------------------------------------------------------------#
# DCH:                     |                                            #
#     Total Incoming Cells |                    0                       #
#     Total Outgoing Cells |                    0                       #
#     Fifo Discard         |                    0                       #
#     Reorder Discard      |                    0                       #
#     Unreach Discard      |                    0                       #
#     Max Cells in Fifos   |                    0                       #
#-----------------------------------------------------------------------#
#-----------------------------------------------------------------------#
# DCM:                     |                                            #
#     Total Incoming Cells |                    0                       #
#     Dropped Cells        |                    0                       #
#     Max Cells in Fifos   |                    0                       #
#-----------------------------------------------------------------------#
#-----------------------------------------------------------------------#
# DCL:                     |                                            #
#     Total Incoming Cells |                    0                       #
#     Total Outgoing Cells |                    0                       #
#     Dropped Cells        |                    0                       #
#     Max Cells in Fifos   |                    0                       #
#-----------------------------------------------------------------------#
#-----------------------------------------------------------------------#
device# show switch_fabric_module
 
Slot  Type         Description                 ID      Status
----------------------------------------------------------------------
S1   SFM8 v6      Switch Fabric Module        187     ENABLED
S2   SFM8 v6      Switch Fabric Module        187     ENABLED
S3   SFM8 v6      Switch Fabric Module        187     ENABLED
S4   SFM8 v6      Switch Fabric Module        187     ENABLED
S5   SFM8 v6      Switch Fabric Module        187     ENABLED
S6   SFM8 v6      Switch Fabric Module        187     ENABLED