PermitANY

Config Management · python · 29 copies

BGP Community Tagger

Generates BGP community tagging policy for IOS/IOS-XE, IOS-XR, NX-OS, Arista EOS and Junos from one set of prefix rules, and optionally pushes it with verification and automatic rollback. Gives each rule its own prefix-list so communities are not cross-applied, emits the trailing permit that stops a route-map silently dropping every unmatched prefix, and validates every prefix and community string before generating anything. Dry-run by default; pushes use commit-confirmed on IOS-XR and Junos.

  • Arista EOS
  • Cisco IOS
  • Cisco IOS-XE
  • Cisco IOS-XR
  • Junos
  • Cisco NX-OS
$pip install "netmiko>=4.3" "PyYAML>=6.0"
terminal

Tags

bgpcommunityroute-maproute-policyconfignetmikopolicyyamlinventory