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 kernel zone host, become an administrator.
  2. Display information about the live zone configuration.
    global$ pfbash zonecfg -z kzone -r info
                   
  3. Export the live configuration.
    global$ zonecfg -z kzone -r export -f exported.cfg