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

export rulebase layer as HTML (bash script)


Gets a layer-name as an argument and prints the layer as an HTML table.


Run the script on a management server. Pass the layer name as an argument to this script.

The code assumes that you're running the script as the root user so it uses "mgmt_cli login --root true" which does not ask for login credentials.

Code Version

Code version 0.0.3

Tested on version

R80, API version 1.0

NOTICE: By using this sample code you agree to terms and conditions in this Terms and Conditions


2 Replies
Not applicable

1:How to use this script in MDM environment?

2:what mean “layer-name”? If  I want export policy how I to do it?

0 Kudos

Very nice.

Check out SmartConsole Extensions  to integrate this script as a tool inside SmartConsole.


Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events