systemlog mode

G

Specified the log mode

switch(config)# systemlog mode both

[clientserverboth]

 

 

 

 

 

 

show systemlog

E

Displays system log.

Switch>show systemlog

show systemlog

P

Show system log client & server

switch#show systemlog

 

information

 

 

 

 

no systemlog

G

Disable systemlog functon

switch(config)#no systemlog

smtp enable

G

Enable SMTP function

switch(config)#smtp enable

smtp serverip

G

Configure SMTP server IP

switch(config)#smtp serverip 192.168.1.5

[IP address]

 

 

 

 

 

smtp authentication

G

Enable SMTP authentication

switch(config)#smtp authentication

smtp account

G

Configure authentication account

switch(config)#smtp account User

[account]

 

 

 

 

 

smtp password

G

Configure authentication password

switch(config)#smtp password

[password]

 

 

 

 

 

smtp rcptemail

G

Configure Rcpt e-mail Address

switch(config)#smtp rcptemail 1 Alert@test.com

[Index] [Email address]

 

 

 

 

 

show smtp

P

Show the information of SMTP

switch#show smtp

no smtp

G

Disable SMTP function

switch(config)#no smtp

event device-cold-start

G

Set cold start event type

switch(config)#event device-cold-start both

[SystemlogSMTPBoth]

 

 

 

 

 

 

event authentication-failure

G

Set Authentication failure event

switch(config)#event authentication-failure both

[SystemlogSMTPBoth]

type

 

 

 

event ring-topology-change

G

Set X - ring topology changed

switch(config)#event ring-topology-change both

[SystemlogSMTPBoth]

event type

 

 

 

event systemlog

I

Set port event for system log

switch(config)#interface fastethernet 3

[Link-UPLink-DownBoth]

 

switch(config-if)#event systemlog both

 

 

event smtp

I

Set port event for SMTP

switch(config)#interface fastethernet 3

[Link-UPLink-DownBoth]

 

switch(config-if)#event smtp both

 

 

show event

P

Show event selection

switch#show event

no event device-cold-start

G

Disable cold start event type

switch(config)#no event device-cold-start

no event authentication-failure

G

Disable Authentication failure

switch(config)#no event authentication-failure

 

event type

 

 

 

 

no event ring-topology-change

G

Disable X - ring topology changed

switch(config)#no event ring-topology-change

 

event type

 

 

 

 

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

switch#show systemlog

 

information

 

 

 

 

3.1.16SNTP Commands Set

Table 3.16: SNTP Commands Set

 

Netstar Commands

 

Level

 

Description

 

Example

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

sntp enable

G

Enable SNTP function

switch(config)#sntp enable

 

 

 

 

 

 

 

 

 

 

 

 

 

 

sntp daylight

 

 

Enable daylight saving time, if

switch(config)#sntp daylight

 

 

 

G

SNTP function is inactive, this

 

 

 

 

 

 

 

command can’t be applied.

 

 

 

sntp daylight-period

 

 

Set period of daylight saving time,

switch(config)# sntp daylight-period 20060101-

 

[Start time] [End time]

 

 

if SNTP function is inactive, this

01:01 20060202-01-01

 

 

 

 

G

command can’t be applied.

 

 

 

 

 

 

 

Parameter format:

 

 

 

 

 

 

 

[yyyymmdd-hh:mm]

 

 

 

sntp daylight-offset

 

 

Set offset of daylight saving time, if

switch(config)#sntp daylight-offset 3

 

[Minute]

G

SNTP function is inactive, this

 

 

 

 

 

 

 

command can’t be applied.

 

 

 

sntp ip

 

 

Set SNTP server IP, if SNTP

switch(config)#sntp ip 192.169.1.1

 

[IP]

G

function is inactive, this command

 

 

 

 

 

 

 

can’t be applied.

 

 

 

sntp timezone

 

 

Set timezone index, use “show

switch(config)#sntp timezone 22

 

[Timezone]

G

sntp timzezone” command to get

 

 

 

 

 

 

 

more information of index number

 

 

 

show sntp

P

Show SNTP information

switch#show sntp

37

Chapter3

Page 47
Image 47
Advantech EKI-7657C user manual Sntp Commands Set