03-06-2020 06:01 AM
Hello,
is it possible to automate configuration backups to an SCP server using the Archive command sourced from the Management VRF and Management interface?
Trying to accomplish this using an ASR, 4948, and ASA, and Nexus 5K.
So far I've been able to accomplish this using a managed IP (not a management interface or management VRF) from a variety of Cisco access layer switches, but not from the above devices using the Management interface in a Management VRF.
Before digging further into configuring I would like to know if it is even supported?
Thank you, Pat
03-06-2020 07:08 AM - edited 03-06-2020 07:13 AM
Hi
these are the below mgmt supported protocols and it looks like scp is vrf aware too once the source is set but i havent tried this through archive before , im just seeing can i send it to my linux server with scp , ll our local switches are through mgmt ports and the mgmt traffic sourced to use it , whats happening when you try ?
Prerequisites for VRF-Aware SCP
Ensure that Secure Shell (SSH) connection is enabled.
Ensure that Virtual Routing and Forwarding (VRF) configuration is available on the device.
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
Before You Begin
Configure Virtual Routing and Forwarding (VRF) aware interfaces.
SUMMARY STEPS
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
###########
The Ethernet management port supports these features:
03-06-2020 07:17 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide