SRX

Expand all | Collapse all

Total number of Security policies

  • 1.  Total number of Security policies

     
    Posted 07-02-2018 04:57

    Hi all,

    Is there Junos command to get the number of security polices on the high end SRX device? Or how can be determined about how many security policies there are on the SRX?

     

    Thanks

    Erix



  • 2.  RE: Total number of Security policies

     
    Posted 07-02-2018 15:54

    I'm not aware of any built in feature to do this but this command will give the number of polcies configured.

     

    show configuration security policies | match policy | count

     



  • 3.  RE: Total number of Security policies

    Posted 07-02-2018 18:33

    Hi,

    You may use the hidden command "show security policies information" to get the policy utilization counters like number of current policies and Maximum limit etc...

     

    root@srx> show security policies information
      Policy utilization counters:
        Number of policies                                                :            0 / 80000      
            Number of global policies                                  :            0
            Number of policies with scheduler                    :            0
            Number of policies with statistics enabled        :            0 / 1024       
        Number of policy contexts                                    :            0 / 8192       
        Number of Policies per context                             :            0 / 80000      
        Number of Source addresses per policy                :            0 / 4096       
        Number of Destination addresses per policy        :            0 / 4096       
        Number of Applications per policy                        :            0 / 3072       
        Number of Source identities per policy                 :            0 / 128

     

    <snip>

     



  • 4.  RE: Total number of Security policies

     
    Posted 07-02-2018 21:55

    Hi,

    Both are worked.

     

    Many thanks...

    Erx



  • 5.  RE: Total number of Security policies

    Posted 07-11-2018 22:06

    "show security policy zone-context"

    give you the count per zone-pair which IMHO is more important than the absolute number

     

    regards

     

    alexander