Resource Type: cisco_stp_global
- Defined in:
- lib/puppet/type/cisco_stp_global.rb
- Providers:
-
cisco
Overview
Manages the Cisco Spanning-tree Global configuration resource. cisco_stp_global
..attributes..
‘default’ is only acceptable name for this global config object.
Range based parameters (for ex. see bd_designated_priority below) are nested array of arrays. These are basically range to value pairs. So for bd_designated_priority, the bridge domain range 2 to 42 will be set to 40960 and 83to 92 and 1000 to 2300 will be set to 53248
Example: cisco_stp_global { ‘default’:
bd_designated_priority => [['2-42', '40960'], ['83-92,1000-2300', '53248']],
bd_forward_time => [['2-42', '26'], ['83-92,1000-2300', '20']],
bd_hello_time => [['2-42', '6'], ['83-92,1000-2300', '9']],
bd_max_age => [['2-42', '26'], ['83-92,1000-2300', '20']],
bd_priority => [['2-42', '40960'], ['83-92,1000-2300', '53248']],
bd_root_priority => [['2-42', '40960'], ['83-92,1000-2300', '53248']],
bpdufilter => true,
bpduguard => true,
bridge_assurance => false,
domain => 100,
fcoe => false,
loopguard => true,
mode => 'mst',
mst_designated_priority => [['2-42', '40960'], ['83-92,1000-2300', '53248']],
mst_forward_time => 25,
mst_hello_time => 5,
mst_inst_vlan_map => [['2', '6-47'], ['92', '120-400']],
mst_max_age => 35,
mst_max_hops => 200,
mst_name => 'nexus',
mst_priority => [['2-42', '40960'], ['83-92,1000-2300', '53248']],
mst_revision => 34,
mst_root_priority => [['2-42', '40960'], ['83-92,1000-2300', '53248']],
pathcost => 'long',
vlan_designated_priority => [['1-42', '40960'], ['83-92,1000-2300', '53248']],
vlan_forward_time => [['1-42', '19'], ['83-92,1000-2300', '13']],
vlan_hello_time => [['1-42', '10'], ['83-92,1000-2300', '6']],
vlan_max_age => [['1-42', '21'], ['83-92,1000-2300', '13']],
vlan_priority => [['1-42', '40960'], ['83-92,1000-2300', '53248']],
vlan_root_priority => [['1-42', '40960'], ['83-92,1000-2300', '53248']],
}