export rulebase layer as HTML (bash script)

Document created by Uri Bialik Expert on Dec 23, 2015Last modified by Uri Bialik Expert on Apr 10, 2016
Version 5Show Document
  • View in full screen mode

Description

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

 

Instructions

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

...

5 people found this helpful

Attachments

Outcomes