Product specifications
5 – Detailed Descriptions of Command LineTools
D000006-000 Rev A 5-77
Q
Environment Variables
The following environment variables are also used by this command:
CHASSIS, CHASSIS_FILE - see the discussion on the selection of chassis
above.
FF_TIMEOUT_MULT - multiplier for response timeouts. The default is 2. this
typically does not need to be set, but in the event of unexpected timeouts or
extremely slow chassis or management network, a larger value can be used.
FF_CHASSIS_LOGIN_METHOD - how to login to a chassis. Can be SSH or
Telnet.
FF_CHASSIS_ADMIN_PASSWORD - The password for the administrator on all
chassis. Used in absence of the -S option.
FF_CURTIME - The timestamp to use on a directory created in
FF_ANALYSIS_DIR. The default is the present date and time.
FF_CHASSIS_CMDS - the set of chassis CLI commands to fetch chassis
configuration information.
FF_CHASSIS_HEALTH - the chassis CLI command to check the chassis
health.
FF_DIFF_CMD -Linux command used to compare the baseline to the latest
snapshot.
The default set of FF_CHASSIS_CMDS is:
showInventory fwVersion showIBNodeDesc ismShowPStatThresh
ismChassisSet12x timeZoneConf timeDSTConf snmpCommunityConf
snmpTargetAddr showChassisIpAddr showDefaultRoute
The commands specified in FF_CHASSIS_CMDS must be simple commands with
no arguments. The output of these commands will be textually compared (via
FF_DIFF_CMD) to the baseline. Therefore, commands that include dynamically
changing values (such as port packet counters) should not be included in this list.
FF_CHASSIS_HEALTH can specify one command (with arguments) to be used
to check the chassis health. For chassis with newer firmware, the hwCheck
command is recommended. For chassis with older firmware a benign command,
such as fruInfo, should be used. The default is hwCheck. Note that only the
exit status of the FF_CHASSIS_HEALTH command is checked. The output is
not captured and compared in a snapshot. However, on failure its output is saved
to aid diagnosis.
The chassis_analysis tool performs its analysis against one or more chassis
in the fabric. As such, it permits the chassis to be specified via the -H, -F,
CHASSIS, CHASSIS_FILE or fastfabric.conf. The handling of these
options and settings is comparable to cmdall -C and similar Fast fabric
commands against a chassis.