Resource Type: cisco_route_map
- Defined in:
- lib/puppet/type/cisco_route_map.rb
- Providers:
-
cisco
Overview
Manages a route map.
cisco_route_map <sequence> <action>":
..attributes..
<rmname> is the name of the route map. <sequence> is sequence to insert/delete existing route-map entry <action> is permit or deny.
Examples: cisco_route_map 123 permit’:
ensure => 'present',
description => 'Testing',
match_as_number => ['3', '22-34', '38'],
match_as_number_as_path_list => ['abc', 'xyz', 'pqr'],
match_community => ['public', 'private'],
match_community_exact_match => true,
match_evpn_route_type_1 => true,
match_evpn_route_type_2_all => true,
match_evpn_route_type_2_mac_ip => true,
match_evpn_route_type_2_mac_only => true,
match_evpn_route_type_3 => true,
match_evpn_route_type_4 => true,
match_evpn_route_type_5 => true,
match_evpn_route_type_6 => true,
match_evpn_route_type_all => true,
match_ext_community => ['epublic', 'eprivate'],
match_ext_community_exact_match => true,
match_interface => ['loopback2', 'mgmt0'],
match_ipv4_addr_access_list => 'access1',
match_ipv4_addr_prefix_list => ['p1', 'p7', 'pre5'],
match_ipv4_multicast_enable => true,
match_ipv4_multicast_src_addr => '242.1.1.1/32',
match_ipv4_multicast_group_addr => '239.2.2.2/32',
match_ipv4_multicast_group_range_begin_addr => default,
match_ipv4_multicast_group_range_end_addr => default,
match_ipv4_multicast_rp_addr => '242.1.1.1/32',
match_ipv4_multicast_rp_type => 'ASM',
match_ipv4_next_hop_prefix_list => ['nh5', 'nh1', 'nh42'],
match_ipv4_route_src_prefix_list => ['rs2', 'rs22', 'pre15'],
match_ipv6_addr_access_list => 'v6access',
match_ipv6_addr_prefix_list => ['pv6', 'pv67', 'prev6'],
match_ipv6_multicast_enable => true,
match_ipv6_multicast_src_addr => '2001::348:0:0/96',
match_ipv6_multicast_group_addr => 'ff0e::2:101:0:0/96',
match_ipv6_multicast_group_range_begin_addr => default,
match_ipv6_multicast_group_range_end_addr => default,
match_ipv6_multicast_rp_addr => '2001::348:0:0/96',
match_ipv6_multicast_rp_type => 'ASM',
match_ipv6_next_hop_prefix_list => ['nhv6', 'v6nh1', 'nhv42'],
match_ipv6_route_src_prefix_list => ['rsv6', 'rs22v6', 'prev6'],
match_length => ['45', '345'],
match_mac_list => ['mac1', 'listmac'],
match_metric => [['8', '0'], ['224', '9']]
match_ospf_area => ['10', '7', '222'],
match_route_type_external => true,
match_route_type_inter_area => true,
match_route_type_internal => true,
match_route_type_intra_area => true,
match_route_type_level_1 => true,
match_route_type_level_2 => true,
match_route_type_local => true,
match_route_type_nssa_external => true,
match_route_type_type_1 => true,
match_route_type_type_2 => true,
match_src_proto => ['tcp', 'udp', 'igmp'],
match_tag => ['5', '342', '28', '3221'],
match_vlan => '32, 45-200, 300-399, 402',
set_as_path_prepend => ['55.77', '12', '45.3'],
set_as_path_prepend_last_as => 1,
set_as_path_tag => true,
set_comm_list => 'abc',
set_community_additive => true,
set_community_asn => ['11:22', '33:44', '123:11'],
set_community_internet => true,
set_community_local_as => true,
set_community_no_advtertise => true,
set_community_no_export => true,
set_community_none => false,
set_dampening_half_life => 6,
set_dampening_max_duation => 55,
set_dampening_reuse => 22,
set_dampening_suppress => 44,
set_distance_igp_ebgp => 44,
set_dampening_suppress => 44,
set_dampening_suppress => 1,
set_distance_internal => 2,
set_distance_local => 3,
set_extcomm_list => 'xyz',
set_extcommunity_4bytes_additive => true,
set_extcommunity_4bytes_non_transitive => ['21:42', '43:22', '59:17'],
set_extcommunity_4bytes_transitive => ['11:22', '33:44', '66:77'],
set_extcommunity_cost_igp => [[0, 23], [3, 33]],
set_extcommunity_cost_pre_bestpath => [[23, 999], [88, 482]],
set_extcommunity_rt_additive => true,
set_extcommunity_rt_asn => ['11:22', '123.256:543'],
set_forwarding_addr => true,
set_interface => 'Null0',
set_ipv4_default_next_hop => ['1.1.1.1', '2.2.2.2'],
set_ipv4_default_next_hop_load_share => true,
set_ipv4_next_hop => ['3.3.3.3', '4.4.4.4'],
set_ipv4_next_hop_load_share => true,
set_ipv4_next_hop_peer_addr => true,
set_ipv4_next_hop_redist => true,
set_ipv4_next_hop_unchanged => true,
set_ipv4_precedence => 'critical',
set_ipv4_prefix => 'abcdef',
set_ipv6_default_next_hop => ['2000::1', '2000::11'],
set_ipv6_default_next_hop_load_share => true,
set_ipv6_next_hop => ['2000::1', '2000::11'],
set_ipv6_next_hop_load_share => true,
set_ipv6_next_hop_peer_addr => true,
set_ipv6_next_hop_redist => true,
set_ipv6_next_hop_unchanged => true,
set_ipv6_precedence => 'network',
set_ipv6_prefix => 'wxyz',
set_level => 'level-1',
set_local_preference => 100,
set_metric_additive => false,
set_metric_bandwidth => 44,
set_metric_delay => 55,
set_metric_reliability => 66,
set_metric_effective_bandwidth => 77,
set_metric_mtu => 88,
set_metric_type => 'external',
set_nssa_only => true,
set_origin => 'egp',
set_path_selection => true,
set_tag => 101,
set_vrf => 'igp',
set_weight => 222,