Skip to content

Instantly share code, notes, and snippets.

@NilashishC
Created April 27, 2021 13:42
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/d309c2a6035fb828bb5da4784fc0fc2b to your computer and use it in GitHub Desktop.
Save NilashishC/d309c2a6035fb828bb5da4784fc0fc2b to your computer and use it in GitHub Desktop.
route_maps:
- 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
- entries:
- action: permit
sequence: 10
route_map: rmap2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment