Advantech EKI-7657C User Manual

Page of 110
 
37                                                                                  Chapter3 
systemlog mode 
[client|server|both] 
Specified the log mode 
switch(config)# systemlog mode both 
show systemlog 
Displays system log. 
Switch>show systemlog 
show systemlog 
Show system log client & server 
information 
switch#show systemlog 
 
no systemlog 
Disable systemlog functon 
switch(config)#no systemlog 
smtp enable 
Enable SMTP function 
switch(config)#smtp enable 
smtp serverip 
[IP address] 
Configure SMTP server IP 
switch(config)#smtp serverip 192.168.1.5 
smtp authentication 
Enable SMTP authentication 
switch(config)#smtp authentication 
smtp account 
[account] 
Configure authentication account
switch(config)#smtp account User 
smtp password 
[password] 
Configure authentication password
switch(config)#smtp password 
smtp rcptemail 
[Index] [Email address] 
Configure Rcpt e-mail Address 
switch(config)#smtp rcptemail 1 
Alert@test.com
 
show smtp 
Show the information of SMTP 
switch#show smtp 
no smtp 
Disable SMTP function 
switch(config)#no smtp 
event device-cold-start 
[Systemlog|SMTP|Both] 
Set cold start event type 
switch(config)#event device-cold-start both 
event authentication-failure 
[Systemlog|SMTP|Both] 
Set Authentication failure event 
type 
switch(config)#event authentication-failure both 
event ring-topology-change 
[Systemlog|SMTP|Both] 
Set X -  ring topology changed 
event type 
switch(config)#event ring-topology-change both 
event systemlog 
[Link-UP|Link-Down|Both] 
Set port event for system log 
switch(config)#interface fastethernet 3 
switch(config-if)#event systemlog both 
event smtp 
[Link-UP|Link-Down|Both] 
Set port event for SMTP 
switch(config)#interface fastethernet 3 
switch(config-if)#event smtp both 
show event 
Show event selection 
switch#show event 
no event device-cold-start 
Disable cold start event type 
switch(config)#no event device-cold-start 
no event authentication-failure 
Disable Authentication failure 
event type 
switch(config)#no event authentication-failure 
no event ring-topology-change 
Disable X -  ring topology changed 
event type 
switch(config)#no event ring-topology-change 
no event systemlog 
Disable port event for system log 
switch(config)#interface fastethernet 3 
switch(config-if)#no event systemlog 
no event smpt 
Disable port event for SMTP 
switch(config)#interface fastethernet 3 
switch(config-if)#no event smtp 
show systemlog 
Show system log client & server 
information 
switch#show systemlog 
 
 
 
3.1.16 
SNTP Commands Set 
 
Table 3.16: SNTP Commands Set 
Netstar Commands 
Level 
Description 
Example 
sntp enable 
Enable SNTP function 
switch(config)#sntp enable 
sntp daylight 
Enable daylight saving time, if 
SNTP function is inactive, this 
command can’t be applied. 
switch(config)#sntp daylight 
sntp daylight-period 
[Start time] [End time]  
Set period of daylight saving time, 
if SNTP function is inactive, this 
command can’t be applied.  
Parameter format: 
[yyyymmdd-hh:mm] 
switch(config)# sntp daylight-period 20060101-
01:01 20060202-01-01
 
sntp daylight-offset 
[Minute] 
Set offset of daylight saving time, if 
SNTP function is inactive, this 
command can’t be applied.  
switch(config)#sntp daylight-offset 3 
sntp ip 
[IP] 
Set SNTP server IP, if SNTP 
function is inactive, this command 
can’t be applied. 
switch(config)#sntp ip 192.169.1.1 
sntp timezone 
[Timezone] 
Set timezone index, use “show 
sntp timzezone” command to get 
more information of index number
switch(config)#sntp timezone 22 
show sntp 
Show SNTP information 
switch#show sntp