|
|
|
|
| Command Set Lists | |
| 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 | 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 | G | Set cold start event type. | switch(config)#event |
| |
| [SystemlogSMTPBoth] |
|
| both |
| |
| event | G | Set Authentication failure | switch(config)#event |
| |
| [SystemlogSMTPBoth] |
| event type. |
|
| |
| event | G | Set | switch(config)#event |
| |
| [SystemlogSMTPBoth] |
| changed event type. |
| ||
| event systemlog | I | Set port event for system | switch(config)#interface fastethernet 3 |
| |
|
| log. |
| |||
| event smtp | I | Set port event for SMTP. | switch(config)#interface fastethernet 3 |
| |
|
|
|
| |||
| show event | P | Show event selection. | switch#show event |
| |
| no event | G | Disable cold start event | switch(config)#no event |
| |
|
|
|
| type. |
|
|
| no event |
| G | Disable Authentication | Switch(config)#no event |
|
|
| failure event type. |
|
| ||
| no event |
| G | Disable | switch(config)#no event |
|
|
| changed event type. |
| |||
| no event systemlog | I | Disable port event for | switch(config)#interface fastethernet 3 |
| |
|
|
|
| system log. |
| |
| no event smpt | I | Disable port event for | switch(config)#interface fastethernet 3 |
| |
|
|
|
| SMTP. |
| |
| show systemlog | P | Show system log client & | switch#show systemlog |
| |
|
|
|
| server information. |
|
|