Skip to content

Instantly share code, notes, and snippets.

@NilashishC
Last active April 27, 2021 13: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/7e36a3952e4282dc8bbccf69a2583c90 to your computer and use it in GitHub Desktop.
Save NilashishC/7e36a3952e4282dc8bbccf69a2583c90 to your computer and use it in GitHub Desktop.
"parsed": [
{
"entries": [
{
"action": "permit",
"description": "rmap1-10-permit",
"match": {
"as_number": {
"asn": [
"65564"
]
},
"as_path": [
"Allow40"
],
"ip": {
"address": {
"access_list": "acl_1"
}
}
},
"sequence": 10
},
{
"action": "deny",
"description": "rmap1-20-deny",
"match": {
"community": {
"community_list": [
"BGPCommunity1",
"BGPCommunity2"
]
},
"ip": {
"address": {
"prefix_lists": [
"AllowPrefix1",
"AllowPrefix2"
]
}
}
},
"sequence": 20,
"set": {
"dampening": {
"half_life": 30,
"max_suppress_time": 120,
"start_reuse_route": 1500,
"start_suppress_route": 10000
}
}
}
],
"route_map": "rmap1"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment