121
4.11.5 CLI Commands
Command Lines of the Warning configuration
Feature
Command Line
Relay Output
Relay Output
Switch(config)# relay 1
di DI state
dry dry output
ping ping failure
port port link failure
power power failure
ring super ring failure
Note: Select Relay 1 or 2 first, then select the event types.
DI State
Switch(config)# relay 1 di
<1-2> DI number
Switch(config)# relay 1 di 1
high high is abnormal
low low is abnormal
Switch(config)# relay 1 di 1 high
Dry Output
Switch(config)# relay 1 dry
<0-4294967295> turn on period in second
Switch(config)# relay 1 dry 5
<0-4294967295> turn off period in second
Switch(config)# relay 1 dry 5 5
Ping Failure
Switch(config)# relay 1 ping 192.168.10.33
<cr>
reset reset a device
Switch(config)# relay 1 ping 192.168.10.33 reset
<1-65535> reset time
Switch(config)# relay 1 ping 192.168.10.33 reset 60
<0-65535> hold time to retry
Switch(config)# relay 1 ping 192.168.10.33 reset 60 60
Port Link Failure
Switch(config)# relay 1 port
PORTLIST port list
Switch(config)# relay 1 port fa1-5
Power Failure
Switch(config)# relay 1 power
<1-2> power id
Switch(config)# relay 1 power 1
Switch(config)# relay 1 power 2
Super Ring Failure
Switch(config)# relay 1 ring
Disable Relay
Switch(config)# no relay
<1-2> relay id
Switch(config)# no relay 1
(Relay_ID: 1 or 2)
<cr>
Display
Switch# show relay 1
Relay Output Type : Port Link
Port : 1, 2, 3, 4,
Switch# show relay 2
Relay Output Type : Super Ring
Event Selection
Event Selection
Switch(config)# warning-event
coldstart Switch cold start event