Sp get dns subcommand, Format, Return codes – Sun Microsystems FIRE V40Z User Manual

Page 189

Advertising
background image

Appendix H

Service Processor Commands

167

SP Get DNS Subcommand

Description: Displays the current DNS configuration on the SP.

Format

Command format:

sp get dns [{-n | --nameserver } | -s | --searchdomain } |

{-H | --noheader }] [

{-D | --delim <DELIMITER>}]

TABLE H-10

lists the arguments for this subcommand.

Return Codes

TABLE H-11

lists the return codes for this subcommand.

TABLE H-10

Arguments for Subcommand sp get dns

Argument

Description

{ -n | --nameserver }

Displays the name server(s). If there is more than one
nameserver, they print on separate lines.

{ -s | --searchdomain }

Displays the searchdomain(s). If there is more than
one searchdomain, they print on separate lines.

{ -H | --noheader }

Suppresses column headings.

[

{-D | --delim <DELIMITER>}]

Delimits columns with the specified delimiter.
Headings are also delimited unless suppressed. The
delimiter can be any character or string.

TABLE H-11

Return Codes for Subcommand sp get dns

Return Code

ID

Description

NWSE_Success

0

Command successfully completed.

NWSE_InvalidUsage

1

Invalid usage: bad parameter usage, conflicting options
specified.

NWSE_RPCTimeout

2

Request was issued, but was not serviced by the server.
RPC procedure timed out and the request may or may not
have been serviced by the server.

Advertising
This manual is related to the following products: