R0106-HP MSR Router Series Network Management and Monitoring Command Reference(V7)

70
source port
Use source port to configure the source port for probe packets.
Use undo source port to remove the configured source port number.
Syntax
source port port-number
undo source port
Default
No source port number is configured for probe packets.
Views
SNMP/voice operation view
UDP echo operation view
UDP jitter operation view
DNS template view
Predefined user roles
network-admin
Parameters
port-number: Specifies the source port number in the range of 1 to 65535.
Examples
# Configure port 8000 as the source port for probe packets in the UDP echo operation.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type udp-echo
[Sysname-nqa-admin-test-udp-echo] source port 8000
# In DNS template view, configure port 8000 as the source port for probe packets in the DNS operation.
<Sysname> system-view
[Sysname] nqa template dns dnstplt
[Sysname-nqatplt-dns-dnstplt] source port 8000
statistics hold-time
Use statistics hold-time to configure the hold time of statistics groups for an NQA operation.
Use undo statistics hold-time to restore the default.
Syntax
statistics hold-time hold-time
undo statistics hold-time
Default
The hold time of statistics groups is 120 minutes.
Views
Any operation view