Download Print this page

Cisco DCNM Configuration page 2

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

Advertisement

Procedure
Manual Backup
Complete these steps in order to use DCNM and SFTP to back up a switch configuration:
1.
Install an SFTP/SCP server on a DCNM workstation.
2.
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.
3.
Log in to the DCNM web interface.
4.
Click Admin > SFTP credentials.
5.
Fill in the information for the SFTP server.
This information is used on the switch to transfer the configuration file to the SFTP server. The Root
Directory is the path to the root directory configured on the SFTP server.
Example: On a Windows platform, this might be something like "C:\SFTP".
6.
Choose a verification switch to test against.
7.
Click Verify and Apply.
Once you click Verify and Apply, these steps occur:
1.
SSH session is opened to the switch.
2.
The CLI is used to copy the switch name to a file on bootflash.
3.
The CLI is used to copy the bootflash file to the SFTP server.
4.
The bootflash file is deleted.
If this backup was real, the file would be the switch configuration, and these steps would also occur:
1.
The configuration file is copied from the SFTP server directory to the DCNM database.
2.
The configuration file in the SFTP directory is deleted.
The status of the operation is reported in the Info dialog box. Here is an example of a successful test:
You can view the logs in the Logs menu (Admin > Logs > Web Reports); here is a sample log:
!−−− Switch names is MDF−FABRIC−A.
MDS−FABRIC−A#
!−−− The IP address of the switch is 172.18.121.66.
2012.05.12 10:07:19
show switchname > bootflash:172.18.121.66−120512−100716−TEST
INFO
[FM.WebReport]

Advertisement

loading