SRX

last person joined: 4 days ago 

Ask questions and share experiences about the SRX Series, vSRX, and cSRX.
  • 1.  address entries in address set

    Posted 12-02-2014 16:44

    Is there a command to check the number of address entries in an address set as each address set only supports 1024 address so need to check the count.



  • 2.  RE: address entries in address set

    Posted 12-02-2014 19:21

    Hi ,

     

    Not sure if my suggestions will help.

     

    Following commands will show the details:

     

    root@Site-A> show configuration | display set | match address-set

    set security zones security-zone Trust address-book address-set Local-Set address Local-Network

    set security zones security-zone Trust address-book address-set Local-Set address Local-Network1

    set security zones security-zone Trust address-book address-set Local-Set address Local-Network2

     

    ++++++++++++++++++

     

    root@Site-A> show security policies policy-name test-policy detail

    Policy: test-policy, action-type: permit, State: enabled, Index: 6, Scope Policy: 0

    Policy Type: Configured

    Sequence number: 1

    From zone: Trust, To zone: Untrust

    Source addresses:

    Local-Network2: 192.168.112.0/24

    Local-Network1: 192.168.111.0/24

    Local-Network: 192.168.100.0/24

    Destination addresses:

    any-ipv4(global): 0.0.0.0/0

    any-ipv6(global): ::/0

    Application: any

    IP protocol: 0, ALG: 0, Inactivity timeout: 0

    Source port range: [0-0]

    Destination port range: [0-0]

    Per policy TCP Options: SYN check: No, SEQ check: No

     

    Regards,

    rparthi

     

    Please Mark My Solution Accepted if it Helped, Kudos are Appreciated Too

     



  • 3.  RE: address entries in address set

    Posted 12-03-2014 11:22

    Not exactly looking for something similar to  "show security policy hit-count " which shows policy usage but also the number of policies not in the order though but atleast something to make note of.



  • 4.  RE: address entries in address set
    Best Answer

     
    Posted 12-03-2014 23:21

    Something like this will show them to you

     

     show configuration security zones | display set | match <name-of-address-set> | count



  • 5.  RE: address entries in address set

    Posted 12-04-2014 12:59

    Thanks Mark this is exactly what i was looking for.



  • 6.  RE: address entries in address set

     
    Posted 12-04-2014 13:35

    No thanks! 🙂