Specifications

AMF Commands
204 New and Enhanced Features in AlliedWare Plus 5.4.4 Major and Minor Versions
atmf recover
This command is used to manually initiate the recovery (or replication) of an AMF node,
usually when a node is being replaced. The recovery/replication process involves loading
the configuration file for a node that is either about to be replaced or has experienced
some problem. The configuration file of the device being replaced is selected by the
nodename parameter, and the master node holding the configuration file is specified by
the parameter <master-nodename>.
If the <nodename> parameter is not entered then the node will attempt to use one that
has been previously configured. If the replacement node has no previous configuration
(and has no previously used nodename), then the recovery will fail.
If the <master-nodename> parameter is not specified then the device will poll all known
AMF masters and execute an election process (based on the last successful backup and its
timestamp) to determine which master node to use. If no valid backup master is found,
then this command will fail.
Syntax atmf recover [<nodename> <master-nodename>]
Mode
Privileged Exec
Usage No error checking occurs when this command is run, and regardless of the last backup
status, the recovering node will attempt to load its configuration from the master node
specified by the master-nodename parameter.
Note that if the node has previously been configured, we recommend that you suspend
any AMF backup before running this command. This is to prevent corruption of the
backup files on the AMF master as it attempts to both backup and recover the node at the
same time.
Example To recover the AMF node named Node_10 from the AMF master node named Master_2,
use the following command:
Related Commands atmf backup stop
show atmf backup
show atmf
Parameter Description
<nodename> The name of the device whose configuration is to be
recovered or replicated.
<master-nodename> The name of the master device that holds the required
configuration information.
Note that although you can omit both the nodename and
the master nodename; you can only omit the master
nodename if you also omit the nodename.
Master_2#
atmf recover Node_10 Master_2