SNR S2995G-48TX-POE [10/12] Loghost output log

SNR S2995G-48TX-POE [10/12] Loghost output log
Information Center Configuration Chapter 3 Instructions
3-2
The configuration steps are as follows:
Switch(config)#info-center trapbuffer output-enable
Switch(config)#info-center trapbuffer prefix on
Switch(config)#info-center trapbuffer match level warnings exact keyword DEVSM
3.5 loghost output log
Example 5, configuring the loghost 1 in member 1 is allowed to output the logs with
prefix, and matching level of debugging or above, also the log host’s IP is 192.168.1.11,
facility is local0.
The configuration steps are as follows:
Switch(config)#info-center loghost 1 output-enable member 1
Switch(config)#info-center loghost 1 prefix on member 1
Switch(config)#info-center loghost 1 match level debugging member 1
Switch(config)#info-center loghost 1 config 192.168.1.11 facility local0 member 1
3.6 logfile output log
Example 6, configuring the logfile 1 in member 1 is allowed to output the logs with
prefix, and matching level of debugging or above, also up to 2000 logs are allowed. The
storage disk is flash, the file name is file1.log.
The configuration steps are as follows:
Switch(config)#info-center logfile 1 output-enable member 1
Switch(config)#info-center logfile 1 prefix on member 1
Switch(config)#info-center logfile 1 match level debugging member 1
Switch(config)#info-center logfile 1 config count 2000 flash file1.log member 1
3.7 record user operation commands
Example 7, configuring the logbuffer is allowed to record user operation commands.
The configuration steps are as follows:
Switch(config)#info-center logbuffer output-enable
Switch(config)#info-center logbuffer record-cmd
Скачать