<?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 policy-map global_policy settings incorrect / downgrade command in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/policy-map-global-policy-settings-incorrect-downgrade-command/m-p/3698474#M14453</link>
    <description>&lt;P&gt;LS,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;my goal is to setup an ASA5506 (without Firepower, etc) to a predefined configuration.&lt;/P&gt;
&lt;P&gt;For this I use a configuration file which should replace the startup-config.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To put the file on the system (including the firmware version 9.8.2) I use the following command:&lt;/P&gt;
&lt;P&gt;'downgrade /noconfirm disk0:/&amp;lt;firmware&amp;gt; ' disk0:/&amp;lt;config-file&amp;gt;'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This works however not all settings are correct. The &lt;STRONG&gt;policy-map settings are not correct after the downgrade&lt;/STRONG&gt; is done. Inspection for h323 h225 and skinny are enabled although they should not be.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;How can I fix this?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The config file contains the following settings:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;class-map inspection_default&lt;BR /&gt; match default-inspection-traffic&lt;/P&gt;
&lt;P&gt;policy-map type inspect dns preset_dns_map&lt;BR /&gt; parameters&lt;BR /&gt; message-length maximum 512&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;policy-map global_policy&lt;BR /&gt; class inspection_default&lt;BR /&gt; inspect ftp&lt;BR /&gt; &lt;STRONG&gt;no inspect h323 h225&lt;/STRONG&gt; &lt;BR /&gt; inspect h323 ras &lt;BR /&gt; inspect rsh &lt;BR /&gt; inspect rtsp &lt;BR /&gt; inspect esmtp &lt;BR /&gt; inspect sqlnet&lt;BR /&gt; &lt;STRONG&gt;no inspect skinny&lt;/STRONG&gt;&lt;BR /&gt; inspect sunrpc &lt;BR /&gt; inspect xdmcp &lt;BR /&gt; inspect sip &lt;BR /&gt; inspect netbios &lt;BR /&gt; inspect tftp &lt;BR /&gt; inspect dns preset_dns_map&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After the downgrade command the running-config&amp;nbsp;contains (inspection for enable for &lt;STRONG&gt;h323 h225 and skinny&lt;/STRONG&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;policy-map global_policy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;class inspection_default&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;inspect ftp&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;inspect h323 h225&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;inspect h323 ras&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;inspect rsh&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;inspect rtsp&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;inspect esmtp&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;inspect sqlnet&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;inspect skinny&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;inspect sunrpc&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;inspect xdmcp&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;inspect sip&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;inspect netbios&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;inspect tftp&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;inspect dns preset_dns_map&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You help is appreciated&lt;/P&gt;
&lt;P&gt;Tom&lt;/P&gt;</description>
    <pubDate>Fri, 21 Feb 2020 16:10:23 GMT</pubDate>
    <dc:creator>TomF</dc:creator>
    <dc:date>2020-02-21T16:10:23Z</dc:date>
    <item>
      <title>policy-map global_policy settings incorrect / downgrade command</title>
      <link>https://community.cisco.com/t5/network-security/policy-map-global-policy-settings-incorrect-downgrade-command/m-p/3698474#M14453</link>
      <description>&lt;P&gt;LS,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;my goal is to setup an ASA5506 (without Firepower, etc) to a predefined configuration.&lt;/P&gt;
&lt;P&gt;For this I use a configuration file which should replace the startup-config.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To put the file on the system (including the firmware version 9.8.2) I use the following command:&lt;/P&gt;
&lt;P&gt;'downgrade /noconfirm disk0:/&amp;lt;firmware&amp;gt; ' disk0:/&amp;lt;config-file&amp;gt;'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This works however not all settings are correct. The &lt;STRONG&gt;policy-map settings are not correct after the downgrade&lt;/STRONG&gt; is done. Inspection for h323 h225 and skinny are enabled although they should not be.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;How can I fix this?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The config file contains the following settings:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;class-map inspection_default&lt;BR /&gt; match default-inspection-traffic&lt;/P&gt;
&lt;P&gt;policy-map type inspect dns preset_dns_map&lt;BR /&gt; parameters&lt;BR /&gt; message-length maximum 512&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;policy-map global_policy&lt;BR /&gt; class inspection_default&lt;BR /&gt; inspect ftp&lt;BR /&gt; &lt;STRONG&gt;no inspect h323 h225&lt;/STRONG&gt; &lt;BR /&gt; inspect h323 ras &lt;BR /&gt; inspect rsh &lt;BR /&gt; inspect rtsp &lt;BR /&gt; inspect esmtp &lt;BR /&gt; inspect sqlnet&lt;BR /&gt; &lt;STRONG&gt;no inspect skinny&lt;/STRONG&gt;&lt;BR /&gt; inspect sunrpc &lt;BR /&gt; inspect xdmcp &lt;BR /&gt; inspect sip &lt;BR /&gt; inspect netbios &lt;BR /&gt; inspect tftp &lt;BR /&gt; inspect dns preset_dns_map&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After the downgrade command the running-config&amp;nbsp;contains (inspection for enable for &lt;STRONG&gt;h323 h225 and skinny&lt;/STRONG&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;policy-map global_policy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;class inspection_default&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;inspect ftp&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;inspect h323 h225&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;inspect h323 ras&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;inspect rsh&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;inspect rtsp&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;inspect esmtp&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;inspect sqlnet&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;inspect skinny&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;inspect sunrpc&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;inspect xdmcp&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;inspect sip&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;inspect netbios&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;inspect tftp&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;inspect dns preset_dns_map&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You help is appreciated&lt;/P&gt;
&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2020 16:10:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/policy-map-global-policy-settings-incorrect-downgrade-command/m-p/3698474#M14453</guid>
      <dc:creator>TomF</dc:creator>
      <dc:date>2020-02-21T16:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: policy-map global_policy settings incorrect / downgrade command</title>
      <link>https://community.cisco.com/t5/network-security/policy-map-global-policy-settings-incorrect-downgrade-command/m-p/3699125#M14454</link>
      <description>&lt;P&gt;Hi Tom,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a reason why we are using the downgrade command instead of the &lt;STRONG&gt;copy&lt;/STRONG&gt; command to replace the startup config with the saved config file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Was this config taken from the same box earlier or from some other box.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Either ways, you can change those configuration parameters manually after the downgrade:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;policy-map global_policy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;class inspection_default&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;no inspect h323 h225&lt;/STRONG&gt;&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;no inspect skinny&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;That should help you get back the same config parameters.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;HTH&lt;BR /&gt;AJ&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Sep 2018 08:43:04 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/policy-map-global-policy-settings-incorrect-downgrade-command/m-p/3699125#M14454</guid>
      <dc:creator>Ajay Saini</dc:creator>
      <dc:date>2018-09-01T08:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: policy-map global_policy settings incorrect / downgrade command</title>
      <link>https://community.cisco.com/t5/network-security/policy-map-global-policy-settings-incorrect-downgrade-command/m-p/3699353#M14456</link>
      <description>Thanks for the feedback. I need to automate the configuration of the ASA device as we deliver it as part of our product (so lots of devices to configure).&lt;BR /&gt;I don’t want to do the manual change afterwards to error prone.&lt;BR /&gt;&lt;BR /&gt;I had hoped that somebody has seen this before and knows if this is a “feature” or a “bug”. I prefer to change the config file instead of the tooling we use.&lt;BR /&gt;&lt;BR /&gt;I can try to change the tooling we use and use copy to replace the startup-config.&lt;BR /&gt;</description>
      <pubDate>Sun, 02 Sep 2018 12:43:07 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/policy-map-global-policy-settings-incorrect-downgrade-command/m-p/3699353#M14456</guid>
      <dc:creator>TomF</dc:creator>
      <dc:date>2018-09-02T12:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: policy-map global_policy settings incorrect / downgrade command</title>
      <link>https://community.cisco.com/t5/network-security/policy-map-global-policy-settings-incorrect-downgrade-command/m-p/3699841#M14459</link>
      <description>&lt;P&gt;Hi, I invested some more on the problem and this is what I found.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If one makes a copy of the startup-config then the system puts it some annotations in the file (see below).&lt;/P&gt;
&lt;P&gt;It turns out that these are essential to get the exact same configuration.&lt;/P&gt;
&lt;P&gt;I also tried to copy&amp;nbsp;my config file to the startup-config. Also that gave problems e.g. access-list command changed from "any" to "any4".&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The following procedure seems to work&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Reset the device
&lt;UL&gt;
&lt;LI&gt;Go to configuration mode and execute the following commands
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;no firewall transparent&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;write erase&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;reload noconfirm&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Install the new configuration on the device (e.g. copy-paste into the terminal emulator)&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Make sure that the configuration has been written to the startup-config and reboot&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Copy the startup-config to another file e.g.
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;copy startup-config my_config.cfg&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;The my_config file can be used with the upgrade command.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;: Saved&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;: Serial Number: Jxxxxxx&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;: Hardware: ASA5506, 4096 MB RAM, CPU Atom C2000 series 1250 MHz, 1 CPU (4 cores)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ASA Version 9.8(2)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;......&lt;/P&gt;
&lt;P&gt;&amp;lt; config command&amp;gt;&lt;/P&gt;
&lt;P&gt;......&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;:End&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Sep 2018 15:46:19 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/policy-map-global-policy-settings-incorrect-downgrade-command/m-p/3699841#M14459</guid>
      <dc:creator>TomF</dc:creator>
      <dc:date>2018-09-03T15:46:19Z</dc:date>
    </item>
  </channel>
</rss>

