Go to main content

Oracle® OpenBoot 4.x Administration Guide

Exit Print View

Updated: June 2020
 
 

Monitor Network Interfaces

You can use the watch-net and watch-net-all OpenBoot commands to check the status of network interfaces. The commands send packets addressed to itself, and watches the packets return.

  1. Access the OpenBoot CLI.

    See Accessing the OpenBoot CLI and Getting Help.

  2. Identify the network specified for the net device alias.

    When you run the watch-net command, the network specified by the net device alias is the network that is tested. The devalias command displays that network.

    {0} ok devalias net
    net   /pci@300/pci@1/network@0
  3. Run the watch-net command to test the network interface that is specified by the net device alias.

    The command receives Ethernet multicast packets , and reports the status with a . (period) for each error-free packet received. or with an X for each packet received with a error.

    Example:

    {0} ok watch-net
    1000 Mbps full duplex Link up
    Looking for Ethernet Packets.
    '.' is a Good Packet.  'X' is a Bad Packet.
    Type any key to stop.
    ...........................X................................XX.........................
  4. Press any key to stop the activity.
  5. Run the watch-net-all command to list all network interfaces and send and receive test packets.

    The command reports the status with a . (period) for each error-free packet received. or with an X for each packet received with a error.

    Example:

    {0} ok watch-net-all
    Link down
    Waiting for link
    Link Down
    
    /pci@300/pci@3/network@0
    Link down
    Waiting for link
    Link Down
    
    /pci@300/pci@1/network@0,1
    Link down
    Waiting for link
    Link Down
    
    /pci@300/pci@1/network@0
    1000 Mbps full duplex Link up
    Looking for Ethernet Packets.
    '.' is a Good Packet.  'X' is a Bad Packet.
    Type any key to stop.
    ....................................................................................................
  6. Press any key to stop the activity.

Related Information