Westermo PMI-110-F2G User Manual

Page 131

Advertising
background image

  linkup                    Switch link up event 
  all                          Switch all event 
  authentication    Authentication failure event 
  di                          Switch di event 
  fault‐relay          Switch fault relay event 
  power                  Switch power failure event 
  sfp‐ddm                Switch SFP DDM abnormal event 
  super‐ring            Switch super ring topology change event 
  time‐sync            Switch time synchronize event 

Ex: Cold Start event 

Switch(config)# warning‐event coldstart 
Set cold start event enable ok.

Ex: Link Up event 

Switch(config)# warning‐event linkup 

  [IFNAME]    Interface name, ex: fastethernet1 or gi8 

Switch(config)# warning‐event linkup fa5 
Set fa5 link up event enable ok.

Display 

Switch# show warning‐event 
Warning Event: 

  Cold Start: Enabled 
  Warm Start: Disabled 
  Authentication Failure: Disabled 
  Link Down: fa4‐5 
  Link Up: fa4‐5 
  Power Failure: 
  Super Ring Topology Change: Disabled 
  Fault Relay: Disabled 
  Time synchronize Failure: Disable 
  SFP DDM: Enabled 
  DI:DI1

Syslog Configuration 

Local Mode 

Switch(config)# log syslog local

Server Mode 

Switch(config)# log syslog remote 192.168.2.200 

Both 

Switch(config)# log syslog local 
Switch(config)# log syslog remote 192.168.2. 200 

Disable 

Switch(config)# no log syslog local

SMTP Configuration 

SMTP Enable 

Switch(config)# smtp‐server enable email‐alert 
SMTP Email Alert set enable ok.

Sender mail 

Switch(config)# smtp‐server server 192.168.2.

 200

 

  ACCOUNT    SMTP server mail account, ex: [email protected] 

Switch(config)# smtp‐server server 192.168.2.

 200

 [email protected] 

SMTP Email Alert set Server: 192.168.2.

 200

, Account: 

[email protected] ok.

Receiver mail 

Switch(config)# smtp‐server receipt 1 [email protected] 
SMTP Email Alert set receipt 1: [email protected] ok.

 

Authentication with 
username and password 

Switch(config)# smtp‐server authentication username admin password 
westermo 
SMTP Email Alert set authentication Username: admin, Password: 
westermo 

Note: You can assign string to username and password.

 

Disable SMTP 

Switch(config)# no smtp‐server enable email‐alert 
SMTP Email Alert set disable ok. 

Disable Authentication 

Switch(config)# no smtp‐server authentication 
SMTP Email Alert set Authentication disable ok. 

Dispaly 

Switch# sh smtp‐server 
SMTP Email Alert is Enabled 

127

Advertising