All scripts
routing
Expert
5–15 min

BGP Community Framework Deployer

Deploy a complete BGP community scheme: origin tags, traffic-engineering communities, NO_EXPORT/BLACKHOLE and large-community (RFC 8092) per vendor — IOS-XR/JunOS/EOS/Nokia.

Cisco IOS-XR
Juniper
Arista
Nokia SR OS
Open in GeneratorOpen in Platform
You're viewing a preview

The full script, parameters, and execution console are available with a free account.

Already have access? Sign in →

Capabilities

  • Origin tag communities
  • Traffic-engineering communities
  • NO_EXPORT / BLACKHOLE
  • Large-community RFC 8092
  • Per-vendor route-policy render
  • Dry-run diff
  • Fleet push

Required inputs

Parameters the script accepts. Defaults shown; some are vendor- or context-gated.

ParameterTypeDefaultNotes
Local ASN
asn
number65001
Blackhole community
blackhole_community
string65001:666
Use large communities
use_large_community
booltrue

Hint 1Name your vendors and OS versions

Mention the exact platforms you run (Cisco IOS-XR, Juniper, Arista, …) so the generated routing logic uses the right CLI/NETCONF syntax.

Hint 2State your real thresholds

Provide concrete values for Local ASN, Blackhole community, Use large communities instead of the defaults — they shape what counts as a fault.

Hint 3Prioritize the checks you need

This tool can origin tag communities and traffic-engineering communities. Ask for the subset relevant to your incident to keep output focused.

Hint 4Describe your inventory format

Tell the assistant whether your device list is CSV, YAML, or JSON and which columns it has, so parsing matches your data.

Sample inventory schema

Authoritative shape of the device/policy data this script consumes.

routers.csv
csv
Routers and platforms for community deployment
terminal
hostname,platform,role
cr1,cisco_xr,core
pe1,juniper,edge
pe2,nokia_sros,edge

Expected output

Reference terminal output the script should produce — used as a stylistic and structural target.

terminal
[2026-06-12] INFO  Rendering BGP community framework for AS65001...
  origin: 65001:100 (customer) 65001:200 (peer) 65001:300 (transit)
  TE: 65001:80/90/110 (LP) · blackhole 65001:666
  large-community 65001:1:0 (RFC 8092) enabled
[DRY-RUN] cr1.iosxr: route-policy COMMUNITY_FRAMEWORK 38 lines
Summary: 6 routers rendered · 0 errors