Command Set Lists

 

C-14

SystemLog, SMTP and Event Commands Set

 

Commands

Level

Description

Example

 

 

systemlog ip

G

Set System log server IP

switch(config)# systemlog ip

 

 

[IP address]

 

address.

192.168.1.100

 

 

 

 

 

 

 

 

systemlog mode

G

Specify the log mode.

switch(config)# systemlog mode both

 

 

[clientserverboth]

 

 

 

 

 

 

 

 

 

 

 

show systemlog

E

Display system log.

Switch>show systemlog

 

 

show systemlog

P

Show system log client &

switch#show systemlog

 

 

 

 

 

server information.

 

 

 

no systemlog

G

Disable systemlog

switch(config)#no systemlog

 

 

 

 

 

function.

 

 

 

smtp enable

G

Enable SMTP function.

switch(config)#smtp enable

 

 

smtp serverip

G

Configure SMTP server

switch(config)#smtp serverip

 

 

[IP address]

 

IP.

192.168.1.5

 

 

smtp authentication

G

Enable SMTP

switch(config)#smtp authentication

 

 

 

 

 

authentication.

 

 

 

smtp account

G

Configure authentication

switch(config)#smtp account John

 

 

[account]

 

 

account.

 

 

 

smtp password

G

Configure authentication

switch(config)#smtp password 1234

 

 

[password]

 

password.

 

 

 

smtp rcptemail

G

Configure Rcpt e-mail

switch(config)#smtp rcptemail 1

 

 

[Index] [Email address]

 

Address.

Alert@test.com

 

 

show smtp

P

Show the information of

switch#show smtp

 

 

 

 

 

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

 

 

[SystemlogSMTPBoth]

 

 

both

 

 

event authentication-failure

G

Set Authentication failure

switch(config)#event

 

 

[SystemlogSMTPBoth]

 

event type.

authentication-failure both

 

 

event ring-topology-change

G

Set X-ring topology

switch(config)#event

 

 

[SystemlogSMTPBoth]

 

changed event type.

ring-topology-change both

 

 

event systemlog

I

Set port event for system

switch(config)#interface fastethernet 3

 

 

[Link-UPLink-DownBoth]

 

log.

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

switch(config)#no event

 

 

 

 

 

type.

device-cold-start

 

 

no event

 

G

Disable Authentication

Switch(config)#no event

 

 

authentication-failure

 

failure event type.

authentication-failure

 

 

no event

 

G

Disable X-ring topology

switch(config)#no event

 

 

ring-topology-change

 

changed event type.

ring-topology-change

 

 

no event systemlog

I

Disable port event for

switch(config)#interface fastethernet 3

 

 

 

 

 

system log.

switch(config-if)#no event systemlog

 

 

no event smpt

I

Disable port event for

switch(config)#interface fastethernet 3

 

 

 

 

 

SMTP.

switch(config-if)#no event smtp

 

 

show systemlog

P

Show system log client &

switch#show systemlog

 

 

 

 

 

server information.

 

 

C-12

Page 74
Image 74
Husky HME-421E, HME-423E user manual SystemLog, Smtp and Event Commands Set