Skip to content

Instantly share code, notes, and snippets.

@bluecmd
Created May 16, 2025 15:16
Show Gist options
  • Save bluecmd/e04bfd1ca60960aae6f9f9d7808b92c6 to your computer and use it in GitHub Desktop.
Save bluecmd/e04bfd1ca60960aae6f9f9d7808b92c6 to your computer and use it in GitHub Desktop.
L3V4V6 BGP cull
{
"ACL_TABLE": {
"ACL-IPV4V6-PERMIT-ALL-EXCEPT-BGP": {
"policy_desc": "IXP Participant Affected by Maintenance",
"ports": [
"Ethernet192"
],
"stage": "ingress",
"type": "L3V4V6"
}
},
"ACL_RULE": {
"ACL-IPV4V6-PERMIT-ALL-EXCEPT-BGP|DENY-DST-BGPV4": {
"PRIORITY": "5",
"PACKET_ACTION": "DROP",
"SRC_IP": "185.1.215.0/24",
"DST_IP": "185.1.215.0/24",
"L4_DST_PORT": "179"
},
"ACL-IPV4V6-PERMIT-ALL-EXCEPT-BGP|DENY-SRC-BGPV4": {
"PRIORITY": "4",
"PACKET_ACTION": "DROP",
"SRC_IP": "185.1.215.0/24",
"DST_IP": "185.1.215.0/24",
"L4_SRC_PORT": "179"
},
"ACL-IPV4V6-PERMIT-ALL-EXCEPT-BGP|DENY-DST-BGP": {
"PRIORITY": "3",
"PACKET_ACTION": "DROP",
"SRC_IPV6": "2001:7f8:117::/64",
"DST_IPV6": "2001:7f8:117::/64",
"L4_DST_PORT": "179"
},
"ACL-IPV4V6-PERMIT-ALL-EXCEPT-BGP|DENY-SRC-BGP": {
"PRIORITY": "2",
"PACKET_ACTION": "DROP",
"SRC_IPV6": "2001:7f8:117::/64",
"DST_IPV6": "2001:7f8:117::/64",
"L4_SRC_PORT": "179"
},
"ACL-IPV4V6-PERMIT-ALL-EXCEPT-BGP|PERMIT-ANY": {
"PRIORITY": "1",
"PACKET_ACTION": "FORWARD",
"IP_TYPE": "ANY"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment