Document y
Documen
Solution Name VoLTE
t Code
Intended Solution
Huawei Engineer
Audience Version
Prepared Document
By Version
Contents
1 Version.........................................................................................................................3
2 NE Packet Capturing...................................................................................................4
2.1 Switch Mirroring Packet Capturing....................................................................4
2.1.1 LS39 Mirroring Configuration.............................................................4
2.1.2 LS65 Mirroring Configuration.............................................................5
2.1.3 3500 Series Switches...........................................................................7
2.1.4 Quidway S9300 Switches....................................................................7
2.2 SBC Packet Capturing......................................................................................8
2.3 UE Log..............................................................................................................9
1 Version
This test is based on IMS V200R009C02. The following table lists the version
mapping.
UGW9811 UGW9811V900R010C00SPC002T
2 NE Packet Capturing
NE packet capturing involves switch mirroring packet capturing, SBC packet capturing,
and UE logs.
1. Configuration Preparation
(1) Set the source port for mirroring and confirm the direction of the packets which be
mirrored. The inbound direction indicates that only received packets are mirrored,
the outbound indicates that only sent packets are mirrored, and both indicates that
both received and sent packets are mirrored
(2) Determine the destination port for mirroring.
Configuration Example
The source port for mirroring is GigabitEthernet 1/1/1, and both
received and sent packets are mirrored.
The destination port for mirroring is GigabitEthernet 1/1/4.
Configuration Procedures
system-view
[Quidway-GigabitEthernet1/1/4] monitor-port
[Quidway-GigabitEthernet1/1/4] quit
Before configuring mirroring for local port, users need to create a local
mirroring group first, and then, configure a source port and destination port for
the local mirroring group.
Configuration Example
1. Networking Requirements
Configuration on switch C as an example.
Ports Ethernet 2/0/1 and Ethernet 2/0/2 serve as the source ports for
mirroring.
Port Ethernet 2/0/3 connecting the data monitoring device serves as
the destination port for mirroring.
2. Configuration Procedures
Configure switch C.
Create a local mirroring group.
system-view
mirroring-group 1:
type: local
status: active
mirroring port:
Ethernet2/0/1 both
Ethernet2/0/2 both
After the configuration is complete, users can monitor all sent and received packets of
the R&D and marketing departments on the data monitoring device.
When configuring port mirroring, need to configure a monitoring port first, and then
configure the port which be monitored. When canceling port mirroring configurations,
cancel the configurations of the monitored ports, and then cancel the configurations of
the monitoring port.
The switch supports a maximum of two monitoring ports (also called destination ports for
mirroring). The two ports are used to separately monitor the received and sent packets of
specified ports. There is no restriction on the number of ports to be monitored while
monitoring received packets. However, a maximum of eight ports can be monitored while
monitoring sent packets.
Received packets that experience errors such as CRC and fragmentation errors are not
monitored. While monitoring sent packets, the packets are sent to the monitoring ports
even if they are transferred to the CPU for processing.
You can repeat Step 3 and Step 4 when you need to simultaneously monitor the inbound
or outbound packets of multiple interfaces.
A. Configuration Guidelines
The guidelines for configuring basic port mirroring functions are as follows:
Set port GE1/0/1 of the SE2600 B to the mirroring port, and enable port mirroring.
B. Data Preparation
The following data must be available to complete the configuration:
Port type and port number of the observation and mirroring ports
C. Configuration steps
(1) Set port GE1/0/0 to the observation port.
<SE2600B> system-view
[SE2600B-GigabitEthernet1/0/0] quit
(2) Configure the observation port for the mirroring of the entire board.
[SE2600B] slot 1
[SE2600B-slot-1] quit
[SE2600B-GigabitEthernet1/0/1] quit
After the preceding configurations are complete, packets sent and received over GE1/0/1
2.3 UE Log
2) Search SipConn in the QXDM log to view the logs generated during SIP package
generation, as shown in the red logs in the following figure. Such logs indicate that the
UE has sent registration requests to the network.
3) Contents in SIP packages cannot be viewed on the QXDM. Therefore, you need to
export SIP packages to PCAP format and use Wireshark to open the packages.
The method is as follows:
1. Save the log file under a directory that contains only English characters.
2. Start QCAT and choose Tools > Convert log file PCAP/TXT.
3. Select the log file and click Yes.
After the conversion is complete, you can find the converted file under the directory for
saving the log file. In addition to the file in PCAP format, three other files are generated.
Open the file in PCAP format. If the file in PCAP format is not generated, the probable
cause is that log capturing parameters are not correctly configured. For details about the
configurations, see document 80-VA810-1 provided by Qualcomm. Alternatively, use the
configuration file appended to the end of this document.
The following figure shows an opened log in PCAP format. You can type sip in the Filter
text box to search for SIP messages. Currently, the SIP messages converted from
QXDM logs may be incomplete. Therefore, it is recommended that you use the SIP
messages together with IMS logs to facilitate debugging.