Login to Firewall as an administrator. You will land into the admin context. You need to go back to the system context to make changes.
conf t changeto system ! !
Now you are in system context, you need to delete the context as following:
! no context mycontext-100 delete disk:/mycontext-100.cfg !
Then recover/delete the assigned sub-interfaces which were assigned to the context which you deleted in the step above: ! no interface TenGigabitEthernet0/9.3201 no interface TenGigabitEthernet0/9.3202 !
Now re-assign/create the sub-interfaces with new VLAN numbers: ! interface TenGigabitEthernet0/9.1201 vlan 1201 ! interface TenGigabitEthernet0/9.1202 vlan 1202 !
Now create new context and assign the sub-interfaces into the new context:
! context mynewcontext-200 allocate-interface interface Management0/0 allocate-interface interface TenGigabitEthernet0/9.1201 allocate-interface interface TenGigabitEthernet0/9.1202 config-url disk0:/mynewcontext-200.cfg !
Now getinto the context and apply required configuration etc. ! changeto context mynewcontext-200 enable password Cisco123 encrypted ! interface TenGigabitEthernet0/9.1201 nameif outside security-level 0 ip address 18.104.22.168. 255.255.255.240 standby 22.214.171.124 ! interface TenGigabitEthernet0/9.1202 nameif inside security-level 100 ip address 10.1.1.1 255.255.255.248 standby 10.1.1.2 !