Examples
The following example enables the battery-charger test on both
batteries in the CSM module. If the switch does not have a CSM, this message is
issued:
switch# config terminal
switch(config)# system health module 6 battery-charger
battery-charger test is not configured to run on module 6.
The following example enables the cache-disk test on both disks in
the CSM module. If the switch does not have a CSM, this message is issued:
switch(config)# system health module 6 cache-disk
cache-disk test is not configured to run on module 6.
The following example enables the bootflash test:
switch(config)# system health module 6 bootflash
System health for module 6 Bootflash is already enabled.
The following example enables you to prevent the NX-OS software from
taking any action if any component fails:
switch(config)# system health module 6 bootflash failure-action
System health failure action for module 6 Bootflash test is now enabled.
The following example enables an already-enabled bootflash test:
switch(config)# system health module 6 bootflash failure-action
System health failure action for module 6 Bootflash test is already enabled.
The following example disables the bootflash test configuration:
switch(config)# no system health module 6 bootflash failure-action
System health failure action for module 6 Bootflash test is now disabled.
The following example sets the new frequency of the bootflash test to
200 seconds:
switch(config)# system health module 6 bootflash frequency 200
The new frequency is set at 200 Seconds.
The following example enables the EOBC test:
switch(config)# system health module 6 eobc
System health for module 6 EOBC is now enabled.
The following example enables the inband test:
switch(config)# system health module 6 inband
System health for module 6 EOBC is now enabled.
The following example enables the loopback test:
switch(config)# system health module 6 loopback
System health for module 6 EOBC is now enabled.
The following example enables the management test:
switch(config)# system health module 6 management
System health for module 6 EOBC is now enabled.
The following example shows how to set the CompactFlash CRC test
interval:
switch# config t
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)# system health module 6 cf-crc-check frequency 10
The following example shows how to set the CompactFlash CRC test
failure-action feature:
switch# config t
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)# system health module 6 cf-crc-check failure-action
The following example shows how to set the CompactFlash reflash
update interval:
switch# config t
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)# system health module 6 cf-reflash frequency 10
The following example shows how to set the CompactFlash reflash
failure-action feature:
switch# config t
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)# system health module # cf-re-flash failure-action