How to Preview the Effect of a Live Zone Configuration

Perform this procedure to review the live zone configuration changes that would be made, before you make a final commitment of those changes.

  1. On the global zone, become an administrator.
  2. Start the zonecfg utility in live mode and configure the desired zone changes.
    global$ pfbash zonecfg -z zonename -r
    zonecfg:zonename> Make zone configuration changes
  3. View the actions that would be performed by the reconfiguration.

    The ‐n option prevents actual commitment of the zone changes.

    zonecfg:zonename> commit -n

Next Steps

To make the previewed changes to the live zone configuration, issue the zonecfg commit command without using the ‐n option.