Skip to main content
JCPL
Staff & Editor
Staff & Editor
December 20, 2024

Technical Tip: Using 'grep' to search for IPs within an ISDB object

  • December 20, 2024
  • 0 replies
  • 905 views
Description

This article provides a guide on searching for a group of IPs within an ISDB object.

Scope FortiGate.
Solution

To find the ID of the desired category, refer to this article.

 

This example uses the ID of Apple-web. The command diagnose internet-service id 196609 displays all IP addresses associated with the Apple-web object.

 

Picture1.png

 

To locate a specific group of IP addresses within an ISDB object, use the grep command without specifying the last byte of the IP address, as illustrated in the image below.

 

diagnose internet-service id 6422646 | grep 1.37.66

 

Picture2.png