Resource Type: cisco_bgp_af
- Defined in:
- lib/puppet/type/cisco_bgp_af.rb
- Providers:
-
cisco
Overview
Manages BGP Address-Family configuration.
~~~puppet cisco_bgp_af { ‘<title>’:
..attributes..
} ~~~
‘<title>` is the title of the bgp_af resource.
Example:
$injectmap = [[‘nyc’, ‘sfo’], [‘sjc’, ‘sfo’, ‘copy-attributes’] $network_list = [[‘192.168.5.0/24’, ‘rtmap1’], [‘192.168.10.0/24’]] $redistribute = [[‘eigrp 1’, ‘e_rtmap_29’], [‘ospf 3’, ‘o_rtmap’]] ~~~puppet
cisco_bgp_af { 'raleigh':
ensure => present,
asn => '55',
vrf => 'default',
afi => 'ipv4',
safi => 'unicast',
additional_paths_install => 'true',
additional_paths_receive => 'true',
additional_paths_selection => 'Route_Map',
additional_paths_send => 'true',
advertise_l2vpn_evpn => 'true',
client_to_client => 'true',
dampen_igp_metric => 200,
dampening_state => 'true',
dampening_half_time => 5,
dampening_max_suppress_time => 200,
dampening_reuse_time => 10,
dampening_routemap => 'Dampening_Route_Map',
dampening_suppress_time => 15,
default_information_originate => 'true',
default_metric => 50,
distance_ebgp => 20,
distance_ibgp => 40,
distance_local => 60,
inject_map => $injectmap,
maximum_paths => '7',
maximum_paths_ibgp => '7',
next_hop_route_map => 'Default_Route_Map',
network => $network_list,
redistribute => $redistribute,
suppress_inactive => 'true',
table_map => 'sjc',
table_map_filter => 'true',
}
~~~
Example Title Patterns:
~~~puppet
cisco_bgp_af { 'new_york':
ensure => present,
asn => '1',
vrf => 'red',
afi => 'ipv4',
safi => 'unicast',
~~~
~~~puppet
cisco_bgp_af { '1':
ensure => present,
vrf => 'red',
afi => 'ipv4',
safi => 'unicast',
~~~
~~~puppet
cisco_bgp_af { '1 red':
ensure => present,
afi => 'ipv4',
safi => 'unicast',
~~~
cisco_bgp_af { '1 red ipv4':
ensure => present,
safi => 'unicast',
~~~
~~~puppet
cisco_bgp_af { '1 red ipv4 unicast':
ensure => present,
~~~