C613-50170-01 Rev B
Command Reference for x510 Series
2276
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
A
LLIED
T
ELESIS
M
ANAGEMENT
F
RAMEWORK
™ (AMF) C
OMMANDS
ATMF
PROVISION
NODE
CLONE
atmf provision node clone
Overview
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
.
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
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 device2 to create backup files for the new provisioned
node device3 use the following command:
device1#
atmf provision node device3 clone device2
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.