lsclusterip

The lsclusterip command returns a list of the cluster management IP addresses configured for each port.

Syntax

Read syntax diagramSkip visual syntax diagram
>>- svcinfo -- -- lsclusterip -- --+----------+-- -- ----------->
                                   '- -nohdr -'         

>--+-----------------------+-- --------------------------------->
   '- -delim -- delimiter -'      

>--+-----------------------------------+-- --------------------->
   '- -filtervalue -- attribute=value -'      

>--+-----------------+-- --+-cluster_id---+--------------------><
   '- -filtervalue? -'     '-cluster_name-'   

Parameters

-nohdr
(Optional) By default, headings are displayed for each column of data in a concise style view, and for each item of data in a detailed style view. The -nohdr parameter suppresses the display of these headings.
Note: If there is no data to be displayed, headings are not displayed.
-delim delimiter
(Optional) By default in a concise view, all columns of data are space-separated. The width of each column is set to the maximum possible width of each item of data. In a detailed view, each item of data has its own row, and if the headers are displayed, the data is separated from the header by a space. The -delim parameter overrides this behavior. Valid input for the -delim parameter is a one-byte character. If you enter -delim : on the command line, the colon character (:) separates all items of data in a concise view; for example, the spacing of columns does not occur. In a detailed view, the data is separated from its header by the specified delimiter.
-filtervalue attribute=value
(Optional) Specifies a list of one or more filters. Only objects with a value that matches the filter attribute value are displayed. If a capacity is specified, the units must also be included.
Note: Some filters allow the asterisk character (*) when you enter the command. The following rules apply to the use of wildcard characters with the SAN Volume Controller CLI:
  • The wildcard character is an asterisk (*).
  • The command can contain a maximum of one wildcard.
  • When you use a wildcard, you must enclose the filter entry within double quotation marks (""), as follows:
    svcinfo lsclusterip -filtervalue  "cluster_name=md*"
-filtervalue?
(Optional) displays a list of filters that can be applied against this view. The following filter attributes are valid for the lsclusterip command:
  • port_id
  • cluster_name
  • cluster_id
cluster_id | cluster_name
(Required) Specifies the name or ID of a cluster.

Description

This command displays a list of the cluster management IP addresses configured for each port.

A concise invocation example

svcinfo lsclusterip -delim ,

The concise resulting output

cluster_id,cluster_name,location,port_id,IP_address,service_IP_address,subnet_mask,
gateway,IP_address_6,service_IP_address_6,gateway_6,prefix_6
000002006CC0B71A,cl1,local,1,192.168.1.2,DHCP,255.255.255.0,192.168.1.1,
2001:0db8:85a3:0000:0000:8a2e:0370:7334,2001:0db8:85a3:0000:0000:8a2e:0370:7334,
2001:0db8:85a3:0000:0000:8a2e:0370:7334,64
000002006CC0B71A,cl1,local,2,192.168.1.2,DHCP,255.255.255.0,192.168.1.1,
2001:0db8:85a3:0000:0000:8a2e:0370:7334,2001:0db8:85a3:0000:0000:8a2e:0370:7334,
2001:0db8:85a3:0000:0000:8a2e:0370:7334,64
000002006CC0B7110,cl2,remote,1,192.168.1.2,DHCP,255.255.255.0,192.168.1.1,
2001:0db8:85a3:0000:0000:8a2e:0370:7334,2001:0db8:85a3:0000:0000:8a2e:0370:7334,
2001:0db8:85a3:0000:0000:8a2e:0370:7334,64
000002006CC0B7110,cl2,remote,2,192.168.1.2,DHCP,255.255.255.0,192.168.1.1,
2001:0db8:85a3:0000:0000:8a2e:0370:7334,2001:0db8:85a3:0000:0000:8a2e:0370:7334,
2001:0db8:85a3:0000:0000:8a2e:0370:7334,64

A detailed invocation example

svcinfo lsclusterip 000002006CC0B71A

The detailed resulting output

cluster_id 000002006CC0B71A
cluster_name cl1
location local
port_id 1
IP_address 192.168.1.2
service_IP_address DHCP
subnet_mask 255.255.255.0
gateway 192.168.1.1
IP_address_6 2001:0db8:85a3:0000:0000:8a2e:0370:7334
service_IP_address_6 2001:0db8:85a3:0000:0000:8a2e:0370:7334
gateway_6 2001:0db8:85a3:0000:0000:8a2e:0370:7334
prefix_6 64

cluster_id 000002006CC0B71A
cluster_name cl1
location local
port_id 2
IP_address 192.168.1.2
service_IP_address DHCP
subnet_mask 255.255.255.0
gateway 192.168.1.1
IP_address_6 2001:0db8:85a3:0000:0000:8a2e:0370:7334
service_IP_address_6 2001:0db8:85a3:0000:0000:8a2e:0370:7334
gateway_6 2001:0db8:85a3:0000:0000:8a2e:0370:7334
prefix_6 64
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2003, 2009. All Rights Reserved.