action (management-heartbeat)

Specifies an action to be performed when the SLX device does not receive heartbeat messages from EFA within a preconfigured threshold time duration.

Syntax

action { maintenance-mode-enable | no-action }
no action

Parameters

maintenance-mode-enable
Sets the SLX device into the maintenance mode.
no-action
This is the default. No action is performed when the SLX device does not receive a heartbeat message from EFA within the threshold time.

Modes

Management Heartbeat mode

Usage Guidelines

You can assign only one action from the list.

Examples

The following example configures the action which sets the SLX device into maintenance mode.

SLX(config-management-heartbeat-manage) # action management-mode-enable 
SLX(config-management-heartbeat-manage)# do show running-config management-heartbeat manager
management-heartbeat manager
 enable
 threshold-timer 1
 action maintenance-mode-enable
!
SLX(config-management-heartbeat-manage)#

The following example configures the action as no-action. When the SLX devices does not receive any heartbeat messages from EFA and the threshold time has exceed, no action is taken.

SLX(config-management-heartbeat-manage) # action no-action
SLX(config-management-heartbeat-manage)# do show running-config management-heartbeat manager
management-heartbeat manager
 enable
 threshold-timer 1
 action no-action 
!
SLX(config-management-heartbeat-manage)#

The following example resets the current action to the default action. The default action for Management Heartbeat context is no-action.

SLX(config-management-heartbeat-manage) # no action 
SLX(config-management-heartbeat-manage)# do show running-config management-heartbeat manager
management-heartbeat manager
 enable
 threshold-timer 1
 action no-action 
!
SLX(config-management-heartbeat-manage)#