43
mode
Use
mode
to set the data transmission mode for the FTP operation.
Use
undo mode
to restore the default.
Syntax
mode
{
active
|
passive
}
undo
mode
Default
The FTP operation uses the data transmission mode
active
.
Views
FTP operation view, FTP template view
Predefined user roles
network-admin
mdc-admin
Parameters
active
: Sets the data transmission mode to active. The FTP server initiates a connection request.
passive
: Sets the data transmission mode to passive. The FTP client initiates a connection request.
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
Use
next-hop
to specify the next hop for the ICMP echo operation.
Use
undo next-hop
to remove the next hop IP address.
Syntax
next-hop
ip-address
undo
next-hop
Default
No next hop IP address is configured for the ICMP echo operation.
Views
ICMP echo operation view
Predefined user roles
network-admin