Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
- BGPCommunity3
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
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: 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_range:
first: 239.0.0.1
last: 239.255.255.255
route_map: rmap2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment