<?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 Multi-context configuration change in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/multi-context-configuration-change/m-p/3869045#M28216</link>
    <description>&lt;P&gt;I have a multi-context ASA with the following configuration:&lt;/P&gt;&lt;P&gt;int g0/0&lt;BR /&gt;&amp;nbsp;channel-group 10&lt;/P&gt;&lt;P&gt;int g0/1&lt;/P&gt;&lt;P&gt;&amp;nbsp;channel-group 10&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;int po10.106&lt;/P&gt;&lt;P&gt;&amp;nbsp;desc CONTEXT1 - outside&lt;/P&gt;&lt;P&gt;&amp;nbsp;vlan 106&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;int po10.107&lt;/P&gt;&lt;P&gt;&amp;nbsp;desc CONTEXT1 - outside&lt;/P&gt;&lt;P&gt;&amp;nbsp;vlan 107&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;context CONTEXT1&lt;/P&gt;&lt;P&gt;&amp;nbsp;allocate-interface Port-channel10.106 int1 visible&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;context CONTEXT2&lt;/P&gt;&lt;P&gt;&amp;nbsp;allocate-interface Port-channel10.107 int1 visible&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am wanting to change the connection on my ASAs and use G0/2 and G0/3 in addition to G0/0 and G0/1.&amp;nbsp; I will put G0/2 and G0/3 into Po11 and create the sub-interfaces.&amp;nbsp; My question is within the context can I simply put in the following commands to change the allocated interfaces without impacting or losing parts of the context configuration that references those int1 interfaces.&amp;nbsp; Here is what I want to change them to:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;context CONTEXT1&lt;/P&gt;&lt;P&gt;&amp;nbsp;allocate-interface Port-channel11.106 int1 visible&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;context CONTEXT2&lt;/P&gt;&lt;P&gt;&amp;nbsp;allocate-interface Port-channel11.107 int1 visible&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Will that work or do I have to put in&amp;nbsp;&lt;STRONG&gt;NO&amp;nbsp;allocate-interface Port-channel10.106 int1 visible&amp;nbsp;&lt;/STRONG&gt;first and it I put in the NO command do I lose any other configuration within the context that references the int1 interface.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Jun 2019 17:02:30 GMT</pubDate>
    <dc:creator>Todd S</dc:creator>
    <dc:date>2019-06-06T17:02:30Z</dc:date>
    <item>
      <title>Multi-context configuration change</title>
      <link>https://community.cisco.com/t5/network-security/multi-context-configuration-change/m-p/3869045#M28216</link>
      <description>&lt;P&gt;I have a multi-context ASA with the following configuration:&lt;/P&gt;&lt;P&gt;int g0/0&lt;BR /&gt;&amp;nbsp;channel-group 10&lt;/P&gt;&lt;P&gt;int g0/1&lt;/P&gt;&lt;P&gt;&amp;nbsp;channel-group 10&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;int po10.106&lt;/P&gt;&lt;P&gt;&amp;nbsp;desc CONTEXT1 - outside&lt;/P&gt;&lt;P&gt;&amp;nbsp;vlan 106&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;int po10.107&lt;/P&gt;&lt;P&gt;&amp;nbsp;desc CONTEXT1 - outside&lt;/P&gt;&lt;P&gt;&amp;nbsp;vlan 107&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;context CONTEXT1&lt;/P&gt;&lt;P&gt;&amp;nbsp;allocate-interface Port-channel10.106 int1 visible&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;context CONTEXT2&lt;/P&gt;&lt;P&gt;&amp;nbsp;allocate-interface Port-channel10.107 int1 visible&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am wanting to change the connection on my ASAs and use G0/2 and G0/3 in addition to G0/0 and G0/1.&amp;nbsp; I will put G0/2 and G0/3 into Po11 and create the sub-interfaces.&amp;nbsp; My question is within the context can I simply put in the following commands to change the allocated interfaces without impacting or losing parts of the context configuration that references those int1 interfaces.&amp;nbsp; Here is what I want to change them to:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;context CONTEXT1&lt;/P&gt;&lt;P&gt;&amp;nbsp;allocate-interface Port-channel11.106 int1 visible&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;context CONTEXT2&lt;/P&gt;&lt;P&gt;&amp;nbsp;allocate-interface Port-channel11.107 int1 visible&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Will that work or do I have to put in&amp;nbsp;&lt;STRONG&gt;NO&amp;nbsp;allocate-interface Port-channel10.106 int1 visible&amp;nbsp;&lt;/STRONG&gt;first and it I put in the NO command do I lose any other configuration within the context that references the int1 interface.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 17:02:30 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/multi-context-configuration-change/m-p/3869045#M28216</guid>
      <dc:creator>Todd S</dc:creator>
      <dc:date>2019-06-06T17:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-context configuration change</title>
      <link>https://community.cisco.com/t5/network-security/multi-context-configuration-change/m-p/3869368#M28217</link>
      <description>&lt;P&gt;I never tried this configuration work. however, worked many time and did configuration on the context ASA.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if you do remove the command. for example,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Context Alpha&lt;/P&gt;&lt;P&gt;&amp;nbsp;allocate-interface gig0/0&lt;/P&gt;&lt;P&gt;&amp;nbsp;allocate-interface gig0/1&lt;/P&gt;&lt;P&gt;&amp;nbsp;no allocate-interface gig0/0&lt;/P&gt;&lt;P&gt;&amp;nbsp;config-url disk0:/Alpha.cfg&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so lets walk though on the above config. The cfg configuration is kept in asa flash. in case if you give command no allocate-interface gig0/0 in that case your nat/interface configuration in the context will be gone. (I assume so, I never tested this). for the allocate-interface gig0/1 you have to do the nat/interface configuration in the context.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;also make sure you do issue the command config-url disk0:/Alpha.cfg.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also take away is make sure you have a configuration of the firewall of the each context in case if you have to revert back. get the change window in place. than do it.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2019 10:08:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/multi-context-configuration-change/m-p/3869368#M28217</guid>
      <dc:creator>Sheraz.Salim</dc:creator>
      <dc:date>2019-06-07T10:08:20Z</dc:date>
    </item>
  </channel>
</rss>

