[Contents] [Prev] [Next] [Index] [Report an Error]

Creating a Text-Based Password

To create a text-based password, perform the following steps:

  1. Include either the plain-text-password or encrypted-password statement at the [edit system login user account-name authentication] hierarchy level. First, move to that hierarchy level:
    [edit system login]
    user@host# edit user account-name authentication

    To enter a password as text, issue the following command. You are prompted for the password, which is encrypted before being stored.

    [edit system login user account-name authentication]
    user@host# set plain-text-password
    New password: password
    Retype new password: password

    To store a password that you have previously created and hashed using Message Digest 5 (MD5) or Secure Hash Algorithm 1 (SHA-1), issue the following command:

    [edit system login user account-name authentication]
    user@host# set encrypted-password "password"
  2. (Optional) Commit the configuration. Alternatively, you can wait until you have added the statements that satisfy all prerequisites (see NETCONF Service over SSH Is EnabledEnable NETCONF Service over SSH).
    [edit system login user account-name authentication]
    user@host# commit
  3. Repeat the preceding steps on each routing platform where the client application establishes NETCONF sessions.

[Contents] [Prev] [Next] [Index] [Report an Error]