Chapter 34 System Remote Management

34.7 Configuring FTP

You can upload and download the NXC’s firmware and configuration files using FTP. To use this feature, your computer must have an FTP client.

34.7.1 FTP Commands

The following table describes the commands available for FTP. You must use the configure terminal command to enter the configuration mode before you can use these commands.

Table 129 Command Summary: FTP

COMMAND

DESCRIPTION

[no] ip ftp server

Allows FTP access to the NXC. The no

 

command disables FTP access to the NXC.

[no] ip ftp server cert certificate_name

Sets a certificate to be used to identify the NXC.

 

The no command resets the certificate used by

 

the FTP server to the factory default.

[no] ip ftp server port <1..65535>

Sets the FTP service port number. The no

 

command resets the FTP service port number to

 

the factory default (21).

 

 

[no] ip ftp server tls-required

Allows FTP access over TLS. The no command

 

disables FTP access over TLS.

ip ftp server rule {rule_numberappendinsert

Sets a service control rule for FTP service.

rule_number} access-group {ALLaddress_object}

address_object: The name of the IP address

zone {ALLzone_object} action {acceptdeny}

(group) object. You may use 1-31 alphanumeric

 

characters, underscores(_), or dashes (-), but the

 

first character cannot be a number. This value is

 

case-sensitive.

 

zone_object: The name of the zone. Use up to

 

31 characters (a-zA-Z0-9_-). The name cannot

 

start with a number. This value is case-sensitive.

 

You can also use pre-defined zone names like

 

LAN and WLAN.

 

 

ip ftp server rule move rule_number to

Changes the index number of a service control

rule_number

rule.

 

 

no ip ftp server rule rule_number

Deletes a service control rule for FTP service.

show ip ftp server status

Displays FTP settings.

34.7.2 FTP Commands Examples

This command sets a service control rule that allowed the computers with the IP addresses matching the specified address object to access the specified zone using FTP service.

Router# configure terminal

Router(config)# ip ftp server rule 4 access-group Sales zone LAN action accept

 

219

NXC CLI Reference Guide