73
Examples
# In ICMP template view, configure the source IPv6 address as 1::1 for ICMP echo requests.
<Sysname> system-view
[Sysname] nqa template icmp icmptplt
[Sysname-nqatplt-icmp-icmptplt] source ipv6 1::1
Related commands
source interface
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
UDP tracert operation view
DNS template view
Predefined user roles
network-admin
mdc-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.