Configure replace from terminal on IOS/IOS-XE

Today I stumbled on a problem that I wanted to replace VPN names in my whole config on CSR1000v. 

Instruction on how to do it I’ve found on invaluable Ivan Pepelnjak’s blog:

http://blog.ipspace.net/2008/01/copy-text-files-into-router-flash.html

Basically I created a file in Notepad++, replaced what I wanted then I copied the new content to new file on flash via ssh session using the instruction in the link provided above e.g.

Afterwards I just replaced current config with the one in file: 

 And voila!

BGP Soft Reset on IOS-XE

While trying to connect CSR1000v to Quagga I encountered the issue that I could not see received routes:

By default (it seems) that soft reconfiguration for inboud updates is not enabled (as it requires addtional memory resources to store received-routes in BGP Adj-RIB-in table) .

Configuration is as simple as: