Fortinet white logo
Fortinet white logo

CLI Reference

diagnose internet-service

diagnose internet-service

Use these commands to retrieve information from the Internet Service Database:

diagnose internet-service id <Internet_service_ID>   Display the Internet service ID.
diagnose internet-service id-summary <Internet_service_ID>   Display the Internet service ID summary.
diagnose internet-service info <VDOM_name> <service_protocol> <service_port> <service_IP_address>  Display the VD and 3T information, include vdname, protocol, port and IP address. The range for the service protocol is 0-255. The range for the service port is 0-65535.
diagnose internet-service match <VDOM_name> <IP_address> <netmask>   Find all matched Internet services for a specific IP address and netmask.

Example output

This is sample output of the diagnose internet-service id command:

# diagnose internet-service id-summary 100

Version: 00004.00459

Timestamp: 201810291046

Number of Internet Service entries: 3329

No such appid 100

This is sample output of the diagnose internet-service match command:

# diagnose internet-service match new 10.10.10.1 225.225.225.0

Internet Service: 65536(Google-Others), matched num: 4

Internet Service: 65537(Google-Web), matched num: 11530

Internet Service: 65539(Google-DNS), matched num: 112

Internet Service: 65542(Google-SSH), matched num: 2

Internet Service: 65543(Google-FTP(S)), matched num: 2

...

diagnose internet-service

diagnose internet-service

Use these commands to retrieve information from the Internet Service Database:

diagnose internet-service id <Internet_service_ID>   Display the Internet service ID.
diagnose internet-service id-summary <Internet_service_ID>   Display the Internet service ID summary.
diagnose internet-service info <VDOM_name> <service_protocol> <service_port> <service_IP_address>  Display the VD and 3T information, include vdname, protocol, port and IP address. The range for the service protocol is 0-255. The range for the service port is 0-65535.
diagnose internet-service match <VDOM_name> <IP_address> <netmask>   Find all matched Internet services for a specific IP address and netmask.

Example output

This is sample output of the diagnose internet-service id command:

# diagnose internet-service id-summary 100

Version: 00004.00459

Timestamp: 201810291046

Number of Internet Service entries: 3329

No such appid 100

This is sample output of the diagnose internet-service match command:

# diagnose internet-service match new 10.10.10.1 225.225.225.0

Internet Service: 65536(Google-Others), matched num: 4

Internet Service: 65537(Google-Web), matched num: 11530

Internet Service: 65539(Google-DNS), matched num: 112

Internet Service: 65542(Google-SSH), matched num: 2

Internet Service: 65543(Google-FTP(S)), matched num: 2

...