233
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 is 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 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.