Go to main content

Oracle® Rack Universal Power Distribution Unit User's Guide

Exit Print View

Updated: May 2019
 
 

Using Diagnostic Commands

The diagnostic command syntax varies, depending on the command.

  1. To query Internet domain name server (DNS) information of a network host, at diag>, type nslookup <host>.

    <host> is the name or IP address of the host whose DNS information you want to query.

  2. To display network connections and the status of ports, at diag>, type netstat <option>.

    <option> is one of the options:

    Network Connection Option
    Description
    ports
    Shows TCP/UDP ports.
    connections
    Shows network connections.
  3. To test the network connectivity, at diag>, type ping <host>.

    <host> is the host name or IP address whose networking connectivity you want to check.

    The ping command sends the ICMP ECHO_REQUEST message to a network host for checking its network connectivity. If the output shows the host is responding properly, the network connectivity is good. If not, either the host is shut down or it is not being properly connected to the network.

    You can include any or all of the additional options in the following table.

    Network Connectivity Option
    Description
    count <number1>
    Determines the number of messages to be sent. <number1> is an integer number between 1 and 100.
    size <number2>
    Determines the packet size. <number2> is an integer number in bytes between 1 and 65468.
    timeout <number3>
    Determines the waiting period before timeout. <number3> is an integer number in seconds ranging from 1 to 600.

    The command with all options: ping <host> count <number1> size <number2> timeout <number3>

Example 17  Example - Ping Command

The following command checks the network connectivity of the host 192.168.84.222 by sending the ICMP ECHO_REQUEST message to the host for 5 times.

At diag>, type ping 192.168.84.222 count 5.