Troubleshooting commands

Last Updated : Jan 20, 2020 |
Prolog information
The following is a representative list of supported troubleshooting commands. You require root or sroot privileges to use these commands.
Note:
Device Adapter does not support the CS 1000 tcpdump command for capturing TCP/IP and other packets on the network.
Device Adapter supports only those CS 1000 pcap commands that are mentioned in the following table.
Command
Description
dasrvstart status all
Displays the current status of all Device Adapter services.
tpsShow
Displays the current Terminal Proxy Server status.
isetShow
Displays the currently connected endpoints.
isetSecShow
Displays DTLS information for the currently connected endpoints.
electShow
Displays the current election status.
pcapHelp
Displays the list of available pcap commands.
pcapStart
Captures the network packets that are sent and received by the network interfaces of the Avaya Breeze® platform. You can use option 3 of the pcapConfig command to specify the network interfaces that you want to monitor.
By default, the captured network packets are stored in the .cap file that is located at:
/var/log/Avaya/services/DeviceAdapter/pcap
Note:
If the /var directory is full, Device Adapter automatically deletes the older files from this directory. However, Device Adapter does not delete certain files that are protected from automatic deletion.
Hence, to ensure that there is enough disk space in the /var directory to store the pcap log files, you might have to manually delete some files from the /var directory.
You can open and analyze the pcap log file by using Wireshark.
pcapStop
Stops capturing the network packets of the network interface.
pcapStatus
Displays the current status of packet capturing. For example, started or stopped.
pcapRestart
Stops and then starts the packet capturing again.
The pcapRestart command uses the most recent pcap log file to capture the network packets.
pcapConfigShow
Displays the contents of the pcap configuration file.
For example,
pcapConfig
Use the following numbering options with the pcapConfig command to configure the pcap settings:
  • 0: Captures the Loopback interface packets.
  • 1: Captures the Management interface packets.
  • 2: Captures the Security Module interface packets.
    This is the default interface for packet capturing.
  • 3: Sets the interface name that needs to be monitored. For example, eth1 for SIP interface.
  • 4: Sets the folder name and path where the pcap log files are to be stored.
    An administrator can create this directory and must set the user to root:easg.
  • 5: Sets the file name for the pcap log file.
  • 6: Sets the file type (extension) for the pcap log file. For example, pcap.
  • 7: Sets the maximum size, in kilobytes, for the pcap log file.
    The maximum supported file size is limited to 100000 KB (100 MB).
    After the file reaches its maximum size, Device Adapter creates a new file to capture the pcap logs.
  • 8: Sets the maximum number of pcap log files that can be created.
    The maximum number of pcap log files supported is limited to 200.
    However, the maximum amount of disk space that Device Adapter allocates for storing the pcap log files is limited to 1 GB. Hence, ensure that the product of the maximum file size and the maximum number of pcap log files that you specify does not exceed 1GB.
    For example:
    • If you specify the maximum file size as 100000 KB (100 MB), the maximum number of pcap log files cannot exceed 10.
    • If you specify the maximum number of pcap log files as 200, the maximum file size per pcap log file cannot exceed 5000 KB (5 MB).
    When the maximum number of files is reached, Device Adapter automatically deletes the oldest pcap file, and creates a new file.
    The pcap log file is stored in the following format:
    pcap_<file number>_<timestamp>.cap
    For example,
    -rw-r-----. 1 cust easg 27272 Aug 23 12:58 pcap_00001_20190823125702.cap
    In the preceding example, the file number is 00001 and the timestamp when the file was closed is 20190823125702.
    Where,
    20190823= 23 August 2019
    125702= 12:57:02
  • 9: Sets the watermark size.
  • 10: Displays the current pcap configuration.
  • 11: Loads the pcap configuration file.
  • 12: Shows the pcap configuration file.
  • 13: Discards all changes in the pcap configuration file and reverts to the factory default settings.
  • 14: Saves the changes in the pcap configuration file and quits.
  • 15: Quits without saving the changes in the pcap configuration file.
For a comprehensive list of supported commands, see Avaya Communication Server 1000 Software Input Output Reference — Maintenance (NN43001-711).