Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
prtdscp [-v ]
prtdscp [-v ] -h
prtdscp [-v ] -d
prtdscp [-v ] -s
prtdscp displays the IP addresses associated with a Domain to Service Processor Communications Protocol (DSCP) link. If no arguments are specified, prtdscp displays the IP addresses on both ends of the DSCP link. The IP address of either the Service Processor or domain side can be displayed separately by the use of the -s or -d options, respectively.
The following options are supported: -v
Verbose mode. Print additional details about the program's internal progress to stderr.
Help. Print a brief synopsis of the program's usage and exit. All other command line arguments are ignored.
Display only the local domain's IP address.
Display only the remote Service Processor's IP address.
Example 1 Displaying both addresses
The following example displays both the local domain's IP address and the remote SP's IP address:
# prtdscp
Domain Address: 192.168.103.2
SP Address: 192.168.103.1
Example 2 Displaying the local IP address
The following example displays the local domain's IP address:
# prtdscp -d
192.168.103.2
Example 3 Displaying the remote IP address
The following example display the remote SP's IP address:
# prtdscp -s
192.168.103.1
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE ATTRIBUTE VALUE |
Interface Stability Evolving |
attributes(5)