Specifications

AMF Commands
New and Enhanced Features in AlliedWare Plus 5.4.4 Major and Minor Versions 189
atmf provision node clone
This command sets up a space on the backup media for use with a provisioned node and
copies into it almost all files and directories from a chosen backup or provisioned node.
Alternatively, you can set up a new, unique provisioned node by using the command atmf
provision node create.
Syntax atmf provision node <nodename> clone <source nodename>
Mode
Privileged Exec
Usage This command is only available on master nodes in the AMF network.
You must run either this command or atmf provision node create command, before you
can use other “atmf provision node” commands using the specified node name. If a
backup or provisioned node already exists for the specified node then you must delete it
before using the atmf provision node clone command.
When using this command it is important to be aware of the following:
A copy of <media>:atmf/<atmf_name>/nodes/<source_node>/flash will be made for
the provisioned node and stored in the backup media.
The directory <node_backup_dir>/flash/.config/ssh is excluded from the copy.
All contents of <root_backup_dir>/nodes/<nodename> will be deleted or
overwritten.
Settings for the expected location of other provisioned nodes are excluded from the
copy.
The active and backup configuration files are automatically modified in the following
ways:
The “hostname” command is modified to match the name of the provisioned node.
The “stack virtual-chassis-id” command is removed, if present.
Example To copy from the backup of Switch2 to create backup files for the new provisioned node
Switch3 use the following command:
Figure 1: Sample output from the atmf provision node clone command
Parameter Description
<nodename> The name that will be assigned to the clone when
connected.
<source nodename> The name of the node whose configuration is to be
copied for loading to the clone.
switch1#
atmf provision node switch3 clone switch2
switch1#atmf provision node switch3 clone switch2
Copying...
Successful operation