Resource Type: cisco_vtp

Defined in:
lib/puppet/type/cisco_vtp.rb
Providers:
cisco

Overview

Manages the VTP (VLAN Trunking Protocol) configuration of a Cisco device.

cisco_vtp { <title>:

..attributes..

}

There can only be one instance of the cisco_vtp. Example:

cisco_vtp { default:
  ensure   => present,
  domain   => 'mydomain',
  password => 'xxxxx',
  version  => 2,
  filename => 'bootflash:/vlan.dat',
}

Properties

  • domain

    VTP administrative domain. Valid values are string. Mandatory parameter.

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • filename

    VTP file name. Valid values are string, keyword ‘default’.

  • password

    Password for the VTP domain. Valid values are string, keyword ‘default’.

  • version

    Version for the VTP domain. Valid values are integer, keyword ‘default’.

Parameters

  • name (namevar)

    Instance of vtp, only allow the value ‘default’

  • provider

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