<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic The way to force a password in Switching</title>
    <link>https://community.cisco.com/t5/switching/migrating-password-types-from-type-4-to-type-8/m-p/2694136#M325057</link>
    <description>&lt;P&gt;The way to force a password algorithm is:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;username [&lt;EM&gt;NAME&lt;/EM&gt;] algorithm-type [&lt;EM&gt;TYPE&lt;/EM&gt;] secret [&lt;EM&gt;PASSWORD&lt;/EM&gt;]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;And, if you want to change the privilège (default is 15):&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;username [&lt;EM&gt;NAME&lt;/EM&gt;]&amp;nbsp;privilege [0-15] algorithm-type [&lt;EM&gt;TYPE&lt;/EM&gt;] secret [&lt;EM&gt;PASSWORD&lt;/EM&gt;]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;There are tree types (considering type 4 was a fail and is not available anymore):&lt;/P&gt;&lt;P&gt;md5&amp;nbsp; Encode the password using the MD5 algorithm (number 5)&lt;BR /&gt;scrypt&amp;nbsp; Encode the password using the &lt;STRONG&gt;SCRYPT&lt;/STRONG&gt; hashing algorithm (number &lt;STRONG&gt;9&lt;/STRONG&gt;)&lt;BR /&gt;sha256&amp;nbsp; Encode the password using the &lt;STRONG&gt;PBKDF2&lt;/STRONG&gt; hashing algorithm (number &lt;STRONG&gt;8&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;You should read this befor chosing between 8 or 9:&lt;/P&gt;&lt;P&gt;&lt;A href="http://crypto.stackexchange.com/questions/8159/what-is-the-difference-between-scrypt-and-pbkdf2"&gt;http://crypto.stackexchange.com/questions/8159/what-is-the-difference-between-scrypt-and-pbkdf2&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jul 2015 18:05:13 GMT</pubDate>
    <dc:creator>Shawn Guertin</dc:creator>
    <dc:date>2015-07-08T18:05:13Z</dc:date>
    <item>
      <title>Migrating password types - from type 4 to type 8</title>
      <link>https://community.cisco.com/t5/switching/migrating-password-types-from-type-4-to-type-8/m-p/2694135#M325056</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting this message when rebooting my 3850:&lt;/P&gt;&lt;P&gt;%AAAA-4-CLI_DEPRECATED: WARNING: Command has been added to the configuration but Type 4 passwords have been deprecated. Migrate to a supported password type&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I read on Cisco's website(&lt;A href="http://tools.cisco.com/security/center/content/CiscoSecurityResponse/cisco-sr-20130318-type4" target="_blank"&gt;http://tools.cisco.com/security/center/content/CiscoSecurityResponse/cisco-sr-20130318-type4&lt;/A&gt;) about the flaws of type 4 passwords.&amp;nbsp; Does anyone know the full process(step-by-step) of migrating from type 4 password to type 8?&amp;nbsp; I'm going to do this on my 3850 switch but not sure how to make all the modifications to the enable password, enable secret, username etc...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 08:53:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/migrating-password-types-from-type-4-to-type-8/m-p/2694135#M325056</guid>
      <dc:creator>afsharki2</dc:creator>
      <dc:date>2019-03-08T08:53:12Z</dc:date>
    </item>
    <item>
      <title>The way to force a password</title>
      <link>https://community.cisco.com/t5/switching/migrating-password-types-from-type-4-to-type-8/m-p/2694136#M325057</link>
      <description>&lt;P&gt;The way to force a password algorithm is:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;username [&lt;EM&gt;NAME&lt;/EM&gt;] algorithm-type [&lt;EM&gt;TYPE&lt;/EM&gt;] secret [&lt;EM&gt;PASSWORD&lt;/EM&gt;]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;And, if you want to change the privilège (default is 15):&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;username [&lt;EM&gt;NAME&lt;/EM&gt;]&amp;nbsp;privilege [0-15] algorithm-type [&lt;EM&gt;TYPE&lt;/EM&gt;] secret [&lt;EM&gt;PASSWORD&lt;/EM&gt;]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;There are tree types (considering type 4 was a fail and is not available anymore):&lt;/P&gt;&lt;P&gt;md5&amp;nbsp; Encode the password using the MD5 algorithm (number 5)&lt;BR /&gt;scrypt&amp;nbsp; Encode the password using the &lt;STRONG&gt;SCRYPT&lt;/STRONG&gt; hashing algorithm (number &lt;STRONG&gt;9&lt;/STRONG&gt;)&lt;BR /&gt;sha256&amp;nbsp; Encode the password using the &lt;STRONG&gt;PBKDF2&lt;/STRONG&gt; hashing algorithm (number &lt;STRONG&gt;8&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;You should read this befor chosing between 8 or 9:&lt;/P&gt;&lt;P&gt;&lt;A href="http://crypto.stackexchange.com/questions/8159/what-is-the-difference-between-scrypt-and-pbkdf2"&gt;http://crypto.stackexchange.com/questions/8159/what-is-the-difference-between-scrypt-and-pbkdf2&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2015 18:05:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/migrating-password-types-from-type-4-to-type-8/m-p/2694136#M325057</guid>
      <dc:creator>Shawn Guertin</dc:creator>
      <dc:date>2015-07-08T18:05:13Z</dc:date>
    </item>
    <item>
      <title>For the [PASSWORD] at the end</title>
      <link>https://community.cisco.com/t5/switching/migrating-password-types-from-type-4-to-type-8/m-p/2694137#M325058</link>
      <description>&lt;P&gt;For the &lt;STRONG&gt;[&lt;EM&gt;PASSWORD&lt;/EM&gt;] &lt;/STRONG&gt;at the end; would I just enter a standard password or would i have to encrypt it than enter the text?&amp;nbsp; I would like to keep the same password..how do i do that?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2015 18:05:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/migrating-password-types-from-type-4-to-type-8/m-p/2694137#M325058</guid>
      <dc:creator>afsharki2</dc:creator>
      <dc:date>2015-07-08T18:05:14Z</dc:date>
    </item>
    <item>
      <title>It's cleartext, like when</title>
      <link>https://community.cisco.com/t5/switching/migrating-password-types-from-type-4-to-type-8/m-p/2694138#M325059</link>
      <description>&lt;P&gt;It's cleartext, like when creating a new user, try entering an "?" after any command to see the choices and definitions.&lt;/P&gt;&lt;P&gt;Here is a random example:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;username bob algorithm-type scrypt secret 1-Am=BoB!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;username bob algorithm-type sha256 secret 1-Am=BoB!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;And, if you want to change the privilège (default is 15):&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;username [&lt;EM&gt;NAME&lt;/EM&gt;]&amp;nbsp;privilege [0-15] algorithm-type [&lt;EM&gt;TYPE&lt;/EM&gt;] secret [&lt;EM&gt;PASSWORD&lt;/EM&gt;]&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2015 19:51:22 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/migrating-password-types-from-type-4-to-type-8/m-p/2694138#M325059</guid>
      <dc:creator>Shawn Guertin</dc:creator>
      <dc:date>2015-07-08T19:51:22Z</dc:date>
    </item>
    <item>
      <title>Ok, thanks.  Since the</title>
      <link>https://community.cisco.com/t5/switching/migrating-password-types-from-type-4-to-type-8/m-p/2694139#M325060</link>
      <description>&lt;P&gt;Ok, thanks.&amp;nbsp; Since the password you entered is cleartext &lt;STRONG&gt;1-Am=BoB!&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;How do I make it not be clear, so people who do sh-run can't see it.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2015 19:51:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/migrating-password-types-from-type-4-to-type-8/m-p/2694139#M325060</guid>
      <dc:creator>afsharki2</dc:creator>
      <dc:date>2015-07-08T19:51:23Z</dc:date>
    </item>
    <item>
      <title>I'm sorry, I forgot one word</title>
      <link>https://community.cisco.com/t5/switching/migrating-password-types-from-type-4-to-type-8/m-p/2694140#M325061</link>
      <description>&lt;P&gt;I'm sorry, I forgot one word in the command, it's:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;username [&lt;EM&gt;NAME&lt;/EM&gt;]&amp;nbsp;privilege [0-15] algorithm-type [&lt;EM&gt;TYPE&lt;/EM&gt;] &lt;U&gt;secret&lt;/U&gt; [&lt;EM&gt;PASSWORD&lt;/EM&gt;]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color:#0000CD;"&gt;username bob privilege 15 algorithm-type scrypt secret cleartextpassword&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Would show this in the RUN:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color:#0000CD;"&gt;username bob&amp;nbsp;privilege 15 secret 9 $9$gVNQgE5RM0DJwp$C8hRF1ak7gPVlRY4EaFOpkq.V/G9I1CNGQ17kR3j4WU&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If you don't know the original password and just want tu update, well you can't, because the router does not know the original either, you have to enter the cleartext password as a secret in order to tell the router to encrypt it with the requested algorithm. If you enter the line as I told you, the router will take the cleartext password and will only store the processed encrypted output.&lt;/P&gt;&lt;P&gt;Try it with a test user and look at the run afterwards, you will see...&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2015 20:47:45 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/migrating-password-types-from-type-4-to-type-8/m-p/2694140#M325061</guid>
      <dc:creator>Shawn Guertin</dc:creator>
      <dc:date>2015-07-08T20:47:45Z</dc:date>
    </item>
    <item>
      <title>This does not work.  It says</title>
      <link>https://community.cisco.com/t5/switching/migrating-password-types-from-type-4-to-type-8/m-p/2694141#M325062</link>
      <description>&lt;P&gt;This does not work.&amp;nbsp; It says that "ERROR: Can not have both a user password and a user secret.Please choose one or the other."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I forgot to mention to you:&amp;nbsp; I already know the password and username.&amp;nbsp; I do not want to change the password and username, I just want to change the algorithm type so it's not type 4 anymore.&amp;nbsp; I want to keep everything the same; just change it type 8 or 9, so it's more secure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2015 19:30:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/migrating-password-types-from-type-4-to-type-8/m-p/2694141#M325062</guid>
      <dc:creator>afsharki2</dc:creator>
      <dc:date>2015-07-13T19:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: I'm sorry, I forgot one word</title>
      <link>https://community.cisco.com/t5/switching/migrating-password-types-from-type-4-to-type-8/m-p/3808900#M460479</link>
      <description>&lt;P&gt;Thank you for the Tipp.&lt;/P&gt;
&lt;P&gt;How can I change the algoritm for the line passwords?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(config-line)#password ?&lt;BR /&gt;0 Specifies an UNENCRYPTED password will follow&lt;BR /&gt;7 Specifies a HIDDEN password will follow&lt;BR /&gt;&amp;lt;0-9&amp;gt; Encryption types not explicitly specified&lt;BR /&gt;LINE The UNENCRYPTED (cleartext) line password&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(config)#service password-encryption ?&lt;BR /&gt;&amp;lt;cr&amp;gt; &amp;lt;cr&amp;gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 10:33:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/migrating-password-types-from-type-4-to-type-8/m-p/3808900#M460479</guid>
      <dc:creator>Thomas Zenz</dc:creator>
      <dc:date>2019-02-25T10:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating password types - from type 4 to type 8</title>
      <link>https://community.cisco.com/t5/switching/migrating-password-types-from-type-4-to-type-8/m-p/4144505#M492207</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try to enter:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;username [&lt;EM&gt;NAME&lt;/EM&gt;]&amp;nbsp;privilege [0-15] algorithm-type [&lt;EM&gt;TYPE&lt;/EM&gt;]&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;U&gt;secret&lt;/U&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;[&lt;EM&gt;PASSWORD&lt;/EM&gt;]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get:&lt;/P&gt;&lt;P&gt;"ERROR: Can not have both a user password and a user secret.&lt;BR /&gt;Please choose one or the other."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ran:&lt;/P&gt;&lt;P&gt;"username [NAME] privilege 15 password [PASSWORD]"&lt;/P&gt;&lt;P&gt;Before I knew about this going away and got:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"%AAAA-4-CLI_DEPRECATED: WARNING: Command has been added to the configuration but Type 4 passwords have been deprecated. Migrate to a supported password type"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am guessing that I need to modify the command to leave out the username and/or the password portion. Can someone help me determine what I need to enter? Maybe just:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"algorithm-type scrypt"?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2020 14:44:30 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/migrating-password-types-from-type-4-to-type-8/m-p/4144505#M492207</guid>
      <dc:creator>Hershey1702</dc:creator>
      <dc:date>2020-09-01T14:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating password types - from type 4 to type 8</title>
      <link>https://community.cisco.com/t5/switching/migrating-password-types-from-type-4-to-type-8/m-p/4144562#M492216</link>
      <description>&lt;P&gt;This question came up in the original discussion but was not answered. I believe that the solution is to go into config mode, delete the existing user name line (that was created as type 4) and then to configure the user name over again specifying the more secure type of encryption.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2020 15:47:40 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/migrating-password-types-from-type-4-to-type-8/m-p/4144562#M492216</guid>
      <dc:creator>Richard Burts</dc:creator>
      <dc:date>2020-09-01T15:47:40Z</dc:date>
    </item>
  </channel>
</rss>

