switch-config-import

This command is used to import a configuration file.

Syntax   switch-config-import import-file name-string apply-system-config|ignore-system-config do-fabric-join|skip-fabric-join replace-switch|no-replace-switch

import-file name-string

Specify a name for the exported configuration file.

Specify any of the following options:

apply-system-config|
ignore-system-config

Specify to apply the imported configuration or ignore the imported file and keep the current configuration.

upgrade-location-mappings upgrade-location-mappings-string

Specify    hostid=locationid comma separated list to upgrade old config.

Defaults   None.

Access   CLI

History   Command introduced in nvOS Version 1.2.1.

Usage   Use this command to import a configuration file.

Examples  To import a copy of the existing configuration, use this command:

CLI network-admin@switch > switch-config-import import-file switch10

See Also   

switch

switch-config-export

switch-config-show

switch-config-copy-to-export

switch-config-copy-to-import

switch-info-show

switch-reboot

switch-setup-modify

switch-setup-show

switch-status-show