You can export the firewall rules in vRealize Network Insight to a CSV file.
Procedure
- Log in to the vRealize Network Insight Platform CLI as a Support user.
Provide your CLI login credentials using the SSH client.
- Switch to a Ubuntu user.
ub
- Invoke the RDB tool.
rdb
- Export the firewall rules in vRealize Network Insight to a CSV file using the
run_fw_rule_export -p
command.run_fw_rule_export -p <new csv file with directory path>
For example, run the following command to export all firewall rules to a file named
firewallRules_rdb.csv
file in thetmp
directory:run_fw_rule_export -p /tmp/firewallRules_rdb.csv
- Navigate to the directory in which you have saved the CSV file.
cd /<directory path>
- Change the owner and group of the CSV file to
support
.sudo chown support:support <file name>
For example, run the following command to change the owner and group of the
firewallRules_rdb.csv
file tosupport
:sudo chown support:support ./firewallRules_rdb.csv
- Copy the CSV file to your local machine.
For example, you can run the
scp
command to copy the CSV file to a mac machine.scp [email protected]:/tmp/firewallRules_rdb.csv ./
- Open the CSV file on your local machine.
An example CSV file with the firewall rules: