46
Examples
# Set the data transmission mode to passive for the FTP operation.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type ftp
[Sysname-nqa-admin-test-ftp] mode passive
# In FTP template view, set the data transmission mode to passive for the FTP operation.
<Sysname> system-view
[Sysname] nqa template ftp ftptplt
[Sysname-nqatplt-ftp-ftptplt] mode passive
next-hop ip
Use next-hop ip to specify the next hop IPv4 address for probe packets.
Use undo next-hop ip to restore the default.
Syntax
next-hop ip ip-address
undo next-hop ip
Default
No next hop IPv4 address is specified for probe packets.
Views
ICMP echo operation view
ICMP/TCP half open template view
Predefined user roles
network-admin
Parameters
ip-address: Specifies the IPv4 address of the next hop.
Usage guidelines
If the next hop IPv4 address is not configured, the device searches the routing table to determine the
next hop IPv4 address for the probe packets.
Examples
# Specify 10.1.1.1 as the next hop IPv4 address for the ICMP echo operation.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type icmp-echo
[Sysname-nqa-admin-test-icmp-echo] next-hop ip 10.1.1.1
next-hop ipv6
Use next-hop ipv6 to specify the next hop IPv6 address for probe packets.
Use undo next-hop ipv6 to restore the default.
Syntax
next-hop ipv6 ipv6-address