Skip to content

FTP

FTP (File Transfer Protocol) client configuration on IOS-XR controls outbound file transfer behavior per VRF. Each VRF binding specifies the source interface, username and password credentials, anonymous password for unauthenticated access, and whether to use passive mode for data connections.

Diagram
NameTypeConstraintMandatoryDefault Value
ftpClass[ftp]No

NameTypeConstraintMandatoryDefault Value
clientClass[client]No

NameTypeConstraintMandatoryDefault Value
vrfsList[vrfs]No

vrfs (iosxr.devices.configuration.ftp.client)

Section titled “vrfs (iosxr.devices.configuration.ftp.client)”
NameTypeConstraintMandatoryDefault Value
nameStringYes
anonymous_passwordStringNo
passiveBooleantrue, falseNo
passwordStringNo
password_typeChoice7No
source_interfaceStringNo
usernameStringNo

Example-1: Configure FTP client.

iosxr:
devices:
- name: router-1
host: 10.10.10.1:57400
configuration:
ftp:
client:
vrfs:
- name: VRF1
source_interface: Loopback0
username: ftpuser
password_type: 7
password: "13061E010803"
- name: VRF2
passive: true
source_interface: GigabitEthernet0/0/0/0
username: admin
password_type: 7
password: "13061E010803"