C613-50631-01 Rev A Command Reference for IE340 Series 334
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
PLUGGABLES AND CABLING COMMANDS
FIBER
-MONITORING ACTION
fiber-monitoring action
Overview Use this command to specify an action to be taken if the optical power received on
the port changes from the baseline by the amount specified in the
fiber-monitoring sensitivity command.
Use the no variant of this command to remove the specified action or all actions
from the port.
Syntax
fiber-monitoring action [trap] [shutdown] [continuous]
no fiber-monitoring action [trap|shutdown]
Default By default a log message is generated, but no additional action is performed.
Mode Interface Configuration mode for a fiber port.
Usage If fiber monitoring is enabled and this command is not used to set an action, a
change in received power on a fiber port only generates a log message.
Example To set the device to send an SNMP trap when port1.0.1 or port1.0.4 receive
reduced power and when that reduced-power alarm is cleared, use the
commands:
awplus(config)# interface port1.0.1-port1.0.4
awplus(config-if)# fiber-monitoring action trap
To set the device to send an SNMP trap when port1.0.1 or port1.0.4 receive
reduced power, and every polling interval after that until the alarm is cleared, use
the commands:
awplus(config)# interface port1.0.1-port1.0.4
awplus(config-if)# fiber-monitoring action trap continuous
To set the device to send an SNMP trap and to shut down the port when port1.0.1
or port1.0.4 receive reduced power, use the commands:
awplus(config)# interface port1.0.1-port1.0.4
awplus(config-if)# fiber-monitoring action trap shutdown
Parameter Description
trap Send an SNMP notification.
shutdown Shutdown the port.
continuous Make the action or actions happen continuously (every polling
interval) while the sensor is in the alarm state. Otherwise, the
action only happens when the alarm is triggered or cleared.