Skip to content

Instantly share code, notes, and snippets.

@NilashishC
Last active April 27, 2021 13:38
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/c5dc207aea85c1242b91aab85eaa02cd to your computer and use it in GitHub Desktop.
Save NilashishC/c5dc207aea85c1242b91aab85eaa02cd to your computer and use it in GitHub Desktop.
route_maps:
- entries:
- action: deny
description: rmap1-20-deny
match:
community:
community_list:
- BGPCommunity2
ip:
address:
prefix_lists:
- AllowPrefix1
- AllowPrefix2
access_list: acl_1
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
continue_sequence: 40
match:
ipv6:
address:
prefix_lists:
- AllowIPv6Prefix
interfaces:
- Ethernet1/1
set:
as_path:
prepend:
as_number:
- "65563"
- "65568"
- "65569"
extcomm_list: BGPExtCommunity
- sequence: 30
action: permit
description: rmap2-30-permit
match:
ipv6:
address:
prefix_lists:
- AllowIPv6Prefix2
- sequence: 40
action: deny
description: rmap2-40-deny
match:
route_types:
- level-1
- level-2
tags:
- 2
ip:
multicast:
rp:
prefix: 192.0.2.0/24
rp_type: ASM
source: 203.0.113.0/24
group:
prefix: 239.0.0.0/24
route_map: rmap2
- entries:
- action: deny
description: rmap3-20-deny
sequence: 20
route_map: rmap3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment