10 Replies Latest reply on Sep 27, 2018 3:59 PM by aaswi

    ASA With mutlible context

      The Cisco ASA has a feature called a Context, or a virtual Firewall.  As a part of this feature there is a context called the admin context, from this context you can control all other contexts.  So with Expect I would write a script with following commands to backup the config.  I there a way to create  custom backup script for this ASA?

       

      conf t

      pager 0

      sh Run

      pager 30

      changeto context DMZ

      conf t

      pager 0

      sh run

      pager 30

      changeto system

      conf t

      pager 0

      sh Run

      pager 30

       

       

      So I would like to run this series of commands each time the backup is run for this asa and stroes in the same place as the config file.