lssystemip
Use the lssystemip command to display a list of the clustered system (system) management IP addresses configured for each port.
Syntax
>>- lssystemip -- --+----------+-- -- --------------------------> '- -nohdr -' >--+-----------------------+-- ---------------------------------> '- -delim -- delimiter -' >--+-----------------------------------+-- ---------------------> '- -filtervalue -- attribute=value -' >--+-----------------+-- --+------------------------+-- --------> '- -filtervalue? -' '- -port -- system_port -' >--+-system_id---+--------------------------------------------->< '-system_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 data item 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 when using the command-line interface (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 shown in the following
example:
lssystemip -filtervalue "system_name=md*"
- -filtervalue?
- (Optional) displays a list of filters that can be applied against
this view. The following filter attributes are valid for the lssystemip command:
- port_id
- system_name
- system_id
For more information about filtering attributes, see the related link.
- system_id | system_name
- (Required) Specifies the name or ID of a system.
- -port system_port
- (Required) Specifies the system port (1 or 2) to apply changes to.
Description
This command displays a list of the system management IP addresses configured for each port.
Table 1 provides
the attribute values that can be displayed as output view data.
Attribute | Possible Values |
---|---|
cluster_id | Indicates the ID of the system. |
cluster_name | Indicates the name of the system. |
location | Indicates the system location. |
port_id | Indicates the ID of the port. |
IP_address | Indicates the Internet Protocol Version 4 (IPv4) address. |
subnet_mask | Indicates the IPv4 subnet mask. |
gateway | Indicates the IPv4 gateway. |
IP_address_6 | Indicates the Internet Protocol Version 6 (IPv6) address. |
gateway_6 | Indicates the IPv6 gateway. |
prefix_6 | Indicates the IPv6 prefix. |
A concise invocation example
lssystemip -delim ,
The concise resulting output:
cluster_id,cluster_name,location,port_id,IP_address,subnet_mask,
gateway,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
lssystemip 000002006CC0B71A
The detailed resulting output:
cluster_id 000002006CC0B71A
cluster_name cl1
location local
port_id 1
IP_address 192.168.1.2
subnet_mask 255.255.255.0
gateway 192.168.1.1
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
subnet_mask 255.255.255.0
gateway 192.168.1.1
IP_address_6 2001:0db8:85a3:0000:0000:8a2e:0370:7334
gateway_6 2001:0db8:85a3:0000:0000:8a2e:0370:7334
prefix_6 64