VRF-Aware SCP
The VRF-Aware SCP feature applies the secure copy protocol (SCP) functionality to Virtual Routing and Forwarding (VRF) interfaces using the Secure Shell (SSH) application to copy device configurations or device image files.
- Finding Feature Information
- Prerequisites for VRF-Aware SCP
- Information About VRF-Aware SCP
- How to Configure VRF-Aware SCP
- Configuration Examples for VRF-Aware SCP
- Additional References for VRF-Aware SCP
- Feature Information for VRF-Aware SCP
Finding Feature Information
Your software release may not support all the features documented in this module. For the latest caveats and feature information, see Bug Search Tool and the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the feature information table at the end of this module.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Prerequisites for VRF-Aware SCP
Information About VRF-Aware SCP
SCP and SSH
The secure copy protocol (SCP) feature allows a user with appropriate authorization to copy any file that exists in the Cisco IOS File System (IFS) to and from a device by using the copy command. Being Virtual Routing and Forwarding (VRF) aware, the SCP feature can provide the service only to a specific group or interface rather than providing global access and configuration. The VRF-aware SCP feature enables administrators to have more control and added security.
SCP relies on Secure Shell (SSH) for security and authentication.
Use the ip ssh source-interface command to source SSH traffic from any interface, including a VRF interface.
How to Configure VRF-Aware SCP
Configuring SCP to Use VRF-Aware Interface
Configure Virtual Routing and Forwarding (VRF) aware interfaces.
1.
enable
2.
configure
terminal
3.
ip ssh source-interface
interface
4.
exit
5.
copy running-config
scp://username@destination-host-address[/destination-directory][/destination-filename]
6.
copy
scp://username@source-host-address[/source-directory][/source-filename]
bootflash:
7.
exit
DETAILED STEPS
Configuration Examples for VRF-Aware SCP
Example: Configuring SCP Using VRF-Aware Interface
Device> enable Device# configure terminal Device(config)# ip ssh source-interface GigabitEthernet 1/1 Device(config)# exit Device# copy running-config scp://guest@10.76.76.160/router.cfg Address or name of remote host [10.76.76.160]? Destination username [guest]? Destination filename [router.cfg]? Writing router.cfg Password: ! Sink: C0644 2574 router.cfg 2574 bytes copied in 20.852 secs (123 bytes/sec) Device# copy scp://guest@10.76.76.160/router.cfg bootflash: Destination filename [router.cfg]? Password: Sending file modes: C0644 2574 router.cfg ! 2574 bytes copied in 17.975 secs (143 bytes/sec) Device# exit
Additional References for VRF-Aware SCP
Related Documents
Related Topic |
Document Title |
---|---|
Cisco IOS commands |
|
Security commands |
|
Secure Copy Protocol |
“Secure Copy” module in the Secure Shell Configuration Guide publication |
Technical Assistance
Description |
Link |
---|---|
The Cisco Support website provides extensive online resources, including documentation and tools for troubleshooting and resolving technical issues with Cisco products and technologies. To receive security and technical information about your products, you can subscribe to various services, such as the Product Alert Tool (accessed from Field Notices), the Cisco Technical Services Newsletter, and Really Simple Syndication (RSS) Feeds. Access to most tools on the Cisco Support website requires a Cisco.com user ID and password. |
Feature Information for VRF-Aware SCP
The following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Feature Name |
Releases |
Feature Information |
---|---|---|
VRF-Aware SCP |
15.2(1)SY |
The VRF-Aware SCP feature applies the secure copy protocol (SCP) functionality to Virtual Routing and Forwarding (VRF) interfaces using the Secure Shell (SSH) application to copy device configurations or device image files. The following commands were introduced or modified by this feature: ip ssh source-interface. |