Using the zonecfg Command

The zonecfg info command is used to display a zone's properties and resources. Use the following syntax:

global$ zonecfg -z zonename info [property]|[-a]

Without the ‐a option, the command displays selected configured properties of the zone if you do not specify a specific property.

global$ zonecfg -z zoneA info
zonename: zoneA
brand: solaris
autoboot: true
net:
    physical=net1
anet:
    linkname: net0
    configure-allowed-address: true
    auto-mac-address: MACaddress
global$ 

If you add the ‐a option, then all the configurable properties of the zone are displayed, including those that have not been set.

global$ zonecfg -z zoneA info -a
zonename: zoneA
zonepath: /export/zones/zoneA
brand: solaris
autoboot: true
autoshutdown: shutdown
bootargs:
file-mac-profile:
pool:
limitpriv:
scheduling-class:
ip-type: exclusive
hostid:
hwprovider:
fs-allowed:
net:
    address:
    allowed-address:
    configure-allowed-address:
    physical=net1
    defrouter
anet:
        linkname: net0
        lower-link: auto
        allowed-address:
        configure-allowed-address: true
        defrouter:
        allowed-dhcp-cids:
        link-protection: mac-nospoof
        mac-address: auto
        auto-mac-address: MACaddress
        mac-prefix:
...
global$

You can display the same property information about a zone while in interactive configuration:

global$ zonecfg -z zoneA
zonecfg:zoneA> info [property]
                     selected configured properties

zonecfg:zoneA> info -a
                     all configurable properties
zonecfg:zoneA>