Вы находитесь на странице: 1из 11

Confidentialit

Document y

Documen
Solution Name VoLTE
t Code
Intended Solution
Huawei Engineer
Audience Version
Prepared Document
By Version

Huawei Technologies Co., Ltd.


All rights reserved

2020-7-14 Huawei Confidential Page 1 of 11


Confidentialit
Document y

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

2020-7-14 Huawei Confidential Page 2 of 11


Confidentialit
Document y

1 Version

This test is based on IMS V200R009C02. The following table lists the version
mapping.

Product Name Version Mapping Remarks

CSC3300 CSC3300 V100R009C02SPC080T


CGP: CGP V100R006C05SPC500
Network management system: CMC
V100R005C00B050 and later versions

ATS9900 ATS9900 V100R005C02SPC080T

SPG2800 SPG6600 V100R005C02SPC080T

MRP6600 MRP6600 V100R005C02SPC080T

iCG9815 iGWB V300R002C72SPC120T

CGP: CGP V100R006C05SPC500

MSOFTX3000 MSOFTX3000 V200R010C00SPC081T

SessionEngine26 SessionEngine2600 V200R009C02B013


00

HSS9820 HSS9820 V900R009C02SPC200B100

HSS9860 HSS9860 V900R008C01SPC001

UPCC UPCC V300R005C15B015


VMP path: \\szxnas60-
rd\IT_VMP_SZX_69_F\B_BL19907862_UPCC
V300R005C15SPC010T\Software\Volte1.2
Solution (20130325)
The previous version upgrade is not supported.

ENS ENS V900R002C02SPC200B100

UIM UIM V900R001C03B001

USN9810 USN9810 V9R12C00

UGW9811 UGW9811V900R010C00SPC002T

2020-7-14 Huawei Confidential Page 3 of 11


Confidentialit
Document y

2 NE Packet Capturing
NE packet capturing involves switch mirroring packet capturing, SBC packet capturing,
and UE logs.

2.1 Switch Mirroring Packet Capturing

Switch port mirroring packet capturing generally applies to IMSCore and CS


networks. The principles for packet capturing configured on switches are similar. The
mirroring configuration commands and procedures differ depending on switch types.
This section describes mirroring packet capturing of commonly used switches.
Port mirroring is a procedure that you duplicate the packets of one or multiple
specified ports (source port) to the destination port. The destination port is connected
to the data monitoring device. Users can utilize the data monitoring device to analyze
packets copied to the destination port to perform network monitoring and
troubleshooting. Generally, the source and destination ports of mirroring packet
capturing are located on the same device.
The following are terms used in mirroring packet capturing:
1. Mirroring group: A mirroring group has only one destination port. If you require
multiple destination ports, you need to create multiple mirroring groups.
2. Source port: A source port is the port which need to capture packets and to be
monitored. If you set one or multiple ports as the source ports for mirroring, the
switch sends packets transmitted through the ports to the destination ports for
mirroring.
3. Destination port: Packets transmitted through the source ports will be duplicated
to the destination ports. Then, users can access the destination ports via a local
PC to capture data for analysis.

2.1.1 LS39 Mirroring Configuration

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,

2020-7-14 Huawei Confidential Page 4 of 11


Confidentialit
Document y

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] interface gigabitEthernet 1/1/4

[Quidway-GigabitEthernet1/1/4] monitor-port

[Quidway-GigabitEthernet1/1/4] quit

[Quidway] interface gigabitEthernet 1/1/1

[Quidway-GigabitEthernet1/1/1] mirroring-port both

2.1.2 LS65 Mirroring Configuration

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.

2020-7-14 Huawei Confidential Page 5 of 11


Confidentialit
Document y

2. Configuration Procedures
Configure switch C.
Create a local mirroring group.
system-view

[SwitchC] mirroring-group 1 local


Configure a source port and destination port for the local mirroring
group.
[SwitchC] mirroring-group 1 mirroring-port Ethernet 2/0/1 Ethernet 2/0/2 both

[SwitchC] mirroring-group 1 monitor-port Ethernet 2/0/3


Display configuration information about all mirroring groups.
[SwitchC] display mirroring-group all

mirroring-group 1:

type: local

status: active

mirroring port:

Ethernet2/0/1 both

Ethernet2/0/2 both

monitor port: Ethernet2/0/3

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.

2.1.3 3500 Series Switches

Configure the monitoring port:

2020-7-14 Huawei Confidential Page 6 of 11


Confidentialit
Document y

monitor-port {interface_name | interface_type interface_num } { inbound |


outbound | both }
Configure the port to be monitored:
mirroring-port port-list { inbound | outbound | both }
Cancel the configuration for the port to be monitored:
undo mirroring-port port-list { inbound | outbound | both }
Cancel the configuration of the monitoring port:
undo monitor-port {interface_name | interface_type interface_num }
{ inbound | outbound | both }

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.

2.1.4 Quidway S9300 Switches

Procedures for configuring interface-based local mirroring operations:


Step 1 Run the system-view command to enter the system view.
Step 2 Run the observing-port o-index interface interface-type interface-number
command to configure an observation interface (interface that is directly connected to the
PC for observation).
Step 3 Run the interface-type interface-number command to enter the mirroring
interface view.
Step 4 Run the port-mirroring to observe-port o-index { both | inbound | outbound }
command to configure interface mirroring (the interface to be monitored).
Step 5 The values of o-index configured in Step 2 and Step 4 must be the same.

2020-7-14 Huawei Confidential Page 7 of 11


Confidentialit
Document y

You can repeat Step 3 and Step 4 when you need to simultaneously monitor the inbound
or outbound packets of multiple interfaces.

2.2 SBC Packet Capturing

As shown in the following figure, GE1/0/0 of SE2600 B is configured as the observation


port to monitor packets sent and received by the SE2600 B over GE1/0/1. Port mirroring
is configured on GE1/0/1 so that packets sent and received over GE1/0/1 are duplicated
to the GE1/0/0. The analysis device HostD then analyzes the packets.

A. Configuration Guidelines

The guidelines for configuring basic port mirroring functions are as follows:

 Set port GE1/0/0 of the SE2600 B to the observation port.

 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:

 IP address of each port

 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] interface gigabitethernet1/0/0

[SE2600B-GigabitEthernet1/0/0] undo shutdown

2020-7-14 Huawei Confidential Page 8 of 11


Confidentialit
Document y

[SE2600B-GigabitEthernet1/0/0] port-observing observe-index 1

[SE2600B-GigabitEthernet1/0/0] quit

(2) Configure the observation port for the mirroring of the entire board.

[SE2600B] slot 1

[SE2600B-slot-1] mirror to observe-index 1

[SE2600B-slot-1] quit

(3) Enable uplink port mirroring on GE1/0/1.

[SE2600B] interface gigabitethernet1/0/1

[SE2600B-GigabitEthernet1/0/1] undo shutdown

[SE2600B-GigabitEthernet1/0/1] port-mirroring inbound

[SE2600B-GigabitEthernet1/0/1] port-mirroring outbound

[SE2600B-GigabitEthernet1/0/1] quit

After the preceding configurations are complete, packets sent and received over GE1/0/1

are duplicated to the GE1/0/0.

2.3 UE Log

1) Set parameters on QXDM so that SIP messages can be captured.

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.

2020-7-14 Huawei Confidential Page 9 of 11


Confidentialit
Document y

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.

2020-7-14 Huawei Confidential Page 10 of 11


Confidentialit
Document y

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.

2020-7-14 Huawei Confidential Page 11 of 11

Оценить