Home > Success Center > Network Configuration Manager (NCM) > NCM template - NEXUS 7000 VDC

NCM template - NEXUS 7000 VDC

Table of contents
Created by Jeared Bon, last modified by MindTouch on Jun 23, 2016

Views: 1,510 Votes: 1 Revisions: 7

Overview

This article provides the NCM template for Nexus 7000 with 3+1 VDC.

Environment

  • Device: Cisco Nexus 7000 VDC
  • All NCM versions

Steps

  1. Depending on your version of NCM, follow the relevant steps to add a template. Refer to the NCM Documentation.
  2. Use the following lines as the actual content of the template:
<Configuration-Management Device="Cisco Nexus" SystemOID=" 1.3.6.1.4.1.9">
    <Commands>
        <Command Name="RESET" Value="terminal width 0${CRLF}terminal length 0"/>
        <Command Name="Reboot" Value="reload${CRLF}y${CRLF}y"/>
        <Command Name="EnterConfigMode" Value="config terminal"/>
        <Command Name="ExitConfigMode" Value="end"/>
        <Command Name="Startup" Value="startup"/>
        <Command Name="EnableIdentifier" Value="x"/>
        <Command Name="Running" Value="running"/>
        <Command Name="DownloadConfig" Value="Show ${ConfigType}"/>
        <Command Name="UploadConfig" Value="${EnterConfigMode}${CRLF}${ConfigText}${CRLF}${ExitConfigMode}"/>
        <Command Name="DownloadConfigIndirect" Value="copy ${ConfigType} ${TransferProtocol}://${StorageAddress}/${StorageFilename} vrf management${CRLF}${CRLF}${CRLF}"/>
        <Command Name="UploadConfigIndirect" Value="copy ${TransferProtocol}://${StorageAddress}/${StorageFilename}  ${ConfigType} vrf management${CRLF}${CRLF}"/>
        <Command Name="DownloadConfigIndirectSCP" Value="copy ${ConfigType} ${TransferProtocol}://${SCPServerUserName}@${SCPStorageAddress}/${StorageFilename} vrf management${CRLF}${CRLF}${CRLF}${CRLF}${SCPServerPassword}"/>
        <Command Name="UploadConfigIndirectSCP" Value="copy ${TransferProtocol}://${SCPServerUserName}@${SCPStorageAddress}/${StorageFilename}  ${ConfigType} vrf management${CRLF}${CRLF}${SCPServerPassword}"/>
        <Command Name="EraseConfig" Value="write erase${CRLF}Y"/>
        <Command Name="SaveConfig" Value="write memory"/>
        <Command Name="SaveAllVDC" Value="saveall"/>
        <Command Name="Version" Value="show version"/>
    </Commands>
</Configuration-Management>

Note: To copy content without line numbers, hover over the text and click the view source button (View Source). This opens a new window where you can select and copy text without any formatting or line numbering.

 

You must to post a comment.
Last modified
03:27, 23 Jun 2016

Tags

Classifications

Public