
111
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:
Switch(config)# smtp-server server 192.168.2.200
SMTP Email Alert set Server: 192.168.2.200, Account:
Receiver mail
Switch(config)# smtp-server receipt 1
SMTP Email Alert set receipt 1: [email protected]
ok.
Authentication with
username and
password
Switch(config)# smtp-server authentication username
admin password admin
SMTP Email Alert set authentication Username: admin,
Password: admin
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
Server: 192.168.2.200, Account:
Authentication: Enabled
Username: admin, Password: admin
SMTP Email Alert Receipt:
Receipt 1: [email protected]
Receipt 2:
Receipt 3:
Receipt 4: