HP 6125XLG R2306-HP 6125XLG Blade Switch Network Management and Monitoring Con - Page 69
Configuration example for outputting logs to the console, Network requirements, Configuration
View all HP 6125XLG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 69 highlights
Configuration example for outputting logs to the console Network requirements Configure the device to output to the console FTP logs that have a severity level of at least warning. Figure 19 Network diagram Configuration procedure # Enable the information center. system-view [Sysname] info-center enable # Disable log output to the console. [Sysname] info-center source default console deny To avoid output of unnecessary information, disable all modules from outputting log information to the specified destination (console in this example) before you configure the output rule. # Configure an output rule to output to the console FTP logs that have a severity level of at least warning. [Sysname] info-center source ftp console level warning [Sysname] quit # Enable the display of logs on the console. (This function is enabled by default.) terminal logging level 6 terminal monitor Current terminal monitor is on. Now, if the FTP module generates logs, the information center automatically sends the logs to the console, and the console displays the logs. Configuration example for outputting logs to a UNIX log host Network requirements Configure the device to output to the UNIX log host FTP logs that have a severity level of at least informational. Figure 20 Network diagram 63