Automation

last person joined: yesterday 

Ask questions and share experiences about Apstra, Paragon, and all things network automation.
  • 1.  LIst firewall filters

    Posted 07-06-2016 19:49

    I want a script that lists the destination addresses for firewall filters. Which command can be used to get the filter information?



  • 2.  RE: LIst firewall filters

    Posted 07-06-2016 19:51

    Sorry...equivalent cli command (in edit):

     

    show firewall family inet


  • 3.  RE: LIst firewall filters
    Best Answer

    Posted 07-07-2016 06:05

    This works for me:

     

            var $get-filter = <get-configuration database = "committed"> {
                <configuration> {
                    <firewall> {
                        <family> {
                            <inet>;
                        }
                    }
                }
            }
            var $config = jcs:invoke($get-filter);

    :