Chapter7AlarmManagementConīæguration
StepCommandFunction
7ZXR10(config)#loggingalarmlog-interval<
minute>
Setsthetimeintervalforwritingalarm
recordsfromthebuffertoīæles.Unit:
minute,range:10ā30000,default:10.
8ZXR10(config)#loggingcmdlog-interval<
second>
Setsthetimeintervalforwriting
commandlogsfromthebuffertolog
īæles.Unit:second,range:2ā30000,
default:2.
9ZXR10(config)#loggingftp<level>[vrf
<vrf-name>]<ip-address><username><password
>[<filename>]
Conīæguresthelevelofreporting
alarmstotheFileTransferProtocol
(FTP)server,IPaddressoftheFTP
server,username,password,andīæle
name.Bydefault,alarmsarenot
reported.
10ZXR10(config)#loggingfilesavetime
{interval<time1>|everyday<time2>|
week<weekday><time3>|month
<mothday><time4>}[vrf<vrf-name>]<ftp-se
rver><username><password>[<filename>]
Conīæguresthetimewhenalarms
writteninīælesaresenttotheFTP
server,IPaddress,username,and
passwordoftheFTPserver,andīæle
namepreīæx.Bydefault,alarmsare
notreported.
11ZXR10(config)#loggingmode{fullclear|
fullcycle|fullend}
Setsthemodeforclearingbufferdata
afterthealarmbufferisfull.Default:
fullcycle.
12ZXR10(config)#alarmheartbeat-send<type>Sendsanalarmheartbeatkeep-alive
packettotheconīægureddestination
immediately.
13ZXR10(config)#alarmheartbeat-period<
minute><type>
Conīægurestheintervalofsending
alarmheartbeatpackets.Unit:minute,
range:0ā30000,default:0(no
heartbeatpacketissent).
14ZXR10(config)#alarmlevel-change
<alarm-code><level>
Modiīæesthecorrespondingalarm
levelofthealarmcode.Eachalarm
codehasadefaultlevel.Range:
1ā4294967294.
<level>:thelowestalarmlevel,range:DEBUGGING(level8),INFORMATIONAL
(level7),NOTIFICATIONS(level6),WARNINGS(level5),ERRORS(level4),
CRITICAL(level3),ALERTS(level2),andEMERGENCIES(level1).
<time1>:intervalofreportingtoFTP ,range:1:00:00ā23:59:59.
<time2>:dailytimeforreportingtoFTP ,range:00:00:00ā23:59:59.
7-3
SJ-20140504150128-007|2014-05-10(R1.0)ZTEProprietaryandConīædential