Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
DimaSpector
Explorer

show simple-gateway filter

I am running R81.10, trying to do
show simple-gateways

and filter specific uid

the documentation not providing any syntax explanation regard the filter, and everthing I tried not providing the required result

I all the following and more :

show simple-gateways filter { "uid" = f4899237-95a5-4000-bfb2-1356963b0e26 }
show simple-gateways filter { uid f4899237-95a5-4000-bfb2-1356963b0e26 }
show simple-gateways filter { uid = f4899237-95a5-4000-bfb2-1356963b0e26 }
show simple-gateways filter {uid="f4899237-95a5-4000-bfb2-1356963b0e26"}
show simple-gateways filter {uid "f4899237-95a5-4000-bfb2-1356963b0e26"}

show simple-gateways filter { "uid" = f4899237-95a5-4000-bfb2-1356963b0e26 }
show simple-gateways filter { "uid" = "f4899237-95a5-4000-bfb2-1356963b0e26" } 

show simple-gateways filter "uid = f4899237-95a5-4000-bfb2-1356963b0e26"
show simple-gateways filter "uid=f4899237-95a5-4000-bfb2-1356963b0e26"
show simple-gateways filter "f4899237-95a5-4000-bfb2-1356963b0e26"
show simple-gateways filter "uid.f4899237-95a5-4000-bfb2-1356963b0e26"

show simple-gateways uid "f4899237-95a5-4000-bfb2-1356963b0e26"

show simple-gateways filter {"uid: f4899237-95a5-4000-bfb2-1356963b0e26"}

show simple-gateways filter {"uid f4899237-95a5-4000-bfb2-1356963b0e26"}

show simple-gateways filter "uid: "f4899237-95a5-4000-bfb2-1356963b0e26""

show simple-gateways filter {"uid f4899237-95a5-4000-bfb2-1356963b0e26"}

 

please help

0 Kudos
2 Replies
PhoneBoy
Admin
Admin

I don't think "filter" searches the uid field.
And if you have the UID, why not use show simple-gateway?https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/show-simple-gateway~v1.9%20

 

Tal_Paz-Fridman
Employee
Employee

I would go with what PhoneBoy wrote, but you can always use grep to filter out the relevant entries with -A flag to so number of lines. For example:

mgmt_cli -r true show simple-gateways details-level full | grep -A 3 <UID>

mgmt_cli -r true show simple-gateways details-level full | grep -A 3 <name>

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events