Skip to content

Instantly share code, notes, and snippets.

@NilashishC
Last active April 27, 2021 11:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NilashishC/127144ce409d5468e2a6b5222f7e09ea to your computer and use it in GitHub Desktop.
Save NilashishC/127144ce409d5468e2a6b5222f7e09ea to your computer and use it in GitHub Desktop.
--- before
+++ after
@@ -1,7 +1,7 @@
{
"[0].entries[0].action": "deny",
"[0].entries[0].description": "rmap1-20-deny",
- "[0].entries[0].match.community.community_list[0]": "BGPCommunity2",
+ "[0].entries[0].match.community.community_list[0]": "BGPCommunity1",
"[0].entries[0].match.ip.address.access_list": "acl_1",
"[0].entries[0].match.ip.address.prefix_lists[0]": "AllowPrefix1",
"[0].entries[0].match.ip.address.prefix_lists[1]": "AllowPrefix2",
@@ -22,14 +22,14 @@
"[1].entries[0].set.extcomm_list": "BGPExtCommunity",
"[1].entries[1].action": "permit",
"[1].entries[1].description": "rmap2-30-permit",
- "[1].entries[1].match.ipv6.address.prefix_lists[0]": "AllowIPv6Prefix2",
+ "[1].entries[1].match.ipv6.address.prefix_lists[0]": "AllowIPv6Prefix1",
"[1].entries[1].sequence": 30,
"[1].entries[2].action": "deny",
"[1].entries[2].description": "rmap2-40-deny",
"[1].entries[2].match.ip.multicast.group.prefix": "239.0.0.0/24",
"[1].entries[2].match.ip.multicast.rp.prefix": "192.0.2.0/24",
"[1].entries[2].match.ip.multicast.rp.rp_type": "ASM",
- "[1].entries[2].match.ip.multicast.source": "203.0.113.0/24",
+ "[1].entries[2].match.ip.multicast.source": "198.51.100.0/24",
"[1].entries[2].match.route_types[0]": "level-1",
"[1].entries[2].match.route_types[1]": "level-2",
"[1].entries[2].match.tags[0]": 2,
@@ -38,5 +38,10 @@
"[2].entries[0].action": "deny",
"[2].entries[0].description": "rmap3-20-deny",
"[2].entries[0].sequence": 20,
- "[2].route_map": "rmap3"
+ "[2].route_map": "rmap3",
+ "[3].entries[0].action": "deny",
+ "[3].entries[0].description": "rmap4-10-deny",
+ "[3].entries[0].match.route_types[0]": "level-2",
+ "[3].entries[0].sequence": 10,
+ "[3].route_map": "rmap4"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment