How to get Global Zone name/ip from Local Zone

# hostname
zone1  <<<<< Local Zone
# ifconfig -a
lo0:1: flags=2001000849 mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
e1000g0:1: flags=1000843 mtu 1500 index 2
        inet 192.168.1.5 netmask ffffff00 broadcast 192.168.1.255
# arp -a | grep SP
e1000g0 zone1                255.255.255.255 SPLA     00:0c:29:cc:78:c5
e1000g0 10.80.108.75     255.255.255.255 SPLA     00:0c:29:cc:78:c5
#


10.80.108.75 is my Global Zone IP.

Zone : Zone console login

Connecting to zone console  from global zone, use the following command as root or the equivalent:
# zlogin -C testzone

The -C option specifies a console login. The console login will persist when the zone is rebooted.
To exit zlogin, use the escape sequence ~. . If this escape character is inappropriate (i.e. you are connected using software like tip which uses this escape sequence), then  you can specify a different escape character on the command line.
For example, to use the $ symbol, use:
zlogin -C -e $ testzone
Now  the zlogin console session  can exit by typeing  "$."  Note : "#" hash is not acceptable

A Quick Ref guide to SUN OBP


Sorry for image, pdf file not accepted here.  i can provide .pdf file on request.hence