SUNIX Co., Ltd.
TEL : +886-2-8913-1987
Email : [email protected]
show systemlog
P
Show system log client & server
information.
switch#show systemlog
no systemlog
G
Disable systemlog function.
switch(config)#no systemlog
smtp enable
G
Enable SMTP function.
switch(config)#smtp enable
smtp serverip
[IP address]
G
Configure SMTP server IP.
switch(config)#smtp serverip 192.168.1.5
smtp subject
[subject]
G
Configure subject of mail.
switch(config)#smtp subject SMTPTest
smtp sender
[sendername]
G
Configure sender of mail.
switch(config)#smtp sender SenderTest
smtp authentication
G
Enable SMTP authentication.
switch(config)#smtp authentication
smtp account
[account]
G
Configure authentication account. switch(config)#smtp account User
smtp password
[password]
G
Configure authentication password. switch(config)#smtp password
smtp rcptemail
[Index] [Email
address]
G
Configure Rcpt e-mail Address.
switch(config)#smtp rcptemail 1
show smtp
P
Show the information of SMTP.
switch#show smtp
no smtp
G
Disable SMTP function.
switch(config)#no smtp
event
device-warm-start
[Systemlog|SMTP|Bot
h]
G
Set cold start event type.
switch(config)#event device-warm-start both
event
authentication-failur
e
[Systemlog|SMTP|Bot
h]
G
Set Authentication failure event type. switch(config)#event authentication-failure both
event systemlog
[Link-UP|Link-Down|B
oth]
I
Set port event for system log. switch(config)#interface fastethernet 3
switch(config-if)#event systemlog both
event smtp
[Link-UP|Link-Down|B
oth]
I
Set port event for SMTP.
switch(config)#interface fastethernet 3
switch(config-if)#event smtp both
show event
P
Show event selection.
switch#show event
no event
device-warm-start
G
Disable cold start event type.
switch(config)#no event device-warm-start
no event
authentication-failur
e
G
Disable Authentication failure event
type.
switch(config)#no event authentication-failure
no event systemlog
I
Disable port event for system log.
switch(config)#interface fastethernet 3
switch(config-if)#no event systemlog
no event smpt
I
Disable port event for SMTP.
switch(config)#interface fastethernet 3
switch(config-if)#no event smtp
show systemlog
P
Show system log client & server
information.
switch#show systemlog
5.3.14
SNTP
C
OMMANDS
S
ET
Commands
Level
Description
Example
sntp enable
G
Enable SNTP function.
switch(config)#sntp enable
sntp daylight
G
Enable daylight saving time, if SNTP
function is inactive, this command
cannot
be applied.
switch(config)#sntp daylight
sntp daylight-period
[Start time] [End
time]
G
Set period of daylight saving time, if
SNTP function is inactive, this
command cannot
be applied.
Parameter format:
[yyyymmdd-hh:mm]
switch(config)# sntp daylight-period
20060101-01:01 20060202-01-01
sntp daylight-offset
[Minute]
G
Set offset of daylight saving time, if
SNTP function is inactive, this
command cannot be applied.
switch(config)#sntp daylight-offset 3
sntp ip
[IP]
G
Set SNTP server IP, if SNTP function
is inactive, this command cannot be
applied.
switch(config)#sntp ip 192.169.1.1
sntp timezone
[Timezone]
G
Set timezone index, use “show sntp
timzezone” command to get more
information of index number.
switch(config)#sntp timezone 22
show sntp
P
Show SNTP information.
switch#show sntp
show sntp timezone
P
Show index number of time zone
list.
switch#show sntp timezone
no sntp
G
Disable SNTP function.
switch(config)#no sntp