Using the show Command

Use the show command to display information about targets and properties.

Using the display option determines the type of information shown. If you specify display targets, then all targets in the namespace below the current target are shown. If you specify display properties, all property names and values for the target are shown. With this option you can specify certain property names, and only those values are shown. If you specify display all, all targets in the namespace below the current target are shown, and the properties of the specified target are shown. If you do not specify a display option, the show command acts as if display all were specified.

The level option controls the depth of the show command and it applies to all modes of the display option. Specifying level 1 displays the level of the namespace where the object exists. Values greater than 1 return information for the target's current level in the namespace and the <specified value> levels below. If the argument is level all, it applies to the current level in the namespace and everything below.

The o|output option specifies the output and form of command output. ILOM only supports the o table, which displays targets and properties in tabular format.

Syntax

show[options] [-display targets|properties|all] [-level value|all] target [propertyname]

Options

[-d|-display] [-l|livel] [-o|output]

Targets, Properties, and Values

Valid Targets

Properties

/SYS

/SP

/SP/alertmgmt/rules/ rulename (rulename = 1 through 15)

community_or_username

destination

level

snmp_version

type

/SP/clients/ activedirectory

state

certfilestatus

defaultrole

getcertfile

ipaddress

port

strictcertmode

timeout

name

/SP/clients/ activedirectory/ admingroups/n where n is 1-5

name

/SP/clients/ activedirectory/ opergroups/n where n is 1-5

name

/SP/clients/ activedirectory/ userdomains/n where n is 1-5

domain

/SP/clients/ldap

binddn

bindpw

defaultrole

ipaddress

port

searchbase

state

/SP/clients/ntp/server/ [1|2]

address

/SP/clients/radius

defaultrole

ipaddress

port

secret

state

/SP/clients/smtp

address port state

SP/clients/syslog

destination_ip1

destination_ip2

/SP/clock

usentpserver

datetime

/SP/logs/event

clear

/SP/network

commitpending

ipaddress

ipdiscovery

ipgateway

ipnetmask

pendingipaddress

pendingdiscovery

pendingipgateway

pendingipnetmask

/SP/services/http

port

secureredirect

servicestate

/SP/serial/external

commitpending

flowcontrol

pendingspeed

speed

/SP/serial/host

commitpending

pendingspeed

speed

/SP/services/https

port

servicestate

/SP/services/snmp

engineid

port

sets

v1

v2c

v3

/SP/services/snmp/ communities/private

permissions

/SP/services/snmp/ communities/public

permissions

/SP/services/snmp/users/username

password

role

/SP/services/ssh

state

/SP/services/ssh/keys/dsa

fingerprint

length

publickey

/SP/services/ssh/keys/rsa

fingerprint

length

publickey

/SP/services/sso

state

/SP/sessions

username

starttime

date

/SP/sessions/sessionid

starttime

source

type

user

/SP/users/username

role

password

Examples

-> show -display properties /SP/users/susan /SP/users/susan Properties: role = Administrator

-> show /SP/clients -level 2 /SP/clients Targets: ldap ntp Properties: Commands: cd show

/SP/clients/ldap Targets: Properties: binddn = cn=Manager,dc=sun,dc=com bindpw = secret defaultrole = Operator ipaddress = 129.144.97.180 port = 389 searchbase = ou=people,dc=sun,dc=com state = disabled Commands: cd show

/SP/clients/ntp Targets: server Properties: Commands: cd show

Related Topics