<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Cisco on Zero Signal</title><link>https://zerosignal.info/tags/cisco/</link><description>Recent content in Cisco on Zero Signal</description><generator>Hugo</generator><language>en-us</language><copyright>© Drank0</copyright><lastBuildDate>Sun, 22 Nov 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://zerosignal.info/tags/cisco/index.xml" rel="self" type="application/rss+xml"/><item><title>Cisco Key &amp; Secret Encryption</title><link>https://zerosignal.info/posts/cisco-encryption/</link><pubDate>Sun, 22 Nov 2026 00:00:00 +0000</pubDate><guid>https://zerosignal.info/posts/cisco-encryption/</guid><description>&lt;h2 id="encryption-types"&gt;Encryption types&lt;/h2&gt;
&lt;p&gt;Cisco provides two ways of securing secrets inside a Catalyst switch&amp;rsquo;s running configuration so that they aren&amp;rsquo;t visible in plaintext:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;service password-encryption&lt;/code&gt;: &lt;em&gt;When enabled globally, every cleartext key/password configured in the running or startup configuration is obfuscated using an old, weak Cisco &amp;ldquo;encryption&amp;rdquo; method, &amp;lsquo;Type 7&amp;rsquo;, which in reality is more about obfuscating than encrypting.&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;password encryption aes&lt;/code&gt;: &lt;em&gt;When this is enabled globally and a master key is configured, existing and new cleartext passwords (0 or WORD) are converted into &amp;lsquo;Type 6&amp;rsquo; AES-128-based ciphertext, which cannot be reversed as easily as &amp;lsquo;Type 7&amp;rsquo;.&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;C9300LM(config)# key config-key password-encrypt ?
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; LINE The config-key, minimum 8 characters not beginning with IOS special
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; character(! # ;)
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;C9300LM(config)# password encryption aes
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;With Type 6 encryption, the switch uses the master key you define to encrypt and decrypt the passwords in your configuration using AES-128.&lt;br&gt;
The AES-128 encryption operates in Cipher Block Chaining (CBC) mode with PKCS#5 padding, and it is symmetric-key encryption.&lt;/p&gt;</description></item></channel></rss>