136
Default
Configuration encryption is disabled. The running configuration is saved to a configuration file without
encryption.
Views
System view
Predefined user roles
network-admin
Parameters
private-key
: Encrypts configuration with a private key. All HP devices running Comware V7 software use
the same private key.
public-key
: Encrypts configuration with a public key. All HP devices running Comware V7 software use
the same public key.
Usage guidelines
Configuration encryption enables the device to automatically encrypt a configuration file when saving
the running configuration to the file.
Examples
# Enable the public-key method for configuration encryption.
<Sysname> system-view
[Sysname] configuration encrypt public-key
display current-configuration
Use
display current-configuration
to display the running configuration.
Syntax
display current-configuration
[
configuration
[
module-name
] |
interface
[
interface-type
[
interface-number
] ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
configuration
[
module-name
]: Displays feature configuration. The
module-name
argument specifies a
feature module. If no feature module is specified, this command displays all feature settings you have
made. Available feature modules depend on your configuration.
interface
[
interface-type
[
interface-number
] ]: Displays interface configuration, where the
interface-type
argument represents the interface type and the
interface-number
argument represents the interface
number.
Usage guidelines
Use this command to verify the running configuration you have made.