Previous page Next page

service password-in-config

Determines whether passwords will be displayed in configurations, or be replaced by asterisks.

Syntax
service password-in-config
 
no service password-in-config
 
Prerequisites

Must be in configuration mode (config), which requires privileged-level access.

Occurrence

Use once.

Default

Passwords are displayed.

Description

Use the no form of the command to obscure passwords in all configurations; passwords (including both user account passwords and the enable password) will be displayed as a string of eight asterisks: ********.

This will cause the following behavior when you use the copy command, which will copy the asterisks as simple characters (without special meaning):

However, if you delete users between copy commands, users will not remain intact; after the following sequence of actions, users would be lost:

	copy running-config <some_file>
 
	<delete users from running configuration>
 
	copy <some_file> running_config
 

Previous page Next page