How to Inspect the Live Configuration of a Running Zone

Perform this procedure to view and export the configuration of a running zone.

  1. On the global zone, become an administrator.
  2. Display information about the live zone configuration.
    global$ pfbash zonecfg -z zonename -r info
  3. (Optional) Export the live configuration.
    global$ zonecfg -z zonename -r export -f exported.cfg