Lantronix 900-510 Switch User Manual


 
12: Maintenance and Operation
SLB™ Branch Office Manager User Guide 198
Diagnostic Commands
The following CLI commands correspond to the web page entries described above.
To display the ARP table of IP address-to-hardware address mapping:
diag arp [email <Email Address>]
You can optionally email the displayed information.
To display a report of network connections:
You can optionally email the displayed information.
diag netstat [protocol <all|tcp|udp>] [email <Email Address>]
To resolve a host name into an IP address:
You can optionally email the displayed information.
diag lookup <Hostname> [email <Email Address>]
To test a device port by transmitting data out the port and verifying that it is
received correctly:
diag loopback <Device Port Number or Name>[<parameters>]
Parameters:
test <internal|external>
xferdatasize <Size In Kbytes to Transfer>
Default is
1
Kbyte.
Note: A special loopback cable comes with the SLB branch office manager. To test a device port,
plug the cable into the device port and run this command. The command sends the specified
Kbytes to the device port and reports success or failure. The test is performed at 9600 baud. Only
an external test requires a loopback cable.
To display the route that packets take to get to a network host:
diag traceroute <IP Address or Hostname>
To verify that the host is up and running:
diag ping <IP Address or Name> [<parameters>]
Parameters:
count <Number of Times to Ping>
The default is 5.
packetsize <Size in Bytes>
The default is 64.
To display performance statistics for an Ethernet port or a device port (averaged
over the last 5 seconds):
diag perfstat [ethport <1|2>] [deviceport <Device Port # or Name>]