- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
CLI Command to Show how many Objects in Existing Address Group
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!
- Labels:
-
FortiGate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
show firewall addrgrp <AddrGrpName>
This command will show you the members of your address group, but you still need to count them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
