service export-password

Syntax

service export-password no service export-password

Description

Configures a nondefault export password. The export password is used to transform critical security parameters (such as password hashes) into ciphertext suitable for exporting and showing by commands such asshow running-config. This transformation enables safe switch configuration import and export.

Theno这个命令返回出口密码t的形式o its factory default.

NOTE:

All factory-default switches have identical default export passwords. For security, it is recommended that you set the same nondefault export password on every switch in a group that will exchange configuration information. Only switches with identical export passwords can exchange configuration information.

Command context

config

Authority

Administrators or local user group members with execution rights for this command.

Usage

Prompts you twice for the new export password.

The export password must:
  • Contain only ASCII characters from hexadecimal 21 to hexadecimal 7E [\x21-\x7E] (decimal 33 to 126). Spaces are not allowed.

  • Contain at most 32 characters.

  • Not be blank.

Examples

Configuring a new export password:

switch(config)#service export-passwordEnter password:************Confirm password:************

Reverting the export password to its factory default:

switch(config)#no service export-password