Using the unified cli with working-sets – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 1578
AMF Introduction and Configuration
Software Reference for x310 Series Switches
59.34
AlliedWare Plus
TM
Operating System - Version 5.4.4C
C613-50046-01 REV A
If using the second method described above, it is important to only connect the AMF-link
until the configuration can be appropriately edited and the node rebooted. Following this
procedure ensures that there is no possibility of creating loops by having an unconfigured
node connected to the network.
The example below shows a clean node that has been connected to a port on a
neighboring AMF node that configured as an AMF-link. AMF detects the new node and
attempts automatic node recovery, but because the new node is not present in the
backup stored on the AMF master, the automatic recovery fails and the AMF safe
configuration is applied:
Once automatic recovery has failed you can now use the
command to
replicate the configuration from the designated similar node:
When the recovery has completed, the new node will be configured to boot from the
cloned configuration, but the configuration will not be applied to the node until it is
rebooted. This way the configuration can be appropriately modified using the AlliedWare
Plus in built editor before the unit is rebooted and the configuration applied.
Using the unified CLI with working-sets
The unified CLI is a central component of AMF. It provides users with a configuration and
display interface that can control the entire AMF network from a single point. Control of
the nodes within an AMF network is provided through the
command.
The working-set
An AMF working-set is a set of nodes, which is either arbitrarily user defined or one of the
pre-defined working-set groups. Specifying or selecting a working-set allows CLI
commands to be executed on all nodes within the selected working-set with a single
command. A working-set can be defined, selected and configured from any node within
an AMF network.
04:26:36 awplus ATMF[846]: ATMF network detected
04:26:36 awplus ATMF[846]: ATMF safe config applied (forwarding disabled)
04:26:46 awplus ATMF[846]: Shutting down all non ATMF ports
04:26:46 awplus ATMF[846]: host_0000_cd28_08cd has left. 0 member in total.
04:26:46 awplus ATMF[846]: host_0000_cd28_08cd has joined. 1 member in total.
04:26:46 awplus ATMF[846]: No identity found for this device so automatic node
recovery is not possible
04:26:53 awplus ATMF[846]: x510_1 has joined. 2 members in total.
04:26:53 awplus ATMF[846]: Master has joined. 3 members in total.
04:26:53 awplus ATMF[846]: x908_VCS_2 has joined. 4 members in total.
04:26:53 awplus ATMF[846]: x908_VCS_1 has joined. 5 members in total.
awplus#atmf recover x510_2
This command will erase ALL flash contents. Continue node recovery? (y/n)y
Manual node recovery successfully initiated
awplus#04:38:24 awplus ATMFFSR[15686]: Retrieving recovery data from master node
Maste
r
04:40:11 awplus ATMFFSR[15686]: Manual node recovery completed