16: Command Reference
EMG™ Edge Management Gateway User Guide
361
diag netstat
Syntax
diag netstat [protocol <
all
|tcp|udp>] [email <Email Address>]
Defaults: protocol=all
Description
To display a report of network connections. You can optionally email the displayed information.
diag nettrace
Syntax
diag nettrace <one or more parameters>
Parameters
ethport <1|2>
protocol <tcp|udp|icmp|esp>
host <IP Address or Name>
numpackets <Number of Packets>
verbose <low|medium|high|disable>
pcapfile <File Name> location <usb:sdcard> [usbport <U1>]
Description
Displays all network traffic, applying optional filters (the output can be saved to a Wireshark pcap
file on external storage). This command is available in the CLI but not the web.
diag perfstat
Description
Display performance statistics for an Ethernet Port or Device Port, averaged over the last 5
seconds. Must specify an Ethernet Port or Device Port.
Syntax
diag perfstat [ethport <1|2>] [deviceport <Device Port # or Name>]
diag ping|ping6
Description
Verifies if the EMG can reach a host over the network.
diag ping|ping6 <IP Address or Name> [<parameters>]
Parameters
count <Number Of Times To Ping>
packetsize <Size In Bytes>