Description | This article describes how to retrieve all IP addresses associated with an address group in the CLI. |
Scope | All FortiOS versions. |
Solution |
When there are many address objects in an address group, it can be difficult to get the full list of IP addresses of all member address objects from the GUI.
The iprope table contains the various policies/objects that FortiOS checks when assessing how traffic should be handled. The iprope entry for a firewall policy will list all IPs of Subnet-based address objects, IP Range-based address objects, as well as any IPs resolved for FQDN-based address objects that are referenced in the firewall policy.
For example, consider the following configuration:
config firewall address edit "VPN_IP_Range" set type iprange set start-ip 172.29.0.1 set end-ip 172.29.0.2 next edit "support.fortinet.com FQDN" set type fqdn set fqdn "support.fortinet.com" next edit "10.0.0.0/8" set subnet 10.0.0.0 255.0.0.0 next end config firewall addrgrp edit "Address_Group" set member "VPN_IP_Range" "support.fortinet.com FQDN" "10.0.0.0/8" next end
policy index=5555 uuid_idx=685 action=accept flag (8010000): master pol_stats flag2 (4000): resolve_sso flag3 (a0): link-local best-route schedule(always) cos_fwd=255 cos_rev=255 group=00100004 av=00000000 au=00000000 split=00000000 host=0 chk_client_info=0x0 app_list=0 ips_view=0 misc=0 zone(1): 31 -> zone(1): 31 source(2): 10.0.0.0-10.255.255.255, uuid_idx=684, 172.29.0.1-172.29.0.2, uuid_idx=684, dest(1): 0.0.0.0-255.255.255.255, uuid_idx=538, source fqdn address (1): uuid_idx=684 support.fortinet.com ID(227) ADDR(63.137.229.1)
service(1): [0:0x0:0/(0,65535)->(0,65535)] flags:0 helper:auto
|
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.