Export Firewall Rules by Running CLI CommandsLast Updated January 31, 2025
You can export the firewall rules in
VMware Aria
Operations for Networks
to a CSV file.- Log in to theVMware Aria Operations for NetworksPlatform CLI as aSupportuser.Provide your CLI login credentials using the SSH client.
- Switch to aUbuntuuser.
- Invoke the RDB tool.
- Export the firewall rules inVMware Aria Operations for Networksto a CSV file using therun_fw_rule_export -pcommand.For example, run the following command to export all firewall rules to a file namedfirewallRules_rdb.csvfile in thetmpdirectory:
- Navigate to the directory in which you have saved the CSV file.
- Change the owner and group of the CSV file tosupport.For example, run the following command to change the owner and group of thefirewallRules_rdb.csvfile tosupport:
- Copy the CSV file to your local machine.For example, you can run thescpcommand to copy the CSV file to a mac machine.
- Open the CSV file on your local machine.An example CSV file with the firewall rules: