OcNOS-RON : System Management Guide : System Management Configuration Guide : Show Tech Support Configurations
Show Tech Support Configurations
Overview
OcNOS maintains a collection of consolidated information about system configurations and statistics. This information is for debugging and diagnosing system issues, and can be uploaded to a remote server. You generate a file with this information via the show techsupport command.
Note: Output is not displayed on the terminal.
The default directory (/var/log/)is where the stored information is saved. The filename has the form: tech_support_YYYY_MMM_DD_HH_MM_SS.tar.gz. If a file name is specified, the information will be saved to filename_YYYY_MMM_DD_HH_MM_SS_.tar.gz. Date stamps are in the YYYY_MM_DD form, and time stamps are in the form HH_MM_SS.
The collected system data contains the following logs:
Saved start-up configuration of the system.
The running-config, and statistics for a specified module or all modules.
The last 100 commands.
Memory and CPU usage of the process.
Process Id and process name.
The user account running the process.
Tech Support Samples
 
#show techsupport all
Collects system configurations and statistics for all modules, and saves it in tech_support_date_timestamp.tar.gz in the /var/log/ directory.
#show techsupport all log-path /home/filename
Collects system configurations and statistics for all modules, and saves it in filename_date_timestamp.tar.gz in the /home/ directory.
#show techsupport nsm
Collects nsm protocol configurations and statistics, and saves it in tech_support_date_timestamp.tar.gz in the /var/log/ directory.
#show techsupport nsm log-path /home/filename
Collects nsm protocol configurations and statistics, and saves it at filename_date_timestamp.tar.gz in the /home/directory.
#show techsupport hostpd authd imi
Collects hostp, authd, and imi protocol configurations and statistics and saves it at tech_support_date_timestamp.tar.gz in the /var/log/ directory.
#show techsupport hostpd authd imi log-path /home/filename
Collects hostp, authd, imi protocol configurations and statistics, saves it as filename_date_timestamp.tar.gz in the /home/ directory.
Validation Commands
You can display the status of a show techsupport command given earlier which indicates the protocol modules that have completed, are in progress, or have not executed. If the command has completed, it lists the last five generated tech support files with their path.
#show techsupport status
 
Tech Support Command Execution Is Complete
##Generated Tech Support File-list
/var/log/tech_support_18_Dec_2017_20_39_02.tar.gz
#
Note: the running show techsupport operation has not completed, reentering the show techsupport command is ignored.