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']],

}

Properties

  • bd_designated_priority
  • bd_forward_time
  • bd_hello_time
  • bd_max_age
  • bd_priority
  • bd_root_priority
  • bpdufilter

    Edge port (portfast) bpdu filter

    Supported values:
    • true
    • false
    • default
  • bpduguard

    Edge port (portfast) bpdu guard

    Supported values:
    • true
    • false
    • default
  • bridge_assurance

    Bridge Assurance on all network ports

    Supported values:
    • true
    • false
    • default
  • domain

    Spanning Tree domain

  • fcoe

    STP for FCoE VLAN

    Supported values:
    • true
    • false
    • default
  • loopguard

    Enable loopguard by default on all ports

    Supported values:
    • true
    • false
    • default
  • mode

    Operating mode

    Supported values:
    • mst
    • rapid-pvst
    • default
  • mst_designated_priority
  • mst_forward_time

    Forward delay for the spanning tree

  • mst_hello_time

    Hello interval for the spanning tree

  • mst_inst_vlan_map
  • mst_max_age

    Max age interval for the spanning tree

  • mst_max_hops

    Max hops value for the spanning tree

  • mst_name

    Configuration name. Valid values are string, keyword ‘default’.

  • mst_priority
  • mst_revision

    Configuration revision number

  • mst_root_priority
  • pathcost

    Method to calculate default port path cost

    Supported values:
    • long
    • short
    • default
  • vlan_designated_priority
  • vlan_forward_time
  • vlan_hello_time
  • vlan_max_age
  • vlan_priority
  • vlan_root_priority

Parameters

  • name (namevar)

    ID of the stp global config. Valid values are default.

  • provider

    The specific backend to use for this ‘cisco_stp_global` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.