Hello Fortinet Folks!
Is there a CLI Command that shows how many address objects are currently a member of an existing address group?
I know I can view this from the GUI, but I'm just looking for a faster way of verifying if I've already reached my maximum address object members on a given address group, so I can either use a different group or create a new one.
TIA!
Hello
show firewall addrgrp <AddrGrpName>
This command will show you the members of your address group, but you still need to count them.
Thanks for the reply. I know about that command, but is there a command that can show the number of members (just the count) just like what's highlighted on the attached from the GUI.
I don't know such feature in CLI, but I'd do it in a very simple way, by copying the output of the command and past it in notepad or other, and the editor will show the number of the last line.
User | Count |
---|---|
1922 | |
1144 | |
769 | |
447 | |
277 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.