Allied Telesis AT-IFS802SPOE Manuale Utente

Pagina di 105
97
AT-IFS802SP/POE(W)-80 User Manual
SystemLog, SMTP and Event Commands Set
Allied Telesis 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 sender 
[sendername]
G
Configure sender of mail
switch(config)#smtp snder aaa@bbb.
com
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
Alert@test.com
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