- Table of Contents
-
- 12-Network Management and Monitoring Command Reference
- 00-Preface
- 01-System maintenance and debugging commands
- 02-NQA commands
- 03-iNQA commands
- 04-NTP commands
- 05-PTP commands
- 06-Network synchronization commands
- 07-PoE commands
- 08-SNMP commands
- 09-RMON commands
- 10-NETCONF commands
- 11-SmartMC commands
- 12-EPA commands
- 13-CWMP commands
- 14-EAA commands
- 15-Process monitoring and maintenance commands
- 16-Sampler commands
- 17-Mirroring commands
- 18-NetStream commands
- 19-IPv6 NetStream commands
- 20-NetAnalysis commands
- 21-sFlow commands
- 22-Information center commands
- 23-GOLD commands
- 24-Packet capture commands
- 25-VCF fabric commands
- 26-Cloud connection commands
- 27-EPS agent commands
- 28-eMDI commands
- 29-SQA commands
- 30-Performance management commands
- 31-TCP connection trace commands
- Related Documents
-
Title | Size | Download |
---|---|---|
29-SQA commands | 116.84 KB |
Contents
SQA commands
Only the SC modules prefixed with LSCM2, SD interface modules, and SF interface modules support SQA.
display sqa call
Use display sqa { h323 | sip } call to display SIP call information.
Syntax
display sqa { h323 | sip } call [ [ call-id call-id ] verbose ]
Views
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Parameters
h323: Specifies H.323 calls.
sip: Specifies SIP calls.
call-id call-id: Specifies a SIP call by its call ID, a case-insensitive string of 1 to 64 characters. If you do not specify a SIP call, this command displays information for all SIP or H.323 calls.
verbose: Displays detailed information about a SIP call.
Usage guidelines
If you do not specify any parameters, this command displays brief information about all SIP or H.323 calls.
The CPU might be overwhelmed by too many SIP calls and fail to process all packets. In this case, the caller or callee information will be displayed as 0.0.0.0:0.
Examples
# Display brief information about all SIP calls.
<Sysname> display sqa sip call
Caller Callee Call ID
192.168.111.222:65000 192.168.111.223:5000 asdlkfjakdjfkl
192.121.111.252:65012 192.171.251.223:5000 adfdfdffjakdjfkl
Table 1 Command output
Field |
Description |
Caller |
IP address and port number of the calling party. |
Callee |
IP address and port number of the called party. |
Call ID |
ID of a SIP call, which uniquely identifies the call. |
# Display detailed information about a SIP call.
<Sysname> display sqa sip call call-id asdlkfjakdjfkl verbose
Call ID: asdlkfjakdjfkl
Caller information:
IP: 192.168.111.222 Port: 65000 MAC: 0011-2233-CD55
Tag: [email protected]
Callee information:
IP: 192.168.111.123 Port: 65000 MAC: 0111-2AB3-4456
Tag: [email protected]
Type: Audio VLAN: 1024 StartTime: 2019-10-12 14:21:36
MOS(F): 3 MOS(R): 3
Forward flow (octets): 123564 Forward flow (packets): 456215
Reverse flow (octets): 25642354 Reverse flow (packets): 2451235
Table 2 Command output
Field |
Description |
Call ID |
ID of the call, which uniquely identifies the call. |
IP |
IP address of the calling party or called party. |
Port |
Port number of the calling party or called party. |
MAC |
MAC address of the calling party or called party. |
Tag |
Tag of the calling party or called party. The tag is a URL in the format of x@y, where x represents the username or phone number and y represents the domain name or address of the proxy server. |
Type |
Media type: · Audio. · Video. |
VLAN |
ID of the VLAN to which the SIP call belongs. This field displays a hyphen (-) if data of the SIP call is transmitted by the device through a Layer 3 routing interface. |
StartTime |
Time when the SIP call was established. |
MOS(F) |
Mean Opinion Score (MOS) value for the originating voice traffic (traffic from the calling party to the called party). The higher the value, the better the service. This field displays a hyphen (-) if the system fails to obtain the value. |
MOS(R) |
MOS value for the returning voice traffic (traffic from the called party to the calling party). The higher the value, the better the service. This field displays a hyphen (-) if the system fails to obtain the value. |
Forward flow (octets) |
Statistics of the originating voice traffic, in bytes. |
Forward flow (packets) |
Statistics of the originating voice traffic, in packets. |
Reverse flow (octets) |
Statistics of the returning voice traffic, in bytes. |
Reverse flow (packets) |
Statistics of the returning voice traffic, in packets. |
# Display brief information about all H.323 calls.
<Sysname> display sqa h323 call
Caller Callee Call ID
192.168.111.222:65000 192.168.111.223:5000 3e33ecbd-6f1d-1910-8b52-6805ca5d1208
192.121.111.252:65012 192.171.251.223:5000 42910c03-e31c-1910-9a63-000c29209aa9
Table 3 Command output
Field |
Description |
Caller |
IP address and port number of the calling party. |
Callee |
IP address and port number of the called party. |
Call ID |
ID of an H.323 call, which uniquely identifies the call. |
# Display detailed information about an H.323 call.
<Sysname> display sqa h323 call call-id 3e33ecbd-6f1d-1910-8b52-6805ca5d1208 verbose
Call ID: 3e33ecbd-6f1d-1910-8b52-6805ca5d1208
Caller information:
IP: 192.168.111.222 Port: 65000 MAC: 0011-2233-CD55
Callee information:
IP: 192.168.111.123 Port: 65000 MAC: 0111-2AB3-4456
GUID: 42910c03-e31c-1910-9a62-000c29209aa9
Protocol: TCP(6)
Session ID: 2
Type: Audio Vlan: 1 StartTime: 2020-03-04 13:57:53
MOS(F): 3 MOS(R): 3
Forward flow (octets): 123564 Forward flow (packets): 456215
Reverse flow (octets): 25642354 Reverse flow (packets): 2451235
Table 4 Command output
Field |
Description |
Call ID |
ID of the call, which uniquely identifies the call. |
IP |
IP address of the calling party or called party. |
Port |
Port number of the calling party or called party. |
MAC |
MAC address of the calling party or called party. |
GUID |
Global unified identifier that uniquely identifies the H.323 call. |
Protocol |
Protocol type and number: · TCP. · UDP. |
Session ID |
Session ID of the H.323 call. |
Type |
Media type: · Audio. · Video. |
VLAN |
ID of the VLAN to which the H.323 call belongs. |
StartTime |
Time when the H.323 call was established. This field displays a hyphen (-) if data of the SIP call is transmitted by the device through a Layer 3 routing interface. |
MOS(F) |
Mean Opinion Score (MOS) value for the originating voice traffic (traffic from the calling party to the called party). The higher the value, the better the service. This field displays a hyphen (-) if the system fails to obtain the value. |
MOS(R) |
MOS value for the returning voice traffic (traffic from the called party to the calling party). The higher the value, the better the service. This field displays a hyphen (-) if the system fails to obtain the value. |
Forward flow (octets) |
Statistics about the originating voice traffic, in bytes. |
Forward flow (packets) |
Statistics about the originating voice traffic, in packets. |
Reverse flow (octets) |
Statistics about the returning voice traffic, in bytes. |
Reverse flow (packets) |
Statistics about the returning voice traffic, in packets. |
Related commands
sqa-h323 enable
sqa-sip enable
display sqa call-statistics
Use display sqa { h323 | sip } call-statistics to display SIP call statistics.
Syntax
display sqa { h323 | sip } call-statistics
Views
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Parameters
h323: Specifies H.323 calls.
sip: Specifies SIP calls.
Examples
# Display SIP call statistics.
<Sysname> display sqa sip call-statistics
Total calls : 21
Successful calls : 15 (Active: 10)
Timeout calls : 2
Abnormal calls : 3
Table 5 Command output
Field |
Description |
Total calls |
Total number of calls that have been placed. |
Successful calls |
Total number of calls that have been established successfully. |
Active |
Total number of ongoing calls. |
Timeout calls |
Total number of timeout calls. |
Abnormal calls |
Total number of abnormal calls. |
Related commands
sqa-h323 enable
sqa-sip enable
remark
|
NOTE: Support for this command depends on the device model. |
Use remark to re-mark a priority of VoIP protocol packets.
Use undo remark to restore the default.
Syntax
remark { sip | h323 } { dot1p dot1p-value | dscp { dscp-name | dscp-value } }
undo remark { sip | h323 } { dot1p | dscp }
Default
The device does not re-mark the DSCP priority of VoIP protocol packets.
Whether the device re-marks the 802.1p priority of VoIP protocol packets depends on the SQA configuration.
· If SIP or H.323-based SQA is enabled, the device re-marks the 802.1p priority of VoIP protocol packets to the default value (0).
· If SIP or H.323-based SQA is disabled, the device does not re-mark the 802.1p priority of VoIP protocol packets.
Views
SQA view
Predefined user roles
network-admin
network-operator
Parameters
sip: Re-marks a priority of SIP packets.
h323: Re-marks a priority of H.323 packets.
dot1p: Re-marks the 802.1p priority of the specified packets.
dot1p-value: Specifies an 802.1p priority value, in the range of 0 to 7. The greater the value, the higher the 802.1p priority.
dscp: Re-marks the DSCP priority of the specified packets.
dscp-value: Specifies a DSCP priority value by a number, in the range of 0 to 63. The greater the value, the higher the DSCP priority.
dscp-name: Specifies a DSCP priority value by a keyword in Table 6.
Table 6 DSCP keywords and values
Keyword |
DSCP value (binary) |
DSCP value (decimal) |
af11 |
001010 |
10 |
af12 |
001100 |
12 |
af13 |
001110 |
14 |
af21 |
010010 |
18 |
af22 |
010100 |
20 |
af23 |
010110 |
22 |
af31 |
011010 |
26 |
af32 |
011100 |
28 |
af33 |
011110 |
30 |
af41 |
100010 |
34 |
af42 |
100100 |
36 |
af43 |
100110 |
38 |
cs1 |
001000 |
8 |
cs2 |
010000 |
16 |
cs3 |
011000 |
24 |
cs4 |
100000 |
32 |
cs5 |
101000 |
40 |
cs6 |
110000 |
48 |
cs7 |
111000 |
56 |
default |
000000 |
0 |
ef |
101110 |
46 |
Usage guidelines
To cooperate with QoS to schedule application packets of different forwarding priorities, use this command to re-mark a priority of VoIP packets.
You can use the remark { sip | h323 } dot1p dot1p-value command or the remark dot1p command to re-mark the 802.1p priority of VoIP packets. If you configure both of the commands, the 802.1p priority set by using the remark { sip | h323 } dot1p dot1p-value command takes effect.
Examples
# Re-mark SIP packets with DSCP priority 6.
<Sysname> system-view
[Sysname] sqa
[Sysname-sqa] remark sip dscp 6
Related commands
remark dot1p (ACL and QoS Command Reference)
sqa
sqa
Use sqa to enter server quality analysis (SQA) view.
Syntax
sqa
Views
System view
Predefined user roles
network-admin
mdc-admin
Examples
# Enter SQA view.
<Sysname> system-view
[Sysname] sqa
[Sysname-sqa]
sqa-h225 port
Use sqa-h225 port to specify the H.255 listening port number
Use undo sqa-h225 port to restore the default.
Syntax
sqa-h225 port port-number
undo sqa-h225 port
Default
The device listens H.255 packets on port number 1720.
Views
SQA view
Predefined user roles
network-admin
mdc-admin
Parameters
port-number: Specifies the port number on which the device listens for H.255 packets, in the range of 1 to 65534.
Usage guidelines
The H.255 listening port number on the device must be the same as that on the voice server.
Make sure SQA uses different port numbers to listen for SIP and H.255 packets.
Examples
# Specify 3000 as the H.255 listening port number.
<Sysname> system-view
[Sysname] sqa
[Sysname-sqa] sqa-h225 port 3000
Related commands
sqa-h323 enable
sqa-h323 enable
Use sqa-h323 enable to enable H.323-based SQA.
Use undo sqa-h323 enable to disable H.323-based SQA.
Syntax
sqa-h323 enable
undo sqa-h323 enable
Default
H.323-based SQA is disabled.
Views
SQA view
Predefined user roles
network-admin
mdc-admin
Usage guidelines
This feature enables the device to preferentially forward H.323-based multimedia traffic and analyze the traffic to improve multimedia service quality.
SQA does not support analysis of encrypted H.323 protocol packets or fragments.
Examples
# Enable H.323-based SQA.
<Sysname> system-view
[Sysname] sqa
[Sysname-sqa] sqa-h323 enable
sqa-h323 filter address
Use sqa-h323 filter address to specify an IP address range for H.323-based SQA.
Use undo sqa-h323 filter address to restore the default.
Syntax
sqa-h323 filter address start-address end-address
undo sqa-h323 filter address
Default
No IP address range is specified for H.323-based SQA.
Views
SQA view
Predefined user roles
network-admin
mdc-admin
Parameters
start-address: Specifies the start IP address.
end-address: Specifies the end IP address. The end IP address must be higher than or equal to the start IP address.
Usage guidelines
After this command is executed, the device performs SQA only on H.323 calls in the specified IP address range.
If you execute this command multiple times, the most recent configuration takes effect.
Examples
# Specify IP address range from 1.1.1.1 to 1.1.2.1 for H.323-based SQA.
<Sysname> system-view
[Sysname] sqa
[Sysname-sqa] sqa-h323 filter address 1.1.1.1 1.1.2.1
Related commands
sqa-h323 enable
sqa-sip enable
Use sqa-sip enable to enable SIP-based SQA.
Use undo sqa-sip enable to disable SIP-based SQA.
Syntax
sqa-sip enable
undo sqa-sip enable
Default
SIP-based SQA is disabled.
Views
SQA view
Predefined user roles
network-admin
mdc-admin
Usage guidelines
This feature enables the device to preferentially forward SIP-based multimedia traffic and analyze the traffic to improve multimedia service quality.
SQA does not support analysis of encrypted SIP protocol packets or fragments.
Examples
# Enable SIP-based SQA.
<Sysname> system-view
[Sysname] sqa
[Sysname-sqa] sqa-sip enable
sqa-sip filter address
Use sqa-sip filter address to specify an IP address range for SIP-based SQA.
Use undo sqa-sip filter address to restore the default.
Syntax
sqa-sip filter address start-address end-address
undo sqa-sip filter address
Default
No IP address range is specified for SIP-based SQA.
Views
SQA view
Predefined user roles
network-admin
mdc-admin
Parameters
start-address: Specifies the start IP address.
end-address: Specifies the end IP address. The end IP address must be higher than or equal to the start IP address.
Usage guidelines
After this command is executed, the device performs SQA only on SIP calls in the specified IP address range.
If you execute this command multiple times, the most recent configuration takes effect.
Examples
# Specify IP address range from 1.1.1.1 to 1.1.2.1 for SIP-based SQA.
<Sysname> system-view
[Sysname] sqa
[Sysname-sqa] sqa-sip filter address 1.1.1.1 1.1.2.1
Related commands
sqa-sip enable
sqa-sip port
Use sqa-sip port to specify the SIP listening port number
Use undo sqa-sip port to restore the default.
Syntax
sqa-sip port port-number
undo sqa-sip port
Default
The device listens SIP packets on port number 5060.
Views
SQA view
Predefined user roles
network-admin
mdc-admin
Parameters
port-number: Specifies the port number on which the device listens for SIP packets, in the range of 1 to 65534.
Usage guidelines
The SIP listening port number on the device must be the same as that on the voice server.
Make sure SQA uses different port numbers to listen for SIP and H.255 packets.
Examples
# Specify 5066 as the SIP listening port number.
<Sysname> system-view
[Sysname] sqa
[Sysname-sqa] sqa-sip port 5066
Related commands
sqa-sip enable