Download Print this page

Cisco DCNM Configuration

Data center network manager (dcnm) with sftp switch configuration backup

Advertisement

Quick Links

Data Center Network Manager (DCNM) with SFTP
Switch Configuration Backup
Document ID: 115754
Contributed by Jim Hicks, Cisco TAC Engineer.
Mar 06, 2013
Contents
Introduction
Prerequisites
Requirements
Components Used
Conventions
Procedure
Manual Backup
Automatic (Scheduled) Backup
Related Information
Introduction
This document describes how to back up a switch configuration with Cisco Data Center Network Manager
(DCNM) through SFTP.
Prerequisites
Requirements
Ensure that you meet these requirements before you attempt this configuration:
All switches to be backed up must have an FM_SERVER license.
You must have a secure FTP (SFTP) server and user account.
You must have an Simple Network Management Protocol (SNMP) version 3 user account.
You must have a Secure Shell (SSH) user account.
Components Used
The information in this document is based on the Cisco Data Center Network Manager (DCNM) 5.2(x).
The information in this document was created from the devices in a specific lab environment. All of the
devices used in this document started with a cleared (default) configuration. If your network is live, make sure
that you understand the potential impact of any command.
Conventions
Refer to Cisco Technical Tips Conventions for more information on document conventions.

Advertisement

loading

Summary of Contents for Cisco DCNM

  • Page 1 You must have a Secure Shell (SSH) user account. Components Used The information in this document is based on the Cisco Data Center Network Manager (DCNM) 5.2(x). The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration.
  • Page 2 Procedure Manual Backup Complete these steps in order to use DCNM and SFTP to back up a switch configuration: Install an SFTP/SCP server on a DCNM workstation. Configure a username and password on the SFTP workstation. Note: This user must have all privileges in the SFTP root directory which includes upload/download/delete/rename/list directory.
  • Page 3 MDS−FABRIC−A# copy bootflash:172.18.121.66−120512−100716−TEST sftp://Jim@172.18. 121.71/172.18.121.66−120512−100716−TEST !−−− SFTP user ID is Jim. !−−− The SFTP (DCNM) server IP address is 172.18.121.71. Jim@172.18.121.71's password: 2012.05.12 10:07:20 INFO [FM.WebReport] Connected to 172.18.121.71. sftp> put /bootflash/172.18.121.66−120512−100716−TEST /172.18.121.66−120512−100716−TEST Uploading /bootflash/172.18.121.66−120512−100716−TEST to /172.18.121.66−120512−100716−TEST /bootflash/172.18.121.66−120512−100716−TEST 0.0KB/s −−:−− ETA /bootflash/172.18.121.66−120512−100716−TEST 100% 13...
  • Page 4 Automatic (Scheduled) Backup Complete these steps in order to schedule a job to back up the configuration from the fabric daily: In the DCNM web interface, click Backup > Create. Expand SAN, and select the fabric. In the Backup Options area, click the Repeat radio button that corresponds to how often you want the job to run.
  • Page 5 To view the job you just created, go to Backup > Jobs. After a job has run, view the Status column for information about the process. This image shows there are seven (7) switches on the fabric but only two (2) were backed up. Go to Admin >...
  • Page 6 /172.18.121.66−120512−150501−R /bootflash/172.18.121.66−120512−150501−R 0.0KB/s −−:−− ETA /bootflash/172.18.121.66−120512−150501−R 100% 25KB 25.4KB/s 00:00 sftp> exit Copy complete, now saving to disk (please wait)... MDS−FABRIC−A# 2012.05.12 15:05:06 INFO [FM.WebReport] Successful backup 2012.05.12 15:05:06 INFO [FM.WebReport] delete bootflash:172.18.121.66−120512−150501−R MDS−FABRIC−A# 2012.05.12 15:05:06 INFO [FM.WebReport] −−−−−−−Begin backup for switch:F340−−−−−−− 2012.05.12 15:05:06 INFO [FM.WebReport]...
  • Page 7: Related Information

    Technical Support & Documentation − Cisco Systems Contacts & Feedback | Help | Site Map © 2012 − 2013 Cisco Systems, Inc. All rights reserved. Terms & Conditions | Privacy Statement | Cookie Policy | Trademarks of Cisco Systems, Inc.