background image

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.

Summary of Contents for DCNM

Page 1: ...ration 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 crea...

Page 2: ...tion switch to test against 6 Click Verify and Apply 7 Once you click Verify and Apply these steps occur SSH session is opened to the switch 1 The CLI is used to copy the switch name to a file on bootflash 2 The CLI is used to copy the bootflash file to the SFTP server 3 The bootflash file is deleted 4 If this backup was real the file would be the switch configuration and these steps would also oc...

Page 3: ...saving to disk please wait MDS FABRIC A 2012 05 12 10 07 20 INFO FM WebReport Successful backup 2012 05 12 10 07 20 INFO FM WebReport delete bootflash 172 18 121 66 120512 100716 TEST Here is an example of a failure to connect to the switch with SSH MDS FABRIC A 2012 05 12 10 32 49 INFO FM WebReport Start Running Config Diff Report Async FID 70 vsanPK Report Type 14 2012 05 12 10 32 49 INFO FM Web...

Page 4: ...e try again test 172 18 121 71 s password Permission denied please try again test 172 18 121 71 s password 2012 05 12 14 48 31 INFO FM WebReport Permission denied please try again test 172 18 121 71 s password Permission denied please try again Note Always check the logs if a test is unsuccessful Automatic Scheduled Backup Complete these steps in order to schedule a job to back up the configuratio...

Page 5: ...rt Skipping non SNMP v3 Switch F340 24 10 5548 1 x 2012 05 12 15 05 00 INFO FM WebReport Begin backup for switch MDS FABRIC A 2012 05 12 15 05 02 INFO FM WebReport copy running config bootflash 172 18 121 66 120512 150501 R Copy complete now saving to disk please wait MDS FABRIC A 2012 05 12 15 05 05 INFO FM WebReport copy running config bootflash 172 18 121 66 120512 150501 R Copy complete now sa...

Page 6: ...3 7010 1 fcoe 2012 05 12 15 05 06 INFO FM WebReport Begin backup for switch 24 2012 05 12 15 05 11 INFO FM WebReport copy running config bootflash 172 18 121 43 120512 150508 R Copy complete now saving to disk please wait 24 10 5020A 1 2012 05 12 15 05 15 INFO FM WebReport copy running config bootflash 172 18 121 43 120512 150508 R Copy complete now saving to disk please wait 24 10 5020A 1 copy bo...

Page 7: ...kipped because they did not have a license Two 2 were skipped because they did not have SNMPv3 enabled To view the backed up configuration go to Backup View You can view delete copy and edit the backups or you can save them to a local file Related Information Technical Support Documentation Cisco Systems Contacts Feedback Help Site Map 2012 2013 Cisco Systems Inc All rights reserved Terms Conditio...

Reviews: