systemlog mode | G | Specified the log mode | switch(config)# systemlog mode both |
[clientserverboth] |
|
| |
|
|
|
|
show systemlog | E | Displays system log. | Switch>show systemlog |
show systemlog | P | Show system log client & server | switch#show systemlog |
| information |
| |
|
|
| |
no systemlog | G | Disable systemlog functon | switch(config)#no systemlog |
smtp enable | G | Enable SMTP function | switch(config)#smtp enable |
smtp serverip | G | Configure SMTP server IP | switch(config)#smtp serverip 192.168.1.5 |
[IP address] |
|
| |
|
|
| |
smtp authentication | G | Enable SMTP authentication | switch(config)#smtp authentication |
smtp account | G | Configure authentication account | switch(config)#smtp account User |
[account] |
|
| |
|
|
| |
smtp password | G | Configure authentication password | switch(config)#smtp password |
[password] |
|
| |
|
|
| |
smtp rcptemail | G | Configure Rcpt | switch(config)#smtp rcptemail 1 Alert@test.com |
[Index] [Email address] |
|
| |
|
|
| |
show smtp | P | Show the information of SMTP | switch#show smtp |
no smtp | G | Disable SMTP function | switch(config)#no smtp |
event | G | Set cold start event type | switch(config)#event |
[SystemlogSMTPBoth] |
|
| |
|
|
|
|
event | G | Set Authentication failure event | switch(config)#event |
[SystemlogSMTPBoth] | type |
| |
|
| ||
event | G | Set X - ring topology changed | switch(config)#event |
[SystemlogSMTPBoth] | event type |
| |
|
| ||
event systemlog | I | Set port event for system log | switch(config)#interface fastethernet 3 |
| |||
|
| ||
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 type | switch(config)#no event |
no event | G | Disable Authentication failure | switch(config)#no event |
| event type |
| |
|
|
| |
no event | G | Disable X - ring topology changed | switch(config)#no event |
| event type |
| |
|
|
| |
no event systemlog | I | Disable port event for system log | switch(config)#interface fastethernet 3 |
|
| ||
|
|
| |
no event smpt | I | Disable port event for SMTP | switch(config)#interface fastethernet 3 |
|
| ||
|
|
| |
show systemlog | P | Show system log client & server | switch#show systemlog |
| information |
| |
|
|
|
3.1.16SNTP Commands Set
Table 3.16: SNTP Commands Set
| Netstar Commands |
| Level |
| Description |
| Example |
|
|
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
| sntp enable | G | Enable SNTP function | switch(config)#sntp enable | ||||
|
|
|
|
|
|
| ||
|
|
|
|
|
| |||
| sntp daylight |
|
| Enable daylight saving time, if | switch(config)#sntp daylight | |||
|
|
| G | SNTP function is inactive, this |
|
| ||
|
|
|
|
| command can’t be applied. |
|
| |
| sntp |
|
| Set period of daylight saving time, | switch(config)# sntp | |||
| [Start time] [End time] |
|
| if SNTP function is inactive, this | 01:01 |
| ||
|
|
| G | command can’t be applied. |
|
| ||
|
|
|
|
| Parameter format: |
|
| |
|
|
|
|
|
|
| ||
| sntp |
|
| Set offset of daylight saving time, if | switch(config)#sntp | |||
| [Minute] | G | SNTP function is inactive, this |
|
| |||
|
|
|
|
| command can’t be applied. |
|
| |
| sntp ip |
|
| Set SNTP server IP, if SNTP | switch(config)#sntp ip 192.169.1.1 | |||
| [IP] | G | function is inactive, this command |
|
| |||
|
|
|
|
| can’t be applied. |
|
| |
| sntp timezone |
|
| Set timezone index, use “show | switch(config)#sntp timezone 22 | |||
| [Timezone] | G | sntp timzezone” command to get |
|
| |||
|
|
|
|
| more information of index number |
|
| |
| show sntp | P | Show SNTP information | switch#show sntp |
37 | Chapter3 |