Network Configuration Manager Self Certification

casp1031
From 10.3.1 release, the Network Configuration Manager feature is enhanced to support capturing and managing network configurations for your custom device families by using simple SSH commands. Previously, enabling NCM support for devices did not come with an out of the box NCM support. With this enhancement, users can now enable NCM support for any SSH enabled device by using custom device family and by providing commands in the OneClick view without having to use scripts. You can use the SSH commands to capture and upload the configurations for custom devices which are SSH capable. The SSH commands for respective devices can be obtained from an administrator of the network.
: We recommend running the bash -login, as a prerequisite, to create the .ssh folder which is required to run the NCM scripts.
The following NCM operations are supported using the SSH commands:
  • Capture Startup Configuration
  • Capture Running Configuration
  • Upload Configuration
The existing Perl script mode of configuration is also supported for enabling NCM support for custom devices. Using the SSH-based Perl scripts mode of configuration takes precedence over the SSH commands configuration. For more information about Perl Scripts functionality in NCM, see Using SSH-based Perl Scripts for Network Configuration Manager Operations.
General Configuration for SSH Commands
The following view is added in Spectrum OneClick to support SSH commands. When you select a custom device family in the Explorer tab, you can see the General Configuration section for the respective device family in the Information tab of the Contents panel. Using the General Configuration section, you can configure SSH commands to capture running, startup configurations and upload the modified or saved configurations for a custom device family.
NCM auto.png
For custom devices (which are not supported out-of-the-box), create a custom device family and assign the devices to the family. A device can only belong to a single device family. For instructions, see Create a Custom Device Family section.
General Configuration View
Using the General Configuration view, you can add, edit, or remove commands for running, startup and upload configurations. These commands are also displayed in corresponding attributes of the device family in the Attributes table view of Component Detail panel. 
  • Running Commands and Running Capture Command: 
    The
    Running Commands
    option allows you to perform the following tasks:
    • Add - To add a command for capturing the running configuration of a device family.
    • Edit- To edit a command.
    • Remove- To remove commands from the running commands box.
    • Set Order- To define the sequence for running the running configuration commands. When you select this option, Set Order pop-up window appears. Select a command and use the up and down arrows to set the order for that command. 
    The
    Running Capture Command
     option allows you to set the command to capture the running conflagration of the selected device family. When you select the Set link, it converts into a drop-down list and allows you to select the command from the list.
  • Startup Commands and Startup Capture Command: 
    The 
    Startup Commands
     option allows you to perform the following tasks:
    • Add- To add a command for capturing the startup configuration of a device family.
    • Edit- To edit a command.
    • Remove- To remove commands from the startup commands box.
    • Set Order- To define the sequence for running the startup configuration commands. When you select this option, Set Order pop-up window appears. Select a command and use the up and down arrows to set the order for that command. 
    • The 
      Startup Capture Command
       option allows you to set the command to capture the startup conflagration of the selected device family. When you select the Set link, it converts into a drop-down list and allows you to select the command from the list.
  • Load Commands and Load Config Start Sequence: 
    The
    Load Commands
    option allows you to perform the following tasks:
    • Add- To add a command for capturing the upload configuration of a device family.
    • Edit- To edit a command.
    • Remove- To remove commands from the upload commands box.
    • Set Order- To define the sequence for running upload configuration commands. When you select this option, Set Order pop-up window appears. Select a command and use the up and down arrows to set the order for that command. 
  • The 
    Load Config Start Sequence
     option allows you to set the command sequence to upload the changed configurations. Spectrum executes sequence of commands until this value (this command is executed before uploading the configuration) and upload the changed configuration to the device then perform the remaining sequences.
Enable NCM Support for Custom Device Families
The following procedure provides end to end scenario to enable NCM support for custom devices (which are not supported out-of-the-box).
Prerequisites:
  • List of commands for running, startup, and upload configurations for a specific device family.
  • Create a Custom Device Family based on the model type.
How to enable the support:
Following is an example to explain a step-by-step procedure to enable NCM support for Huawei device model type (0x591004c).
  1. Ensure all the prerequisites are met.
  2. Create a Custom Device Family based on the model type. In the Create Device Family window, select the Search Options to provide the search settings for the custom device family. This procedure is the same as the search settings for the global collection.
    The following screen explains the search criteria for Huawei model type (0x591004c).
    Search Options.png
  3. Provide the running, startup, and load commands list and corresponding values.
    config.png
    After successfully configuring the commands, Spectrum will enable the NCM support for the selected model type devices. 
    The default communication mode/primary communication mode is selected as SSH. To know more about communication mode, see Configure Device Family Communication Mode section.
  4. Use the Host Configuration tab in the Component Details panel, to capture, and upload the configurations for selected host. The capture functionality gets the commands from the Information tab and executes them in the sequence that is defined there. For more details, see Network Configuration Manager Device-Level Tasks.
    Capture_Host Config tab.png
To compare a startup configuration against a currently running configuration (Running vs Startup) for devices in your network, enable the
Verify Startup Equals Running Configuration
option in the Information tab at the Configuration Manager level.