User manual

[Systemlog|SMTP|Both] type
event X-ring-topology-change
[Systemlog|SMTP|Both]
G
Set X - ring topology changed
event type
switch(config)#event X-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
no event device-cold-start G Disable cold start event type switch(config)#no event device-cold-start
no event authentication-failure
G
Disable Authentication failure
event type
switch(config)#no event authentication-failure
no event X-ring-topology-change
G
Disable X - ring topology changed
event type
switch(config)#no event X-ring-topology-change
no event systemlog
I
Disable port event for system log switch(config)#interface fastethernet 3
switch(config-if)#no event systemlog
no event smpt
I
Disable port event for SMTP switch(config)#interface fastethernet 3
switch(config-if)#no event smtp
show systemlog
P
Show system log client & server
information
switch#show systemlog
3.2.17 SNTP Commands Set
Table 3.17: SNTP Commands Set
Commands Level Description Example
sntp enable
G
Enable SNTP function switch(config)#sntp enable
sntp daylight
G
Enable daylight saving time, if
SNTP function is inactive, this
command can’t be applied.
switch(config)#sntp daylight
sntp daylight-period
[Start time] [End time]
G
Set period of daylight saving time,
if SNTP function is inactive, this
command can’t be applied.
Parameter format:
[yyyymmdd-hh:mm]
switch(config)# sntp daylight-period 20060101-
01:01 20060202-01-01
sntp daylight-offset
[Minute]
G
Set offset of daylight saving time, if
SNTP function is inactive, this
command can’t be applied.
switch(config)#sntp daylight-offset 3
sntp ip
[IP]
G
Set SNTP server IP, if SNTP
function is inactive, this command
can’t be applied.
switch(config)#sntp ip 192.169.1.1
sntp timezone
[Timezone]
G
Set timezone index, use “show
sntp timzezone” command to get
more information of index number
switch(config)#sntp timezone 22
show sntp P Show SNTP information switch#show sntp
show sntp timezone
P
Show index number of time zone
list
switch#show sntp timezone
no sntp
G
Disable SNTP function switch(config)#no sntp
no sntp daylight
G
Disable daylight saving time switch(config)#no sntp daylight
3.2.18 X-ring Commands Set
Table 3.18: X-ring Commands Set
Commands Level Description Example
ring enable
G
Enable X-ring switch(config)#ring enable
ring master
G
Enable ring master switch(config)#ring master
ring couplering
G
Enable couple ring switch(config)#ring couplering
ring dualhoming
G
Enable dual homing switch(config)#ring dualhoming
49 Chapter3