inS_cnge2fe16MS_reV–
01/11/12 Page 123
INSTALLATION AND OPERATION MANUAL
CNGE2FE16MS
TECh SUPPORT: 1.888.678.9427
SystemLog, SMTP and Event Commands Set
Commands
Level Description
Example
systemlog mode
[client|server|both]
G
Specify the log mode
switch(config)#
systemlog mode
both
systemlog ip
[IP address]
G
Set System log server IP address. switch(config)#
systemlog ip
192.168.1.100
show systemlog
E
Display 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 sender
G
Send the sender identification
when an event occurs
switch(config)#
smtp sender test01
smtp authentication
G
Enable SMTP authentication
switch(config)#
smtp authentication
smtp account
[account]
G
Configure authentication accountswitch(config)#
smtp account John
smtp password
password:
[password]
confirm password:
[password]
G
Configure authentication
password
switch(config)#
smtp password
password:
1234
confirm password:
1234
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-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 the event type of
Authentication failure
switch(config)#
event
authentication-failure both
event mac-violation
[Systemlog|SMTP|Both]
G
Set the event type of MAC
Violation
switch(config)#
event mac-violation
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
[Systemlog|SMTP|Both]
G
Disable cold start event type
switch(config)#
no event device-
cold-start both