ip nat ftp-control-port

Use this command to specify the IPv4 NAT FTP control port.

Syntax

ip nat ftp-control-port port-number
no ip nat ftp-control-port

Parameters

port-number Specifies the FTP control port. The default value is port 21.

Defaults

The default FTP control port is 21.

Mode

Configuration command, Global configuration.

Usage

The “no” form of the command resets the FTP control port to the default value of port 21.

Example

This example sets the NAT FTP control port to 22:

System(rw-config)->ip nat ftp-control-port 22