R0106-HP MSR Router Series Network Management and Monitoring Command Reference(V7)
69
# In ICMP template view, configure the source IP address for ICMP echo requests as 10.1.1.1.
<Sysname> system-view
[Sysname] nqa template icmp icmptplt
[Sysname-nqatplt-icmp-icmptplt] source ip 10.1.1.1
Related commands
source interface
source ipv6
Use source ipv6 to configure the source IPv6 address for probe packets.
Use undo source ipv6 to remove the configured source IPv6 address. The IPv6 address of the interface
that sends a probe packet serves as the source IPv6 address of the probe packet.
Syntax
source ipv6 ipv6-address
undo source ipv6
Default
No source IPv6 address is configured for probe packets.
Views
Any NQA template view
Predefined user roles
network-admin
Parameters
ipv6-address: Specifies the source IPv6 address for probe packets. IPv6 link-local addresses are not
supported.
Usage guidelines
If you configure both the source interface and source ipv6 commands for an ICMP echo operation, the
most recent configuration takes effect.
The specified source IPv6 address must be the IPv6 address of a local interface. The local interface must
be up. Otherwise, no probe packets can be sent out.
For an NQA template, if the source and destination addresses have different IP versions, the source
address does not take effect.
Examples
# In ICMP template view, configure the source IPv6 address for ICMP echo requests as 1::1.
<Sysname> system-view
[Sysname] nqa template icmp icmptplt
[Sysname-nqatplt-icmp-icmptplt] source ipv6 1::1
Related commands
source interface