Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Soeren_Rothe
Collaborator

mgmt_cli - show FW Object Name when providing only the FW IP Address

If someone needs to find the FW Object Name with only the FW IP Address (ex. 192.168.0.1), you can use the following STRING.

 

mgmt_cli show objects details-level full type simple-gateway filter "192.168.0.1"  --format json -s id.txt | jq -r '.objects[] | select(.type) | ."name"'

 

0 Replies