Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


This script parses the AMPR encap file to generate routes. With the release of the AMPR API, this is no longer necessary. A new version of this script that utilizes the AMPR API is available at Maintenance efforts will be focused on the new python-amprapi.

Reads AMPR encap format from stdin and update the target Mikrotik router with new, removed, or changed routes from the encap.


cat encap.txt | ./ [-v] [-n] [-f] TARGET_IP

-f force. Continue even when sanity check fails.

-n dry-run. No changes will be made to target router.

-v verbose mode. Commands to target router will be printed.

You can’t perform that action at this time.