903
Configuring IP Unicast Routing
Configuring Multi-VRF CE
User Interface for FTP and TFTP
FTP and TFTP are VRF-aware, which means that file transfer is supported across an interface within a VRF instance. To
specify a VRF as a source for FTP or TFTP connections, the VRF must be associated with the same interface that you
configure with the ip ftp source-interface command. In this configuration, FTP looks for the destination IP address for
file transfer in the specified VRF table. If the specified source interface is not up, Cisco IOS software selects the address
of the interface closest to the destination as the source address.
To specify the IP address of an interface as the source address for TFTP connections, use the ip tftp source-interface
show mode command. To return to the default, use the no form of this command.
EXAMPLE
The following example shows how to configure the switch to use the VRF table named vpn1 to look for the destination
IP address for the transfer of FTP packets:
Switch# configure terminal
Switch(config)# ip ftp source-interface ethernet 0
Switch(config)# ip vrf vpn1
Switch(config-vrf)# rd 200:1
Switch(config-vrf)# route-target both 200:1
Switch(config-vrf)# interface ethernet 0
Switch(config-if)# ip vrf forwarding vpn1
Switch(config-if)# end
User Interface for VRF-Aware RADIUS
To configure VRF-aware RADIUS, you must first enable AAA on a RADIUS server. The switch supports the ip vrf
forwarding vrf-name server-group configuration and the ip radius source-interface global configuration commands.
Configuring a VPN Routing Session
Routing within the VPN can be configured with any supported routing protocol (RIP, OSPF, EIGRP, or BGP) or with static
routing. The configuration shown here is for OSPF, but the process is the same for other protocols.
Command Purpose
1. configure terminal Enter global configuration mode.
2. ip ftp source-interface
interface-type interface-number
Specify the source IP address for FTP connections.
3. end Return to privileged EXEC mode.
4. copy running-config
startup-config
(Optional) Save your entries in the configuration file.
Command Purpose
1. configure terminal Enter global configuration mode.
2. ip tftp source-interface
interface-type interface-number
Specify the source IP address for TFTP connections.
3. end Return to privileged EXEC mode.
4. copy running-config
startup-config
(Optional) Save your entries in the configuration file.