ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • system service-processor network show

    Display the network configuration

    Availability: This command is available to cluster administrators at the admin privilege level.

    Description

    The system service-processor network show command displays the network configuration of the Service Processor of each node in a cluster. You can limit output to specific types of information and specific nodes in the cluster, or filter output by specific field values.

    In case a node is offline or its Service Processor management daemon is down, the command displays the last known IP address of its Service Processor. Only the IP address is displayed in such cases.

    Parameters

    { [-fields <fieldname>,…​]

    If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

    | [-instance ] }

    If you specify the -instance parameter, the command displays detailed information about all fields.

    [-node {<nodename>|local}] - Node

    Selects network configuration information for the Service Processor of the specified node.

    [-address-family {IPv4|IPv6}] - Address Family

    Selects network configuration information for the Service Processors that have the specified IP address family.

    [-enable {true|false}] - Interface Enabled

    Selects network configuration information for the Service Processors whose network interface for the given address-family is enabled or disabled as specified.

    [-type {SP|NONE|BMC}] - Type of Device

    Selects network configuration information for the Service Processors of the specified type.

    [-status {online|offline|sp-daemon-offline|node-offline|degraded|rebooting|unknown|updating}] - Status

    Selects network configuration information for the Service Processors whose status matches the specified value.

    [-link-status {up|down|disabled|unknown}] - Link Status

    Selects network configuration information for the Service Processors whose link status matches the specified value.

    [-dhcp {v4|none|v6}] - DHCP Status

    Selects network configuration information for the Service Processors whose DHCP status matches the specified value.

    [-ip-address <IP Address>] - IP Address

    Selects network configuration information for the Service Processors that use the specified IP address.

    [-mac <MAC Address>] - MAC Address

    Selects network configuration information for the Service Processors that use the specified MAC address.

    [-netmask <IP Address>] - Netmask

    This parameter displays information only for the Service Processors that use the specified netmask.

    [-prefix-length <integer>] - Prefix Length of Subnet Mask

    Selects network configuration information for the Service Processors whose prefix length of subnet mask matches the specified value.

    [-router-ip <IP Address>] - Router Assigned IP Address

    Selects network configuration information for the Service Processors whose router-assigned IP address matches the specified value.

    [-link-local-ip <IP Address>] - Link Local IP Address

    Selects network configuration information for the Service Processors whose link local IP address matches the specified value.

    [-gateway <IP Address>] - Gateway IP Address

    Selects network configuration information for the Service Processors whose gateway IP address matches the specified value.

    [-time-last-updated <text>] - Time Last Updated

    Selects network information for the Service Processors that have the specified time stamp showing when configuration was last updated.

    [-subnet-name <text>] - Subnet Name

    Selects network information for the Service Processors that use the specified subnet-name for SP automatic configuration.

    [-is-ipv6-ra-enabled {true|false}] - Enable IPv6 Router Assigned Address

    Selects network information for the Service Processors that have the specified status for IPv6 router-assigned address.

    [-setup-status {not-setup|succeeded|in-progress|failed}] - SP Network Setup Status

    Selects network information for the Service Processors that have the specified status for network interface setup.

    [-setup-failure-reason {success|subnet-out-of-address|invalid-subnet|other-error}] - SP Network Setup Failure Reason

    Selects network information for the Service Processors that have the specified reason for network interface setup failure.

    Examples

    The following example displays basic network configuration information for the Service Processors of all the nodes.

    cluster1::> system service-processor network show
                                 Address
    Node          Status         Type      Link State  IP Address
    ------------- -------------- --------- ----------- ------------------------
    node1         online         IPv4      up          192.168.1.201
    DHCP: v4
                              MAC Address: ab:cd:ef:fe:ed:01
                          Network Gateway: 192.168.1.1
                 Network Mask (IPv4 only): 255.255.255.0
                Prefix Length (IPv6 only): -
              IPv6 RA Enabled: -
                              Subnet Name: -
                  SP Network Setup Status: succeeded
    node1         online         IPv6      disabled    -
    DHCP: none
                              MAC Address: ab:cd:ef:fe:ed:01
                          Network Gateway: -
                 Network Mask (IPv4 only): -
                Prefix Length (IPv6 only): -
              IPv6 RA Enabled: -
                              Subnet Name: -
                  SP Network Setup Status: not-setup
    node2         online         IPv4      up          192.168.1.202
    DHCP: v4
                              MAC Address: ab:cd:ef:fe:ed:02
                          Network Gateway: 192.168.1.1
                 Network Mask (IPv4 only): 255.255.255.0
                Prefix Length (IPv6 only): -
              IPv6 RA Enabled: -
                              Subnet Name: -
                  SP Network Setup Status: succeeded
    node2         online         IPv6      disabled    -
    DHCP: none
                              MAC Address: ab:cd:ef:fe:ed:02
                          Network Gateway: -
                 Network Mask (IPv4 only): -
                Prefix Length (IPv6 only): -
              IPv6 RA Enabled: -
                              Subnet Name: -
                  SP Network Setup Status: not-setup
    4 entries were displayed.
    
    cluster1::>

    The following example displays all available network configuration information for the Service Processors of all the nodes.

    cluster1::> system service-processor network show -instance
    Node: node1
                     Address Family: IPv4
                Interface Enabled: true
                   Type of Device: SP
                           Status: online
                      Link Status: up
                      DHCP Status: v4
                       IP Address: 192.168.1.201
                      MAC Address: ab:cd:ef:fe:ed:01
                          Netmask: 255.255.255.0
     Prefix Length of Subnet Mask: -
       Router Assigned IP Address: -
            Link Local IP Address: -
               Gateway IP Address: 192.168.1.1
          Time Last Updated: Fri Jun 13 17:03:59 GMT 2014
                      Subnet Name: -
    Enable IPv6 Router Assigned Address: -
          SP Network Setup Status: succeeded
    SP Network Setup Failure Reason: -
    Node: node1
                     Address Family: IPv6
                Interface Enabled: false
                   Type of Device: SP
                           Status: online
                      Link Status: disabled
                      DHCP Status: none
                       IP Address: -
                      MAC Address: ab:cd:ef:fe:ed:01
                          Netmask: -
     Prefix Length of Subnet Mask: -
       Router Assigned IP Address: -
            Link Local IP Address: -
               Gateway IP Address: -
          Time Last Updated: Fri Jun 13 17:03:59 GMT 2014
                      Subnet Name: -
    Enable IPv6 Router Assigned Address: -
          SP Network Setup Status: not-setup
    SP Network Setup Failure Reason: -
    Node: node2
                     Address Family: IPv4
                Interface Enabled: true
                   Type of Device: SP
                           Status: online
                      Link Status: up
                      DHCP Status: v4
                       IP Address: 192.168.1.202
                      MAC Address: ab:cd:ef:fe:ed:02
                          Netmask: 255.255.255.0
     Prefix Length of Subnet Mask: -
       Router Assigned IP Address: -
            Link Local IP Address: -
               Gateway IP Address: 192.168.1.1
          Time Last Updated: Fri Jun 13 17:03:59 GMT 2014
                      Subnet Name: -
    Enable IPv6 Router Assigned Address: -
          SP Network Setup Status: succeeded
    SP Network Setup Failure Reason: -
    Node: node2
                     Address Family: IPv6
                Interface Enabled: false
                   Type of Device: SP
                           Status: online
                      Link Status: disabled
                      DHCP Status: none
                       IP Address: -
                      MAC Address: ab:cd:ef:fe:ed:02
                          Netmask: -
     Prefix Length of Subnet Mask: -
       Router Assigned IP Address: -
            Link Local IP Address: -
               Gateway IP Address: -
          Time Last Updated: Fri Jun 13 17:03:59 GMT 2014
                      Subnet Name: -
    Enable IPv6 Router Assigned Address: -
          SP Network Setup Status: not-setup
    SP Network Setup Failure Reason: -
    4 entries were displayed.
    
    cluster1::>
    Top of Page