Skip to main content
JCPL
Staff & Editor
Staff & Editor
Dec 20, 2024 4:46 PM UTC

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

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

 

    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024