does anyone know how to convert rule UID to rule number?
firewall rule UID
what's the rule number?
I found a workaround. from R80.x dashboard, 'Actions\Go To Rule'. enter the rule UID would take me to that rule.
As far as I know, none of the API calls return the actual rule number.
The best you can get is the rule name using, say, show-object.
[Expert@MGMT:0]# mgmt_cli -r true show-object uid cdc6ad83-9b58-47f7-b4aa-39aaa059c662
name: "Cleanup rule"
name: "SMC User"
It's a bit long-winded process as you need to dump the whole rulebase with "show access-rulebase" API command
There you can correlate UID vs rule #
Retrieving data ...