TP-Link T1500-28PCT TL-SL2428P T1500-28PCT V1 CLI Reference Guide - Page 55

logging file flash, logging file flash frequency, Description, Syntax, Command Mode, Example

Page 55 highlights

logging file flash Description The logging file flash command is used to store the log messages in a flie in the flash on the switch. To disable the log file flash function, please use no logging file flash command. The log file flash indicates the flash sector for saving system log. The information in the log file of the flash will not be lost after the switch is restarted and can be got by the show logging flash command. Syntax logging file flash no logging file flash Command Mode Global Configuration Mode Example Enable the log file flash function: T1500-28PCT(config)#logging file flash logging file flash frequency Description The logging file flash frequency command is used to specify the frequency to synchronize the system log file in the log buffer to the flash. To resume the default synchronizing frequency, please use the no logging file flash fre quency command. Syntax logging file flash frequency { periodic periodic | immediate } no logging file flash frequency Parameter periodic -- The frequency to synchronize the system log file in the log buffer to the flash, ranging from 1 to 48 hours. By default, the synchronization process takes place every 24 hours. immediate -- The system log file in the buffer will be synchronized to the flash immediately. This option will reduce the life of the flash and is not recommended. 44

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200

44
logging file flash
Description
The
logging file flash
command is used to store the log messages in a flie in
the flash on the switch. To disable the log file flash function, please use
no
logging file flash
command. The log file flash indicates the flash sector for
saving system log. The information in the log file of the flash will not be lost after
the switch is restarted and can be got by the
show logging flash
command.
Syntax
logging file flash
no logging file flash
Command Mode
Global Configuration Mode
Example
Enable the log file flash function:
T1500-28PCT(config)#logging file flash
logging file flash frequency
Description
The
logging file flash frequency
command is used to specify the frequency to
synchronize the system log file in the log buffer to the flash. To resume the
default synchronizing frequency, please use the
no logging file flash
frequency
command.
Syntax
logging file flash frequency
{
periodic
periodic
| immediate
}
no logging file flash frequency
Parameter
periodic
—— The frequency to synchronize the system log file in the log buffer
to the flash, ranging from 1 to 48 hours. By default, the synchronization process
takes place every 24 hours.
immediate
—— The system log file in the buffer will be synchronized to the
flash immediately. This option will reduce the life of the flash and is not
recommended.