The SBC performs Packet Capture using 'tcpdump' and allows the captured file to be downloaded. The following section describes how to capture packets and download them.
Note |
---|
|
Performing a Media packet capture with no host filters or against hosts terminating multiple calls can impact traffic and cause current or future calls to fail or experience other problems. Performing a long duration capture which is outside of a maintenance window can adversely impact traffic, and should be avoided when possible. |
Note |
---|
For It is mandatory to Youy must insert either an ASM or external USB into the in order to save packet capture files. Without this, packet capture is not allowed due to available space limitations. |
Info |
---|
For It is recommended to Sonus recommends that you insert either an AMS ASM or external USB into the in order to save packet capture files; otherwise only a small capture session is permitted due to available space limitations on the internal flash. |
Enabling Packet Capture
Warning |
---|
The Packet Capture feature is intended for short duration packet captures. For that reason, a maximum duration of 120 minutes (2 hours) is permitted. |
The Enable Packet Capture option (available from the Packet Capture menu bar) enables the packet capture ability in the .
To enable packet capture:
- In the WebUI, click the Diagnostics tab.
In the left navigation bar, select Sonus TAC Troubleshooting > Packet Capture.
From the menu bar, click Enable Packet Capture.
Panel |
---|
|
Caption |
---|
0 | Figure |
---|
1 | Enable Packet Capture |
---|
|
|
|
At the Warning note, click OK.
Warning |
---|
Enable Packet Capture only under the direction of Sonus TAC. |
Panel |
---|
|
Caption |
---|
0 | Figure |
---|
1 | Enable Packet Capture - Warning Message |
---|
|
|
|
Packet Capture is enabled. Refer to Start Packet Capture.
Starting Packet Capture
Info |
---|
To view Alarm/Event history logs for Packet Capture, access the Diagnostics tab and click Logs > Alarm/Event History. |
The Start Capture option (available from the Packet Capture menu bar) enables the to capture packets.
To start capturing packets:
- In the WebUI, click the Diagnostics tab.
In the left navigation bar, select Sonus TAC Troubleshooting > Packet Capture.
From the menu bar, click Start Capture.
Panel |
---|
|
Caption |
---|
|
|
|
Panel |
---|
|
Caption |
---|
0 | Figure |
---|
1 | Packet Capture Options |
---|
|
|
|
- Select the network interface (including IP Version) from which the packets will be captured.
- Select an protocol(s) from which to capture the packets.
- Configure any relevant information for the Other Options sections. For details, refer to Field Definitions.
Click OK.
The Packet Capture status turns to In Progress.
Panel |
---|
|
Caption |
---|
0 | Figure |
---|
1 | Packet Capture in Progress |
---|
|
|
|
Anchor |
---|
| FieldDefinitions |
---|
| FieldDefinitions |
---|
|
Interface - Field Definitions
Div |
---|
|
Interface Panel |
---|
bgColor | #FAFAFA |
---|
borderStyle | none |
---|
| Specifies the network interface from which the packets will be captured. |
IP Version Panel |
---|
bgColor | #FAFAFA |
---|
borderStyle | none |
---|
| Specifies the IP version of the interface from which the packets will be captured. Valid selections: IPv4, IPv6 or Both. |
|
Protocol - Field Definitions
Div |
---|
|
Panel |
---|
bgColor | #FAFAFA |
---|
borderStyle | none |
---|
| Specifies whether or not to capture RTP/RTCP Packets. |
DSP/CSME Panel |
---|
bgColor | #FAFAFA |
---|
borderStyle | none |
---|
| Specifies whether or not to capture DSC/CSME Packets. |
Active Directory Panel |
---|
bgColor | #FAFAFA |
---|
borderStyle | none |
---|
| Specifies whether or not to capture LDAP Packets. |
HTTP/HTTPS Panel |
---|
bgColor | #FAFAFA |
---|
borderStyle | none |
---|
| Specifies whether or not to capture HTTP/HTTPS Packets. |
All Other Protocols Panel |
---|
bgColor | #FAFAFA |
---|
borderStyle | none |
---|
| Specifies whether or not to capture all other packet types not defined above. |
|
Other Options - Field Definitions
Div |
---|
|
TCP/UDP Ports Panel |
---|
bgColor | #FAFAFA |
---|
borderStyle | none |
---|
| Specifies the port or ports used to capture packets. A maximum of four comma separated port numbers may be specified. |
Host #1 Panel |
---|
bgColor | #FAFAFA |
---|
borderStyle | none |
---|
| Specifies a unique host from which to capture packets. Host is specified by IPv4 Address or FQDN. - Range: 1 - 256 ASCII characters
|
Host #1 Direction Info |
---|
The following field is only visible if an address has been entered in Host #1. |
Panel |
---|
bgColor | #FAFAFA |
---|
borderStyle | none |
---|
| Specifies the whether the captured packets are being sent to the host or received from the host, or both. - Default: Transmit and Receive
|
Host #2 Panel |
---|
bgColor | #FAFAFA |
---|
borderStyle | none |
---|
| Specifies a unique host from which to capture packets. Host is specified by IPv4 Address or FQDN. - Range: 1 - 256 ASCII characters
|
Host #2 Direction Info |
---|
The following field is only visible if an address has been entered in Host #2. |
Panel |
---|
bgColor | #FAFAFA |
---|
borderStyle | none |
---|
| Specifies the whether the captured packets are being sent to the host or received from the host, or both. - Default: Transmit and Receive
|
Maximum Packet Size Panel |
---|
bgColor | #FAFAFA |
---|
borderStyle | none |
---|
| Specifies the maximum size of the individual packets to be captured. - Range: 100 - 1600 Bytes
- Default: 1600
|
Overwrite Panel |
---|
bgColor | #FAFAFA |
---|
borderStyle | none |
---|
| Specifies whether or not the SBC overwrites capture files in round robin fashion or not when the maximum file size has been reached. |
Duration Panel |
---|
bgColor | #FAFAFA |
---|
borderStyle | none |
---|
| Warning |
---|
A maximum duration of 120 minutes (2 hours) is permitted for packet capture. |
Specifies the duration of the capture in minutes. The maximum value represents 2 hours. - Range: 1 - 120
- Default: 10
|
|
Stopping Packet Capture
The Stop Packet capture feature is optional; this option is used to stop the packet capture early (before the packet capture reaches the time limit set in the Duration field).
To stop capturing packets:
- In the WebUI, click the Diagnostics tab.
In the left navigation bar, select Sonus TAC Troubleshooting > Packet Capture.
From the menu bar, click Stop Capture.
Panel |
---|
|
Caption |
---|
0 | Figure |
---|
1 | Stop Capture Option |
---|
|
|
|
The Packet Capture stops.
Panel |
---|
|
Caption |
---|
0 | Figure |
---|
1 | Packet Capture Stops |
---|
|
|
|
Downloading Capture Files
Once the packet capture has stopped, the captured file will appear in the table List of Captured Files.
Info |
---|
title | To Stop Packet Capture Early |
---|
|
If you need to stop the packet capture early, from the menu bar, click Stop Capture. |
To download captured files:
From the List of Capture Files table, next to the desired file, click Download.
Panel |
---|
|
Caption |
---|
|
|
|
Select the appropriate location to save the file. Click OK.
Panel |
---|
|
Caption |
---|
|
|
|
Info |
---|
|
Only one packet capture can be downloaded at a time. Depending on the size of the file and network connection, a download can take several minutes. |
Moving Internal or ASM Capture Files
If the file location for the packet capture is Internal or an ASM, and the system has an external USB present and available, an additional option, Move, will appear under the Action column. The Move action relocates the packet file to the external USB, which can then be removed and taken to a PC.
Info |
---|
The packet capture can only be saved on the internal flash for SBC 2000. |
To move captured files:
From the List of Capture Files table, next to the desired file, click Move.
Panel |
---|
|
Caption |
---|
0 | Figure |
---|
1 | List of Capture Files |
---|
|
|
|
Packet Capture Limitations
The following lists the limitations of Packet Capture.
Size Limitations
- An individual Packet Capture file is limited to 350 MiB in size. After the 350 MiB limit has been reached, a new file will be created to continue the packet capture.
- A Packet Capture session size limit is dependent on whether or not
- 30 GiB is less than the available storage space minus ( - ) 30%
Or - Available storage space minus ( - ) 30% is less than 30 GiB
- For SBC 1000, if there is no external USB or ASM module with a mounted hard drive, the Packet Capture will not be allowed to occur because of storage limitations.
Protocol Filters Restrictions
If Protocol Filters Active Directory, HTTP/HTTPS, or All Other Protocols are set to True, the following options will be hidden and no longer configurable:
- Media
DSP/CSME
- TCP/UDP Ports
TCP/UPD Ports Restrictions
If any TCP/UDP Ports are entered, the following options will be hidden and no longer configurable:
- Active Directory
- HTTP/HTTPS
- All Other Protocols