13 systemlog, smtp and event commands set, Ystem, Smtp – PLANET ISW-1022MPT User Manual

Page 151: Vent, Ommands

Advertising
background image

User’s Manual of ISW-1022M Series and ISW-1033MT

6.13 SystemLog, SMTP and Event Commands Set

Commands

Level

Description

Example

systemlog ip

[IP address]

G

Set System log server IP

address.

switch(config)# systemlog ip 192.168.1.100

systemlog mode

[client|server|both]

G

Specified the log mode

switch(config)# systemlog mode both

show systemlog

E

Displays system log.

Switch>show systemlog

show systemlog

P

Show system log client &

server information

switch#show systemlog

no systemlog

G

Disable systemlog functon

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 authentication

G

Enable SMTP authentication switch(config)#smtp authentication

smtp account

[account]

G

Configure authentication

account

switch(config)#smtp account John

smtp password

[password]

G

Configure authentication

password

switch(config)#smtp password 1234

smtp rcptemail

[Index] [Email address]

G

Configure Rcpt e-mail Address switch(config)#smtp rcptemail 1

[email protected]

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

[Systemlog|SMTP|Both]

G

Set cold start event type

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

event authentication-failure

[Systemlog|SMTP|Both]

G

Set Authentication failure

event type

switch(config)#event authentication-failure

both

event ring-topology-change

[Systemlog|SMTP|Both]

G

Set X-ring topology changed

event type

switch(config)#event ring-topology-change

both

event systemlog

[Link-UP|Link-Down|Both]

I

Set port event for system log

switch(config)#interface fastethernet 3

switch(config-if)#event systemlog both

event smtp

[Link-UP|Link-Down|Both]

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-cold-start

G

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

no event authentication-failure

G

Disable Authentication failure

event typ

switch(config)#no event

authentication-failure

no event ring-topology-change

G

Disable X-ring topology

changed event type

switch(config)#no event

ring-topology-change

no event systemlog

I

Disable port event for system switch(config)#interface fastethernet 3

151

Advertising
This manual is related to the following products: