SNR S2989G-48TX-RPS [466/553] Record user operation commands

Превью страниц Страница 466 / 553
SNR S2989G-24TX-POE [466/553] Record user operation commands
S2989G-24TX Operation Manual
Chapter 8 Debugging and Diagnosis Configuration
8-19
Switch(config)#info-center loghost 1 prefix on
Switch(config)#info-center loghost 1 match level debugging
Switch(config)#info-center loghost 1 config 192.168.1.11 facility local0
8.5.3.6 logfile output log
Example 6, configuring the logfile 1 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 in vsf mode 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
The configuration steps in stand-alone mode are as follows:
Switch(config)#info-center logfile 1 output-enable
Switch(config)#info-center logfile 1 prefix on
Switch(config)#info-center logfile 1 match level debugging
Switch(config)#info-center logfile 1 config count 2000 flash file1.log
8.5.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
8.5.3.8 Delete logs recorded by logbuffer or trapbuffer
Example 8, delete logs recorded by logbuffer or trapbuffer.
The configuration steps are as follows:
Switch(config)#info-center clear logbuffer
Switch(config)#info-center clear trapbuffer

Содержание

666