Commands to troubleshoot communications

The following commands are used to troubleshoot problems connecting to your network. The procedures for troubleshooting communications are covered in Troubleshooting.

arp

Use the arp command to edit the arp table by assigning hostnames to specific Ethernet addresses. Without options it displays the current arp table.

Syntax

  arp [add hostname ethernet_address | delete hostname] 
  

Options

add hostnameethernet_address Assign a hostname alias to an Ethernet address in the arp table.
delete hostname Delete a hostname alias from the arp table.

host

Use the host command to edit the host table by assigning hostnames to specific IP addresses without permanently storing the routing tables in the flash EPROM of the Ethernet TAP probe. Without options it displays the current host table.

Syntax

  host [add hostname ip_address | delete hostname ip_address] 
  

Options

add hostnameip_address Assign a hostname alias to an IP address in the host table.
delete hostnameip_address Delete a hostname alias from the host table.

netstat

Entered without options the netstat command displays all the network statistics. Use with arguments to reduce the amount of data displayed.

Syntax

  netstat [inet|eth|icmp|ip|tcp|udp|arp|route|host|mem]
  
  

Options

inet Display network connections.
eth Display Ethernet device status.
icmp Display ICMP protocol statistics.
ip Display IP protocol statistics.
tcp Display TCP protocol statistics.
udp Display UDP protocol statistics.
arp Display ARP table.
route Display route table.
host Display host table.
mem Display network memory statistics.

ping

Use the ping command to verify that the Ethernet TAP probe is connected to your network.

Syntax

  ping [hostname | ip_address] [size] [cnt]
  
  

Options

hostname Use the hostname stored in Ethernet TAP probe host table (see the host command).
ip_address Use the IP address of the host you are trying to reach.
size The size, in bytes, to use for request packets.
cnt The number of packets to send.

route

Use the route command to test network routing without permanently storing the routing tables in the Ethernet TAP probe flash EPROM. Without options it displays the current route table or default gateway.

Syntax

  route [add destination gateway | delete destination gateway] 
  

Options

add destinationgateway Add a dynamic route to the route table.
delete destinationgateway Delete a dynamic route from the route table.