Table Of Contents
Managing File Backups and Management Data Exports and Imports
Restoring the Cisco VNMC Software to the Backup Configuration
Working With File Backups
Creating File Backups
Deleting File Backups
Displaying File Backups
Enabling File Backups
Disabling File Backups
Working With File Backup Attributes
Setting the Description Attribute for File Backups
Setting the Password Attribute for File Backups
Setting the Protocol Attribute for File Backups
Setting the Remote File Prefix Attribute for File Backups
Setting the Type Attribute for File Backups
Setting the User Attribute for File Backups
Working With Management Data Exports and Imports
Creating Management Data Export Services
Deleting Management Data Export Services
Displaying Management Data Export Services
Enabling Management Data Export Services
Disabling Management Data Export Services
Creating Management Data Import Services
Deleting Management Data Import Service
Displaying Management Data Import Services
Enabling Management Data Import Services
Disabling Management Data Import Services
Working With Management Data Attributes
Setting the Action Attribute for Imports
Setting the Description Attribute for Exports and Imports
Setting the Password Attribute for Exports and Imports
Setting the Protocol Attribute for Exports and Imports
Setting the Remote File Prefix Attribute for Exports and Imports
Setting the Type Attribute for Exports and Imports
Setting the User Attribute for Exports and Imports
Managing File Backups and Management Data Exports and Imports
This chapter provides procedures for managing file backups and management data.
This chapter includes the following sections:
•Restoring the Cisco VNMC Software to the Backup Configuration
•Working With File Backups
•Working With Management Data Exports and Imports
Restoring the Cisco VNMC Software to the Backup Configuration
To restore the Cisco VNMC software to the backup configuration, follow these steps:
Step 1 Install the Cisco VNMC virtual machine (VM).
For details, see the Cisco Virtual Security Gateway, Release 4.2(1)VSG1(1) and Cisco Virtual Network Management Center, Release 1.0.1 Installation Guide.
Step 2 Uninstall the Cisco VSG policy agents.
Connect the Secure Shell to the Cisco VSG console for this task. This step does not cause a traffic disruption.
vsg (config)# vnm-policy-agent
vsg (config-vnm-policy-agent)# no policy-agent-image
Note Perform this step for all Cisco VSGs that are associated with the Cisco VNMC that you are restoring.
Step 3 Uninstall the VSM policy agents.
Connect the Secure Shell to the VSM console for this task. This step does not cause a traffic disruption.
vsm (config)# vnm-policy-agent
vsm (config-vnm-policy-agent)# no policy-agent-image
Note Perform this step for all VSMs that are associated with the Cisco VNMC you are restoring.
Step 4 Restore the Cisco VNMC database.
Connect the Secure Shell to the Cisco VNMC CLI for this task. Depending upon your Cisco VNMC backup location, restore using File Transfer Protocol (FTP), Secure Copy (SCP), Trivial File Transfer Protocol (TFTP), or Secure File Transfer Protocol (SFTP).
vnmc(local-mgmt)# restore scp:[//[username@]server][/path]
Step 5 In the Cisco VNMC GUI, choose Administration > Service Registry > Clients, and in the Work pane proceed with the following steps:
a. Wait until each registered VSM displays the operational status as lost-visibility.
b. Choose each VSM, and click the Delete Client icon.
Step 6 In the Cisco VNMC GUI, choose Resource Management > Resources > Virtual Supervisor Modules, and verify that the deleted VSMs are not visible.
Step 7 Reinstall the VSM policy agents.
Note If the VSM policy agents must be upgraded, install the new software now.
VSM (config)# vnm-policy-agent
VSM (config-vnm-policy-agent)# policy-agent-image bootflash:vnmc-vsmpa.1.0.1g.bin
Step 8 Wait until all the VSMs have registered in the Service Registry and are displayed under Resource Management > Resources > Virtual Supervisor Modules.
Step 9 Reinstall the Cisco VSG policy agents.
Note If the Cisco VSG policy agents must be upgraded, install the new software now.
VSG (config)# vnm-policy-agent
VSG (config-vnm-policy-agent)# policy-agent-image bootflash:vnmc-vsgpa.1.0.1g.bin
Step 10 Verify the following states after the restore process is complete:
Note The restore process could take a few minutes depending upon your setup environment.
a. On the Cisco VSG CLI, verify that your configurations are restored to their earlier state.
b. On the Cisco VNMC GUI, verify that your objects and policies are restored to their earlier state.
Working With File Backups
This section includes the following topics:
•Creating File Backups
•Deleting File Backups
•Displaying File Backups
•Enabling File Backups
•Disabling File Backups
•Working With File Backup Attributes
Creating File Backups
You can create a file backup.
BEFORE YOU BEGIN
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
CLI
Management controller
SUMMARY STEPS
1. scope system
2. create backup {ftp:<//user@location/file> | scp:<//user@location/file> | sftp:<//user@location/file> | tftp:<//server:port/path>} full-state {disabled | enabled}
3. commit-buffer
DETAILED STEPS
|
Command
|
Purpose
|
Step 1
|
scope system
Example:
vnmc# scope system
|
Places you in system mode.
|
Step 2
|
create backup
Example:
vnmc /system # create backup
ftp://de@test/testfile full-state
enabled
|
Creates a file backup.
|
Step 3
|
commit-buffer
Example:
vnmc /system/backup* # commit-buffer
|
Commits (saves) the configuration.
|
EXAMPLES
This example shows how to create a file backup:
vnmc /system # create backup ftp://de@test/testfile full-state enabled
vnmc /system/backup* # commit-buffer
Deleting File Backups
You can delete a file backup.
BEFORE YOU BEGIN
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
CLI
Management controller
SUMMARY STEPS
1. scope system
2. delete backup <file-backup-name>
3. commit-buffer
DETAILED STEPS
|
Command
|
Purpose
|
Step 1
|
scope system
Example:
vnmc# scope system
|
Places you in system mode.
|
Step 2
|
delete backup
Example:
vnmc /system # delete backup testfile
|
Deletes the file backup.
|
Step 3
|
commit-buffer
Example:
vnmc /system* # commit-buffer
|
Commits (saves) the configuration.
|
EXAMPLES
This example shows how to delete a file backup:
vnmc /system # delete backup testfile
vnmc /system* # commit-buffer
Displaying File Backups
You can display a list of file backups.
BEFORE YOU BEGIN
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
CLI
Management controller
SUMMARY STEPS
1. scope system
2. show backup
DETAILED STEPS
|
Command
|
Purpose
|
Step 1
|
scope system
Example:
vnmc# scope system
|
Places you in system mode.
|
Step 2
|
show backup
Example:
vnmc /system # show backup
|
Displays a list of file backups.
|
EXAMPLES
This example shows how to display a list of file backups:
vnmc /system # show backup
Hostname Type User Protocol Administrative State Description
---------- -------------- ---------- -------- -------------------- -----------
test Full State testOne Ftp Ensabled
testTwo Full State testTwo Ftp Enabled
Enabling File Backups
You can enable a file backup.
BEFORE YOU BEGIN
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
CLI
Management controller
SUMMARY STEPS
1. scope system
2. scope backup <file-backup-name>
3. enable
4. commit-buffer
DETAILED STEPS
|
Command
|
Purpose
|
Step 1
|
scope system
Example:
vnmc# scope system
|
Places you in system mode.
|
Step 2
|
scope backup
Example:
vnmc /system # scope backup testfile
|
Places you in backup mode.
|
Step 3
|
enable
Example:
vnmc /system/backup # enable
|
Enables the backup.
|
Step 4
|
commit-buffer
Example:
vnmc /system/backup* # commit-buffer
|
Commits (saves) the configuration.
|
EXAMPLES
This example shows how to enable a file backup:
vnmc /system # scope backup testfile
vnmc /system/backup # enable
vnmc /system/backup* # commit-buffer
Disabling File Backups
You can disable a file backup.
BEFORE YOU BEGIN
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
CLI
Management controller
SUMMARY STEPS
1. scope system
2. scope backup <file-backup-name>
3. disable
4. commit-buffer
DETAILED STEPS
|
Command
|
Purpose
|
Step 1
|
scope system
Example:
vnmc# scope system
|
Places you in system mode.
|
Step 2
|
scope backup
Example:
vnmc /system # scope backup testfile
|
Places you in backup mode.
|
Step 3
|
disable
Example:
vnmc /system/backup # disable
|
Disables the backup.
|
Step 4
|
commit-buffer
Example:
vnmc /system/backup* # commit-buffer
|
Commits (saves) the configuration.
|
EXAMPLES
This example shows how to disable a file backup:
vnmc /system # scope backup testfile
vnmc /system/backup # disable
vnmc /system/backup* # commit-buffer
Working With File Backup Attributes
This section contains the following topics:
•Setting the Description Attribute for File Backups
•Setting the Password Attribute for File Backups
•Setting the Protocol Attribute for File Backups
•Setting the Remote File Prefix Attribute for File Backups
•Setting the Type Attribute for File Backups
•Setting the User Attribute for File Backups
Setting the Description Attribute for File Backups
You can set the description attribute.
BEFORE YOU BEGIN
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
CLI
Management controller
SUMMARY STEPS
1. scope system
2. scope backup <file-backup-name>
3. set descr <description>
4. commit-buffer
DETAILED STEPS
|
Command
|
Purpose
|
Step 1
|
scope system
Example:
vnmc# scope system
|
Places you in system mode.
|
Step 2
|
scope backup
Example:
vnmc /system # scope backup testfile
|
Places you in backup mode.
|
Step 3
|
set descr
Example:
vnmc /system/backup # set descr testAll
|
Sets the description attribute.
|
Step 4
|
commit-buffer
Example:
vnmc /system/backup* # commit-buffer
|
Commits (saves) the configuration.
|
EXAMPLES
This example shows how to set the description attribute:
vnmc /system # scope backup testfile
vnmc /system/backup # set descr testAll
vnmc /system/backup* # commit-buffer
Setting the Password Attribute for File Backups
You can set the password attribute.
BEFORE YOU BEGIN
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
CLI
Management controller
SUMMARY STEPS
1. scope system
2. scope backup <file-backup-name>
3. set password
4. commit-buffer
DETAILED STEPS
|
Command
|
Purpose
|
Step 1
|
scope system
Example:
vnmc# scope system
|
Places you in system mode.
|
Step 2
|
scope backup
Example:
vnmc /system # scope backup testfile
|
Places you in backup mode.
|
Step 3
|
set password
Example:
vnmc /system/backup # set password
|
Sets the password attribute.
|
Step 4
|
commit-buffer
Example:
vnmc /system/backup* # commit-buffer
|
Commits (saves) the configuration.
|
EXAMPLES
This example shows how to set the password attribute:
vnmc /system # scope backup testfile
vnmc /system/backup # set password
Setting the Protocol Attribute for File Backups
You can set the protocol attribute.
BEFORE YOU BEGIN
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
CLI
Management controller
SUMMARY STEPS
1. scope system
2. scope backup <file-backup-name>
3. set protocol
4. commit-buffer
DETAILED STEPS
|
Command
|
Purpose
|
Step 1
|
scope system
Example:
vnmc# scope system
|
Places you in system mode.
|
Step 2
|
scope backup
Example:
vnmc /system # scope backup testfile
|
Places you in backup mode.
|
Step 3
|
set protocol
Example:
vnmc /system/backup # set protocol tftp
|
Sets the protocol attribute.
|
Step 4
|
commit-buffer
Example:
vnmc /system/backup* # commit-buffer
|
Commits (saves) the configuration.
|
EXAMPLES
This example shows how to set the protocol attribute:
vnmc /system # scope backup testfile
vnmc /system/backup # set protocol tftp
vnmc /system/backup* # commit-buffer
Setting the Remote File Prefix Attribute for File Backups
You can set the remote file prefix attribute.
BEFORE YOU BEGIN
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
CLI
Management controller
SUMMARY STEPS
1. scope system
2. scope backup <file-backup-name>
3. set remote-file-prefix
4. commit-buffer
DETAILED STEPS
|
Command
|
Purpose
|
Step 1
|
scope system
Example:
vnmc# scope system
|
Places you in system mode.
|
Step 2
|
scope backup
Example:
vnmc /system # scope backup testfile
|
Places you in backup mode.
|
Step 3
|
set remote-file-prefix
Example:
vnmc /system/backup # set
remote-file-prefix a
|
Sets the remote file prefix attribute.
|
Step 4
|
commit-buffer
Example:
vnmc /system/backup* # commit-buffer
|
Commits (saves) the configuration.
|
EXAMPLES
This example shows how to set the remote file prefix attribute:
vnmc /system # scope backup testfile
vnmc /system/backup # set remote-file-prefix a
vnmc /system/backup* # commit-buffer
Setting the Type Attribute for File Backups
You can set the type attribute.
BEFORE YOU BEGIN
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
CLI
Management controller
SUMMARY STEPS
1. scope system
2. scope backup <file-backup-name>
3. set type
4. commit-buffer
DETAILED STEPS
|
Command
|
Purpose
|
Step 1
|
scope system
Example:
vnmc# scope system
|
Places you in system mode.
|
Step 2
|
scope backup
Example:
vnmc /system # scope backup testfile
|
Places you in backup mode.
|
Step 3
|
set type
Example:
vnmc /system/backup # set type
full-state
|
Sets the type attribute.
|
Step 4
|
commit-buffer
Example:
vnmc /system/backup* # commit-buffer
|
Commits (saves) the configuration.
|
EXAMPLES
This example shows how to set the type attribute:
vnmc /system # scope backup test
vnmc /system/backup # set type full-state
vnmc /system/backup* # commit-buffer
Setting the User Attribute for File Backups
You can set the user attribute.
BEFORE YOU BEGIN
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
CLI
Management controller
SUMMARY STEPS
1. scope system
2. scope backup <file-backup-name>
3. set user
4. commit-buffer
DETAILED STEPS
|
Command
|
Purpose
|
Step 1
|
scope system
Example:
vnmc# scope system
|
Places you in system mode.
|
Step 2
|
scope backup
Example:
vnmc /system # scope backup testfile
|
Places you in backup mode.
|
Step 3
|
set user
Example:
vnmc /system/backup # set user techs
|
Sets the user attribute.
|
Step 4
|
commit-buffer
Example:
vnmc /system/backup* # commit-buffer
|
Commits (saves) the configuration.
|
EXAMPLES
This example shows how to set the user attribute:
vnmc /system # scope backup testfile
vnmc /system/backup # set user techs
vnmc /system/backup* # commit-buffer
Working With Management Data Exports and Imports
This section includes the following topics:
•Creating Management Data Export Services
•Deleting Management Data Export Services
•Displaying Management Data Export Services
•Enabling Management Data Export Services
•Disabling Management Data Export Services
•Creating Management Data Import Services
•Deleting Management Data Import Service
•Displaying Management Data Import Services
•Enabling Management Data Import Services
•Working With Management Data Attributes
Creating Management Data Export Services
You can create VNMC management data export services.
BEFORE YOU BEGIN
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
CLI
Management controller
SUMMARY STEPS-
1. scope system
2. create export {ftp:<//user@location/file> | scp:<//user@location/file> | sftp:<//user@location/file> | tftp:<//server:port/path>} {config-all | config-logical | config-system} {disabled | enabled}
3. commit-buffer
DETAILED STEPS
|
Command
|
Purpose
|
Step 1
|
scope system
Example:
vnmc# scope system
|
Places you in system mode.
|
Step 2
|
create export
Example:
vnmc /system # create export
ftp://de@test/PA12 config-all enabled
|
Enables the management data export service.
|
Step 3
|
commit-buffer
Example:
vnmc /system* # commit-buffer
|
Commits (saves) the configuration.
|
EXAMPLES
This example shows how to create a management data export service:
vnmc /system # create export ftp://de@test/PA12 config-all enabled
vnmc /system/export* # commit-buffer
Deleting Management Data Export Services
You can delete a management data export service.
BEFORE YOU BEGIN
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
CLI
Management controller
SUMMARY STEPS
1. scope system
2. delete export <export-name>
3. commit-buffer
DETAILED STEPS
|
Command
|
Purpose
|
Step 1
|
scope system
Example:
vnmc# scope system
|
Places you in system mode.
|
Step 2
|
delete export
Example:
vnmc /system # delete export PA12
|
Deletes the export service.
|
Step 3
|
commit-buffer
Example:
vnmc /system* # commit-buffer
|
Commits (saves) the configuration.
|
EXAMPLES
This example shows how to delete a management data export service:
vnmc /system # delete export PA12
vnmc /system* # commit-buffer
Displaying Management Data Export Services
You can display a list of export services.
BEFORE YOU BEGIN
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
CLI
Management controller
SUMMARY STEPS
1. scope system
2. show export
DETAILED STEPS
|
Command
|
Purpose
|
Step 1
|
scope system
Example:
vnmc# scope system
|
Places you in system mode.
|
Step 2
|
show export
Example:
vnmc /system # show export
|
Displays a list of export services.
|
EXAMPLES
This example shows how to display a list of export services:
vnmc /system # show export
Hostname User Protocol Data Export Type Administrative State Description
---------- ---------- -------- ---------------- -------------------- -----------
PA11 test Ftp Config System Enabled
PA13 test Ftp Config All Enabled
Enabling Management Data Export Services
You can enable management data export services.
BEFORE YOU BEGIN
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
CLI
Management controller
SUMMARY STEPS
1. scope system
2. scope export <export-name>
3. enable
4. commit-buffer
DETAILED STEPS
|
Command
|
Purpose
|
Step 1
|
scope system
Example:
vnmc# scope system
|
Places you in system mode.
|
Step 2
|
scope export
Example:
vnmc /system # scope export PA12
|
Places you in export mode.
|
Step 3
|
enable
Example:
vnmc /system/export # enable
|
Enables management data export services.
|
Step 4
|
commit-buffer
Example:
vnmc /system/export* # commit-buffer
|
Commits (saves) the configuration.
|
EXAMPLES
This example shows how to enable a management data export service:
vnmc /system # scope export PA12
vnmc /system/export # enable
vnmc /system/export* # commit-buffer
Disabling Management Data Export Services
You can disable management data export services.
BEFORE YOU BEGIN
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
CLI
Management controller
SUMMARY STEPS
1. scope system
2. scope export <export-name>
3. disable
4. commit-buffer
DETAILED STEPS
|
Command
|
Purpose
|
Step 1
|
scope system
Example:
vnmc# scope system
|
Places you in system mode.
|
Step 2
|
scope export
Example:
vnmc /system # scope export PA12
|
Places you in export mode.
|
Step 3
|
disable
Example:
vnmc /system/export # disable
|
Disables management data export services.
|
Step 4
|
commit-buffer
Example:
vnmc /system/export* # commit-buffer
|
Commits (saves) the configuration.
|
EXAMPLES
This example shows how to enable a management data export service:
vnmc /system # scope export PA12
vnmc /system/export # disable
vnmc /system/export* # commit-buffer
Creating Management Data Import Services
You can create a VNMC management data import service.
BEFORE YOU BEGIN
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
CLI
Management controller
SUMMARY STEPS
1. scope system
2. create import {ftp: | scp: | sftp: | tftp:} {merge | replace} {disabled | enabled}
3. commit-buffer
DETAILED STEPS
|
Command
|
Purpose
|
Step 1
|
scope system
Example:
vnmc# scope system
|
Places you in system mode.
|
Step 2
|
create import
Example:
vnmc /system # create import
ftp://de@test/PA13 replace enabled
|
Enables the management data import service.
|
Step 3
|
commit-buffer
Example:
vnmc /system* # commit-buffer
|
Commits (saves) the configuration.
|
EXAMPLES
This example shows how to create a management data import service:
vnmc /system # create import ftp://de@test/PA13 replace enabled
vnmc /system/import* # commit-buffer
Deleting Management Data Import Service
You can delete the management data import service.
BEFORE YOU BEGIN
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
CLI
Management controller
SUMMARY STEPS
1. scope system
2. delete import <import-name>
3. commit-buffer
DETAILED STEPS
|
Command
|
Purpose
|
Step 1
|
scope system
Example:
vnmc# scope system
|
Places you in system mode.
|
Step 2
|
delete import
Example:
vnmc /system # delete import PA13
|
Deletes the import service.
|
Step 3
|
commit-buffer
Example:
vnmc /system* # commit-buffer
|
Commits (saves) the configuration.
|
EXAMPLES
This example shows how to delete the import service:
vnmc /system # delete import PA13
vnmc /system* # commit-buffer
Displaying Management Data Import Services
You can display a list of import services.
BEFORE YOU BEGIN
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
CLI
Management controller
SUMMARY STEPS
1. scope system
2. show import
DETAILED STEPS
|
Command
|
Purpose
|
Step 1
|
scope system
Example:
vnmc# scope system
|
Places you in system mode.
|
Step 2
|
show import
Example:
vnmc /system # show import
|
Displays a list of import services.
|
EXAMPLES
This example shows how to display a list of import services:
vnmc /system # show import
Hostname User Protocol Data Import Action Administrative State Description
---------- ---------- -------- ------------------ -------------------- -----------
PA12 test Ftp Replace Enabled
PA14 test Ftp Replace Enabled
Enabling Management Data Import Services
You can enable management data import services.
BEFORE YOU BEGIN
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
CLI
Management controller
SUMMARY STEPS
1. scope system
2. scope import <import-name>
3. enable
4. commit-buffer
DETAILED STEPS
|
Command
|
Purpose
|
Step 1
|
scope system
Example:
vnmc# scope system
|
Places you in system mode.
|
Step 2
|
scope import
Example:
vnmc /system # scope import PA13
|
Places you in import mode.
|
Step 3
|
enable
Example:
vnmc /system/import # enable
|
Enables management data import services.
|
Step 4
|
commit-buffer
Example:
vnmc /system/import* # commit-buffer
|
Commits (saves) the configuration.
|
EXAMPLES
This example shows how to enable a management data import service:
vnmc /system # scope import PA13
vnmc /system/import # enable
vnmc /system/import* # commit-buffer
Disabling Management Data Import Services
You can disable management data import services.
BEFORE YOU BEGIN
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
CLI
Management controller
SUMMARY STEPS
1. scope system
2. scope import <import-name>
3. disable
4. commit-buffer
DETAILED STEPS
|
Command
|
Purpose
|
Step 1
|
scope system
Example:
vnmc# scope system
|
Places you in system mode.
|
Step 2
|
scope import
Example:
vnmc /system # scope import PA13
|
Places you in import mode.
|
Step 3
|
disable
Example:
vnmc /system/import # disable
|
Disables management data import services.
|
Step 4
|
commit-buffer
Example:
vnmc /system/import* # commit-buffer
|
Commits (saves) the configuration.
|
EXAMPLES
This example shows how to disable a management data import service:
vnmc /system # scope import PA13
vnmc /system/import # disable
vnmc /system/import* # commit-buffer
Working With Management Data Attributes
This section includes the following topics:
•Setting the Action Attribute for Imports
•Setting the Description Attribute for Exports and Imports
•Setting the Password Attribute for Exports and Imports
•Setting the Protocol Attribute for Exports and Imports
•Setting the Remote File Prefix Attribute for Exports and Imports
•Setting the Type Attribute for Exports and Imports
•Setting the User Attribute for Exports and Imports
Setting the Action Attribute for Imports
You can set the action attribute.
BEFORE YOU BEGIN
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
CLI
Management controller
SUMMARY STEPS
1. scope system
2. scope import <export-name>
3. set action
4. commit-buffer
DETAILED STEPS
|
Command
|
Purpose
|
Step 1
|
scope system
Example:
vnmc# scope system
|
Places you in system mode.
|
Step 2
|
scope import
Example:
vnmc /system # scope import PA13
|
Places you in import mode.
|
Step 3
|
set action
Example:
vnmc /system/import # set action merge
|
Sets the action attribute.
|
Step 4
|
commit-buffer
Example:
vnmc /system/import* # commit-buffer
|
Commits (saves) the configuration.
|
EXAMPLES
This example shows how to set the action attribute:
vnmc /system # scope import PA13
vnmc /system/import # set action merge
vnmc /system/import* # commit-buffer
Setting the Description Attribute for Exports and Imports
You can set the description attribute.
BEFORE YOU BEGIN
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
CLI
Management controller
SUMMARY STEPS
1. scope system
2. scope export <export-file-name> | scope import <import-file-name>
3. set descr <description>
4. commit- buffer
DETAILED STEPS (export mode)
|
Command
|
Purpose
|
Step 1
|
scope system
Example:
vnmc# scope system
|
Places you in system mode.
|
Step 2
|
scope export
Example:
vnmc /system # scope export PA12
|
Places you in export mode.
|
Step 3
|
set descr
Example:
vnmc /system/export # set descr testA
|
Sets the description attribute.
|
Step 4
|
commit-buffer
Example:
vnmc /system/export* # commit-buffer
|
Commits (saves) the configuration.
|
DETAILED STEPS (import mode)
|
Command
|
Purpose
|
Step 1
|
scope system
Example:
vnmc# scope system
|
Places you in system mode.
|
Step 2
|
scope import
Example:
vnmc /system # scope import PA13
|
Places you in import mode.
|
Step 3
|
set descr
Example:
vnmc /system/import # set descr testA
|
Sets the description attribute.
|
Step 4
|
commit-buffer
Example:
vnmc /system/import* # commit-buffer
|
Commits (saves) the configuration.
|
EXAMPLES
This example shows how to set the description attribute in export mode:
vnmc /system # scope export PA12
vnmc /system/backup # set descr testA
vnmc /system/backup* # commit-buffer
Setting the Password Attribute for Exports and Imports
You can set the password attribute.
BEFORE YOU BEGIN
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
CLI
Management controller
SUMMARY STEPS
1. scope system
2. scope export <export-file-name> | scope import <import-file-name>
3. set password
4. commit-buffer
DETAILED STEPS (export mode)
|
Command
|
Purpose
|
Step 1
|
scope system
Example:
vnmc# scope system
|
Places you in system mode.
|
Step 2
|
scope export
Example:
vnmc /system # scope expor PA12
|
Places you in export mode.
|
Step 3
|
set password
Example:
vnmc /system/export # set password
|
Sets the password attribute.
|
Step 4
|
commit-buffer
Example:
vnmc /system/export* # commit-buffer
|
Commits (saves) the configuration.
|
DETAILED STEPS (import mode)
|
Command
|
Purpose
|
Step 1
|
scope system
Example:
vnmc# scope system
|
Places you in system mode.
|
Step 2
|
scope import
Example:
vnmc /system # scope import PA13
|
Places you in import mode.
|
Step 3
|
set password
Example:
vnmc /system/import # set password
|
Sets the password attribute.
|
Step 4
|
commit-buffer
Example:
vnmc /system/import* # commit-buffer
|
Commits (saves) the configuration.
|
EXAMPLES
This example shows how to set the password attribute in import mode:
vnmc /system # scope import PA13
vnmc /system/import # set password
Setting the Protocol Attribute for Exports and Imports
You can set the protocol. attribute
BEFORE YOU BEGIN
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
CLI
Management controller
SUMMARY STEPS
1. scope system
2. scope export <export-file-name> | scope import <import-file-name>
3. set protocol
4. commit-buffer
DETAILED STEPS (export mode)
|
Command
|
Purpose
|
Step 1
|
scope system
Example:
vnmc# scope system
|
Places you in system mode.
|
Step 2
|
scope export
Example:
vnmc /system # scope export PA12
|
Places you in export mode.
|
Step 3
|
set protocol
Example:
vnmc /system/export # set protocol ftp
|
Sets the password attribute.
|
Step 4
|
commit-buffer
Example:
vnmc /system/export* # commit-buffer
|
Commits (saves) the configuration.
|
DETAILED STEPS (import mode)
|
Command
|
Purpose
|
Step 1
|
scope system
Example:
vnmc# scope system
|
Places you in system mode.
|
Step 2
|
scope import
Example:
vnmc /system # scope import PA13
|
Places you in import mode.
|
Step 3
|
set protocol
Example:
vnmc /system/import # set protocol ftp
|
Sets the protocol attribute.
|
Step 4
|
commit-buffer
Example:
vnmc /system/import* # commit-buffer
|
Commits (saves) the configuration.
|
EXAMPLES
This example shows how to set the protocol attribute in import mode:
vnmc /system # scope import PA13
vnmc /system/import # set protocol ftp
vnmc /system/import* # commit-buffer
Setting the Remote File Prefix Attribute for Exports and Imports
You can set the protocol.
BEFORE YOU BEGIN
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
CLI
Management controller
SUMMARY STEPS
1. scope system
2. scope export <export-file-name> | scope import <import-file-name>
3. set remote-file-prefix
4. commit-buffer
DETAILED STEPS (export mode)
|
Command
|
Purpose
|
Step 1
|
scope system
Example:
vnmc# scope system
|
Places you in system mode.
|
Step 2
|
scope export
Example:
vnmc /system # scope export PA12
|
Places you in export mode.
|
Step 3
|
set remote-file-prefix
Example:
vnmc /system/export # set
remote-file-prefix test
|
Sets the remote file prefix attribute.
|
Step 4
|
commit-buffer
Example:
vnmc /system/export* # commit-buffer
|
Commits (saves) the configuration.
|
DETAILED STEPS (import mode)
|
Command
|
Purpose
|
Step 1
|
scope system
Example:
vnmc# scope system
|
Places you in system mode.
|
Step 2
|
scope import
Example:
vnmc /system # scope import PA13
|
Places you in import mode.
|
Step 3
|
set remote-file-index
Example:
vnmc /system/import # set
remote-file-index test
|
Sets the remote file index attribute.
|
Step 4
|
commit-buffer
Example:
vnmc /system/import* # commit-buffer
|
Commits (saves) the configuration.
|
EXAMPLES
This example shows how to set the remote file prefix attribute in export mode:
vnmc /system # scope export PA12
vnmc /system/export # set remote-file-prefix test
vnmc /system/export* # commit-buffer
Setting the Type Attribute for Exports and Imports
You can set the type attribute.
BEFORE YOU BEGIN
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
CLI
Management controller
SUMMARY STEPS
1. scope system
2. scope backup <file-backup-name> | scope export <export-file-name>
3. set type
4. commit-buffer
DETAILED STEPS (export mode)
|
Command
|
Purpose
|
Step 1
|
scope system
Example:
vnmc# scope system
|
Places you in system mode.
|
Step 2
|
scope export
Example:
vnmc /system # scope export PA12
|
Places you in export mode.
|
Step 3
|
set type
Example:
vnmc /system/export # set type
full-state
|
Sets the type attribute.
|
Step 4
|
commit-buffer
Example:
vnmc /system/export* # commit-buffer
|
Commits (saves) the configuration.
|
DETAILED STEPS (import mode)
|
Command
|
Purpose
|
Step 1
|
scope system
Example:
vnmc# scope system
|
Places you in system mode.
|
Step 2
|
scope import
Example:
vnmc /system # scope import PA13
|
Places you in import mode.
|
Step 3
|
set type
Example:
vnmc /system/import # set type
full-state
|
Sets the type attribute.
|
Step 4
|
commit-buffer
Example:
vnmc /system/import* # commit-buffer
|
Commits (saves) the configuration.
|
EXAMPLES
This example shows how to set the type attribute in export mode:
vnmc /system # scope export PA12
vnmc /system/backup # set type full-state
vnmc /system/backup* # commit-buffer
Setting the User Attribute for Exports and Imports
You can set the user attribute.
BEFORE YOU BEGIN
See VNMC CLIs Basic Commands, page 1-5 for basic information about the VNMC CLI.
CLI
Management controller
SUMMARY STEPS
1. scope system
2. scope export <export-file-name> | scope import <import-file-name>
3. set user
4. commit-buffer
DETAILED STEPS (export mode)
|
Command
|
Purpose
|
Step 1
|
scope system
Example:
vnmc# scope system
|
Places you in system mode.
|
Step 2
|
scope export
Example:
vnmc /system # scope export PA12
|
Places you in export mode.
|
Step 3
|
set user
Example:
vnmc /system/export # set user techs
|
Sets the user attribute.
|
Step 4
|
commit-buffer
Example:
vnmc /system/export* # commit-buffer
|
Commits (saves) the configuration.
|
DETAILED STEPS (import mode)
|
Command
|
Purpose
|
Step 1
|
scope system
Example:
vnmc# scope system
|
Places you in system mode.
|
Step 2
|
scope import
Example:
vnmc /system # scope import PA13
|
Places you in import mode.
|
Step 3
|
set user
Example:
vnmc /system/import # set user techs
|
Sets the user attribute.
|
Step 4
|
commit-buffer
Example:
vnmc /system/import* # commit-buffer
|
Commits (saves) the configuration.
|
EXAMPLES
This example shows how to set the user attribute in import mode:
vnmc /system # scope import PA13
vnmc /system/import # set user techs
vnmc /system/import* # commit-buffer