Resource Type: cisco_config
- Defined in:
- lib/puppet/type/cisco_config.rb
- Providers:
-
cisco_ios
Overview
This represents a router or switch configuration. There can be only one instance of this and it has to be called ‘running’.
Properties
-
aaa_new_model
(defaults to: present)
aaa new model
Supported values:- present
- absent
-
clock_timezone
The local timezone of this switch.
Supported values:- /^\w+\s-?\d+(\s-?\d+)?$/
-
enable_secret
The enable Secret for this Switch.
Supported values:- absent
- /^\S+$/
-
errdisable_recovery_cause
Supported values:
- absent
- arp-inspection
- bpduguard
- channel-misconfig
- community-limit
- dhcp-rate-limit
- dtp-flap
- gbic-invalid
- inline-power
- invalid-policy
- l2ptguard
- link-flap
- loopback
- lsgroup
- mac-limit
- pagp-flap
- port-mode-failure
- pppoe-ia-rate-limit
- psecure-violation
- security-violation
- sfp-config-mismatch
- small-frame
- storm-control
- udld
- vmps
-
errdisable_recovery_interval
Supported values:
- absent
- /^\d+$/
-
hostname
The hostname of the switch.
Supported values:- /^\S+$/
-
ip_classless
(defaults to: present)
Whether or not the Switch should follow Classless Routing forwarding Rules.
Supported values:- present
- absent
-
ip_dhcp_relay_information
(defaults to: absent)
Supported values:
- absent
- /^.+$/
-
ip_dhcp_snooping
(defaults to: absent)
Supported values:
- present
- absent
-
ip_dhcp_snooping_remote_id
Supported values:
- hostname
- absent
- /^\S+$/
-
ip_dhcp_snooping_vlans
(defaults to: absent)
Supported values:
- absent
- /^\d+-?(\d+)?/
-
ip_domain_lookup
Enable IP DNS Queries for CLNS NSAP Addresses for this Switch.
Supported values:- present
- absent
-
ip_domain_lookup_source_interface
(defaults to: absent)
The Interface used by this Switch to do DNS lookups.
Supported values:- absent
- /^\S+$/
-
ip_domain_name
(defaults to: absent)
The domain name used by this switch.
Supported values:- absent
- /^((([a-z]|[0-9]|\-)+)\.)+([a-z])+$/i
-
ip_radius_source_interface
(defaults to: absent)
The Interface used by this Switch to do RADIUS.
Supported values:- absent
- /^\S+$/
-
ip_ssh
Supported values:
- absent
- present
-
ip_ssh_version
Supported values:
- 1
- 2
-
logging_facility
(defaults to: syslog)
Set the Facility Parameter for Syslog Messages from this Switch.
Supported values:- auth
- cron
- daemon
- kern
- /^local[0-7]$/
- lpr
- news
- /^sys(9|1[0-4])$/
- syslog
- user
- uucp
- absent
-
logging_trap
(defaults to: critical)
Set the Syslog logging level for this Switch.
Supported values:- emergencies
- alerts
- critical
- errors
- warnings
- notifications
- informational
- debugging
- absent
- 0 (alias for: emergencies)
- 1 (alias for: alerts)
- 2 (alias for: critical)
- 3 (alias for: errors)
- 4 (alias for: warnings)
- 5 (alias for: notifications)
- 6 (alias for: informational)
- 7 (alias for: debugging)
-
password_encryption
(defaults to: present)
Supported values:
- present
- absent
-
system_mtu_routing
(defaults to: 1500)
The MTU used by this Switch’s IP Interfaces.
Supported values:- absent
- /^[0-9]+$/
-
vtp_domain
The VTP Domain
Supported values:- absent
- /^\S+$/
-
vtp_operation_mode
The VTP device mode of this Switch.
-
vtp_password
The Password for this Domain.
Supported values:- absent
- /^\S+$/
-
vtp_version
The VTP Version used in this Domain.
Supported values:- absent
- 1
- 2
- 3
Parameters
-
name (namevar)
The configuration’s name. Must always be ‘running’.
Supported values:- running
-
provider
The specific backend to use for this ‘cisco_config` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.