<?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 Re: Rename ASA Security Context in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/rename-asa-security-context/m-p/3862853#M6111</link>
    <description>&lt;P&gt;I just tested on ASA box the config you mentioned.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;no context OLD-CONTEXT&lt;/EM&gt;&amp;nbsp; this will delete the context&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;context NEW-CONTEXT&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;allocate-interface GigabitEthernet0/0 &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;allocate-interface GigabitEthernet0/1.1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;config-url disk0:/OLD-CONTEXT.cfg&amp;nbsp;&amp;nbsp; give this command will reterive the config from the flash means what ever was in old context will use in new context.&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;==========================&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;prior to this i created the context name OLD-CONTEXT in ASA&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;!&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;context OLD-CONTEXT&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;allocate-interface eth1&lt;BR /&gt;allocate-interface eth0&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;CONfig-url disk0:OLD-CONTEXT.cfg&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;!&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;show context&lt;BR /&gt;Context Name Class Interfaces Mode URL&lt;BR /&gt;*admin default Routed disk0:/admin.cfg&lt;BR /&gt;OLD-CONTEXT default Ethernet0,Ethernet1 Routed disk0:/OLD-CONTEXT.cfg&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;!&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;creating the new context&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;no context OLD-CONTEXT&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;context NEW-CONTEXT&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;allocate-interface eth0&lt;BR /&gt;allocate-interface eth1&lt;/P&gt;&lt;P&gt;config-url disk0:/OLD-CONTEXT.cfg&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;changeto context NEW-CONTEXT&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;!&lt;BR /&gt;&lt;STRONG&gt;hostname OLD-CONTEXT (As the config are read from the flash they will show up as old hostname, you can change the old hostname to newhost name.)&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;&lt;EM&gt;interface Ethernet0&lt;BR /&gt;nameif outside&lt;BR /&gt;security-level 0&lt;BR /&gt;ip address 192.168.1.1 255.255.255.0&lt;BR /&gt;!&lt;BR /&gt;interface Ethernet1&lt;BR /&gt;nameif inside&lt;BR /&gt;security-level 100&lt;BR /&gt;ip address 172.16.1.1 255.255.255.0&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 25 May 2019 19:52:09 GMT</pubDate>
    <dc:creator>Sheraz.Salim</dc:creator>
    <dc:date>2019-05-25T19:52:09Z</dc:date>
    <item>
      <title>Rename ASA Security Context</title>
      <link>https://community.cisco.com/t5/network-security/rename-asa-security-context/m-p/3862794#M6110</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;i would need to re-name an existing ASA context since there's no "edit" feature.&lt;/P&gt;&lt;P&gt;can someone confirm i just do a "no" on the old context name and point the "new" context to the same config url?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;changeto system&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;no context OLD-CONTEXT&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;context NEW-CONTEXT&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;allocate-interface GigabitEthernet0/0 &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;allocate-interface GigabitEthernet0/1.1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;config-url disk0:/OLD-CONTEXT.cfg&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2020 17:10:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/rename-asa-security-context/m-p/3862794#M6110</guid>
      <dc:creator>johnlloyd_13</dc:creator>
      <dc:date>2020-02-21T17:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: Rename ASA Security Context</title>
      <link>https://community.cisco.com/t5/network-security/rename-asa-security-context/m-p/3862853#M6111</link>
      <description>&lt;P&gt;I just tested on ASA box the config you mentioned.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;no context OLD-CONTEXT&lt;/EM&gt;&amp;nbsp; this will delete the context&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;context NEW-CONTEXT&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;allocate-interface GigabitEthernet0/0 &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;allocate-interface GigabitEthernet0/1.1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;config-url disk0:/OLD-CONTEXT.cfg&amp;nbsp;&amp;nbsp; give this command will reterive the config from the flash means what ever was in old context will use in new context.&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;==========================&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;prior to this i created the context name OLD-CONTEXT in ASA&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;!&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;context OLD-CONTEXT&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;allocate-interface eth1&lt;BR /&gt;allocate-interface eth0&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;CONfig-url disk0:OLD-CONTEXT.cfg&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;!&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;show context&lt;BR /&gt;Context Name Class Interfaces Mode URL&lt;BR /&gt;*admin default Routed disk0:/admin.cfg&lt;BR /&gt;OLD-CONTEXT default Ethernet0,Ethernet1 Routed disk0:/OLD-CONTEXT.cfg&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;!&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;creating the new context&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;no context OLD-CONTEXT&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;context NEW-CONTEXT&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;allocate-interface eth0&lt;BR /&gt;allocate-interface eth1&lt;/P&gt;&lt;P&gt;config-url disk0:/OLD-CONTEXT.cfg&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;changeto context NEW-CONTEXT&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;!&lt;BR /&gt;&lt;STRONG&gt;hostname OLD-CONTEXT (As the config are read from the flash they will show up as old hostname, you can change the old hostname to newhost name.)&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;&lt;EM&gt;interface Ethernet0&lt;BR /&gt;nameif outside&lt;BR /&gt;security-level 0&lt;BR /&gt;ip address 192.168.1.1 255.255.255.0&lt;BR /&gt;!&lt;BR /&gt;interface Ethernet1&lt;BR /&gt;nameif inside&lt;BR /&gt;security-level 100&lt;BR /&gt;ip address 172.16.1.1 255.255.255.0&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 25 May 2019 19:52:09 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/rename-asa-security-context/m-p/3862853#M6111</guid>
      <dc:creator>Sheraz.Salim</dc:creator>
      <dc:date>2019-05-25T19:52:09Z</dc:date>
    </item>
  </channel>
</rss>

