network
The network command displays Ethernet interfaces or runs
external loop-back tests. If the ifs option is used, the
command displays a list of Ethernet ports that are available for external loop-back
tests.
Note -
Ports need to be configured with IP addresses prior to running this command.
You can use the EFI Shell application ifconfig to configure
IP addresses. Enter the udiag network ifs command to verify
that all Ethernet ports are configured correctly.
With two interface numbers specified, this command tests the ports by sending
packets from the first port and by receiving and verifying the packets from the
second port.
Command Syntax
udiag network ifs
udiag network <tx_if>
<rx_if> [-ps
<size>]
Options
|
|
ifs
|
Lists the available Ethernet ports, including interface
numbers.
|
<tx_if>
|
Specifies the interface number of the port from which
external loop-back test packets are sent out.
|
<rx_if>
|
Specifies the interface number of the port from which
external loop-back test packets are received.
|
-ps
<size>
|
Specifies the packet size used by the test when requesting
data transfer at TCP4 interface. The size option should be
[10,
10000] (inclusive).
|
|
Resource Requirements
BSP_ONLY; MULTIPLE_INSTANCES
Examples
To display recognized ports, type:
fs0:/> udiag network ifs
To run an external loop-back test from interface 2 to interface 4,
type:
fs0:/> udiag network 2 4