Classes
cisco_ios
: This class calls the cisco_ios::install class.cisco_ios::install
: This class installs dependencies of this module into the puppet agent, and/or the puppetserver service.cisco_ios::install::agent
: This class install dependencies of this module into puppet agentcisco_ios::install::server
: This class installs dependencies of this module into puppetserver, and restarts the puppetserver service to activate.cisco_ios::proxy
: This class install dependencies of this module into puppet agentcisco_ios::server
: This class installs dependencies of this module into puppetserver, and restarts the puppetserver service to activate.
Resource types
ios_aaa_accounting
: Configure aaa accounting on deviceios_aaa_authentication
: Configure aaa authentication on deviceios_aaa_authorization
: Configure aaa authorization on deviceios_aaa_new_model
: Enable aaa new model on deviceios_aaa_session_id
: Configure aaa session id on deviceios_access_list
: Configure access lists. Deprecated, due to unreconcilable implementation issues. Use the ios_acl type instead.ios_acl
: Manage ACL contentsios_acl_entry
: Configure access lists entries. Deprecated, due to unreconcilable implementation issues. Use the ios_acl type instead.ios_additional_syslog_settings
: Configure global syslog settingsios_cef
: Implementation and Management of CEF settingsios_config
: Execute an arbitary configuration against the cisco_ios device with or without a check for idempotencyios_interface
: Manage layer 3 configuration on a per Instance basis.ios_ip
: Manages settings related to the IPios_network_dns
: Configure DNS settings for network devicesios_network_trunk
: Ethernet logical (switch-port) interface. Configures VLAN trunking.ios_ntp_access_group
: Specify NTP access group configios_ntp_config
: Specify NTP configios_radius_global
: Configure IOS global RADIUS settingsios_radius_server_group
: Configure a RADIUS server groupios_snmp_global
: Configures Global snmp settings.ios_stp_global
: Manages the Cisco Spanning-tree Global configuration resource.
Tasks
cli_command
: Execute CLI Commandconfig_save
: Save running-config to startup-configrestore_startup
: Copies the startup-config to the running-configbackup_config
: Backs up the running config on the device to a given file locationrestore_config
: Restores the config from the specified location to the device
This class calls the cisco_ios::install class.
include cisco_ios
This class installs dependencies of this module into the puppet agent, and/or the puppetserver service.
include cisco_ios::install
This class install dependencies of this module into puppet agent
include cisco_ios::install::agent
This class installs dependencies of this module into puppetserver, and restarts the puppetserver service to activate.
include cisco_ios::install::server
This class install dependencies of this module into puppet agent
- Note Deprecated, use cisco_ios::install::agent
include cisco_ios::proxy
This class installs dependencies of this module into puppetserver, and restarts the puppetserver service to activate.
- Note Deprecated, use cisco_ios::install::server
include cisco_ios::server
Configure aaa accounting on device
The following properties are available in the ios_aaa_accounting
type.
Data type: Enum[present, absent]
Whether this aaa accounting should be present or absent on the target system.
Default value: present
Data type: Enum["auth-proxy","commands","connection","dot1x","exec","identity","network","onep","resource","system","update"]
AAA Accounting service to use
Data type: Optional[Integer]
Enable level - needed for "commands" accounting_service
Data type: Optional[String]
The accounting list - named or default
Data type: Optional[Enum["none","start-stop","stop-only"]]
The status of the accounting
Data type: Optional[Array[String]]
Array of the server groups eg. ['tacacs+'], ['test1', 'test2']
Data type: Optional[Boolean]
Only send accounting update records when we have new acct info. (For periodic use "update_newinfo_periodic") - use with "update" accounting_service.
Data type: Optional[Integer[1, 2147483647]]
Periodic intervals to send accounting update records(in minutes) when we have new acct info. (For non-periodic use "update_newinfo") - use with "update" accounting_service.
Data type: Optional[Integer[1, 2147483647]]
Periodic intervals to send accounting update records(in minutes) (For new acct info only use "update_newinfo_periodic") - use with "update" accounting_service.
The following parameters are available in the ios_aaa_accounting
type.
namevar
Data type: String
Name. On resource this is a composite of the authorization_service (and enable level if "commands") and authorization_list name eg. "commands 15 default" or "exec authlist1" - or "update" type eg. "update newinfo"
Default value: default
Configure aaa authentication on device
The following properties are available in the ios_aaa_authentication
type.
Data type: Enum[present, absent]
Whether this aaa authentication should be present or absent on the target system.
Default value: present
Data type: Enum["arap","login","enable","dot1x","eou","onep","ppp","sgbp","suppress"]
Set authentication lists for - Login, Enable or dot1x
Data type: Optional[String]
The authentication list - named or default
Data type: Optional[Array[String]]
Array of the cache groups eg. ['ldap', 'radius', tacacs+'], ['test1', 'test2']
Data type: Optional[Array[String]]
Array of the server groups eg. ['tacacs+'], ['test1', 'test2']
Data type: Optional[Boolean]
Use enable password for authentication.
Data type: Optional[Boolean]
Use line password for authentication.
Data type: Optional[Boolean]
Use local username authentication.
Data type: Optional[Boolean]
Use case-sensitive local username authentication.
Data type: Optional[Boolean]
NO authentication.
Data type: Optional[Boolean]
Switch authentication.
Data type: Optional[Boolean]
Do not send access-request for users with null username.
The following parameters are available in the ios_aaa_authentication
type.
namevar
Data type: String
Name. On resource this is a composite of the authentication_list_set and authentication_list name eg. "login default"
Default value: default
Configure aaa authorization on device
The following properties are available in the ios_aaa_authorization
type.
Data type: Enum[present, absent]
Whether this aaa authorization should be present or absent on the target system.
Default value: present
Data type: Enum["auth-proxy","commands","configuration","exec","network","reverse_access"]
AAA Authorization service to use
Data type: Optional[Integer]
Enable level - needed for "commands" authorization_service
Data type: String
The authorization list - named or default
Default value: default
Data type: Optional[Array[String]]
Array of the server groups eg. ['tacacs+'], ['test1', 'test2']
Data type: Optional[Boolean]
Use local database.
Data type: Optional[Boolean]
Succeed if user has authenticated.
The following parameters are available in the ios_aaa_authorization
type.
namevar
Data type: String
Name. On resource this is a composite of the authorization_service (and enable level if "commands") and authorization_list name eg. "commands 15 default" or "exec authlist1"
Default value: default
Enable aaa new model on device
The following properties are available in the ios_aaa_new_model
type.
Data type: Boolean
Enable or disable aaa new model
The following parameters are available in the ios_aaa_new_model
type.
namevar
Data type: String
The name stays as "default"
Default value: default
Configure aaa session id on device
The following properties are available in the ios_aaa_session_id
type.
Data type: Enum["common","unique"]
Type of aaa session id - common or unique
The following parameters are available in the ios_aaa_session_id
type.
namevar
Data type: String
The name stays as "default"
Default value: default
Configure access lists. Deprecated, due to unreconcilable implementation issues. Use the ios_acl type instead.
The following properties are available in the ios_access_list
type.
Data type: Enum[present, absent]
Whether this access list should be present or absent on the target system.
Default value: present
Data type: Enum["Standard","Extended","Reflexive","none"]
Type of access list - standard, extended, reflexive or no type
The following parameters are available in the ios_access_list
type.
namevar
Data type: String
Access list name or number.
Manage ACL contents
The following properties are available in the ios_acl
type.
Data type: Enum[present, absent]
Whether this access list entry should be present or absent on the target system.
Default value: present
Data type: Optional[String]
Name of a Dynamic list
Data type: Enum["permit", "deny", "evaluate"]
Specify packets to forward/reject, or evaluate an access list
Data type: Optional[String]
Evaluate an access list
Data type: Optional[Variant[Enum["ahp","eigrp","esp","gre","icmp","igmp","ip","ipinip","nos","ospf","pcp","pim","tcp","udp"],Pattern[/\d+/]]]
*this data type contains a regex that may not be accurately reflected in generated documentation
ACL Entry Protocol
Data type: Optional[String]
Source Address. Either Source Address, address object-group, any or source host are required.
Data type: Optional[String]
Source Address object-group. Either Source Address, address object-group, any or source host are required.
Data type: Optional[Boolean]
Source Address. Either Source Address, address object-group, any or source host are required.
Data type: Optional[String]
Source Address. Either Source Address, address object-group, any or source host are required.
Data type: Optional[String]
Source Address wildcard mask. Must be used with, and only used with, Source Address.
Data type: Optional[Array[String]]
Match only packets on a given port number.
Data type: Optional[String]
Match only packets with a greater port number.
Data type: Optional[String]
Match only packets with a lower port number.
Data type: Optional[String]
Match only packets not on a given port number.
Data type: Optional[String]
Destination port object-group.
Data type: Optional[Array[String]]
Match only packets in the range of port numbers.
Data type: Optional[String]
Destination Address. Either Destination Address, address object-group, any or destination host are required.
Data type: Optional[String]
Destination Address object-group. Either Destination Address, address object-group, any or destination host are required.
Data type: Optional[Boolean]
Destination Address. Either Destination Address, address object-group, any or destination host are required.
Data type: Optional[String]
Destination Address. Either Destination Address, address object-group, any or destination host are required.
Data type: Optional[String]
Destination Address wildcard mask. Must be used with, and only used with, Destination Address.
Data type: Optional[Array[String]]
Match only packets on a given port number.
Data type: Optional[String]
Match only packets with a greater port number.
Data type: Optional[String]
Match only packets with a lower port number.
Data type: Optional[String]
Match only packets not on a given port number.
Data type: Optional[String]
Destination port object-group.
Data type: Optional[Array[String]]
Match only packets in the range of port numbers.
Data type: Optional[Boolean]
Match on the ACK bit.
Data type: Optional[String]
Match packets with given dscp value.
Data type: Optional[Boolean]
Match on the FIN bit.
Data type: Optional[Boolean]
Check non-initial fragments.
Data type: Optional[Integer]
ICMP message code.
Data type: Optional[Variant[String, Integer]]
ICMP message type.
Data type: Optional[Variant[String, Integer]]
IGMP message type.
Data type: Optional[Boolean]
Log matches against this entry. Either log or log_input can be used, but not both.
Data type: Optional[Boolean]
Log matches against this entry, including input interface. Either log or log_input can be used, but not both.
Data type: Optional[Array[String]]
Match if all specified flags are present.
Data type: Optional[Array[String]]
Match if any specified flags are present.
Data type: Optional[String]
Match packets with given IP Options value.
Data type: Optional[String]
Match packets with given precedence value.
Data type: Optional[Boolean]
Match on the PSH bit.
Data type: Optional[String]
Create reflexive access list entry.
Data type: Optional[Integer]
Maximum time to live in seconds. Only to be used with reflect.
Data type: Optional[Boolean]
Match on the RST bit.
Data type: Optional[Boolean]
Match on the SYN bit.
Data type: Optional[String]
Specify a time-range.
Data type: Optional[String]
Match packets with given TOS value.
Data type: Optional[Boolean]
Match on the URG bit.
The following parameters are available in the ios_acl
type.
namevar
Data type: String
Name of parent access list
namevar
Data type: String
Name. Used as sequence number <1-2147483647>
namevar
Data type: Enum["standard","extended","reflexive","none"]
Type of access list - standard, extended, reflexive or no type
Configure access lists entries. Deprecated, due to unreconcilable implementation issues. Use the ios_acl type instead.
The following properties are available in the ios_acl_entry
type.
Data type: Enum[present, absent]
Whether this access list entry should be present or absent on the target system.
Default value: present
Data type: String
Name of parent access list
Data type: Integer
Name. Used as sequence number <1-2147483647>
Data type: Optional[String]
Name of a Dynamic list
Data type: Enum["permit", "deny", "evaluate"]
Specify packets to forward/reject, or evaluate an access list
Data type: Optional[String]
Evaluate an access list
Data type: Optional[Variant[Enum["ahp","eigrp","esp","gre","icmp","igmp","ip","ipinip","nos","ospf","pcp","pim","tcp","udp"],Pattern[/\d+/]]]
*this data type contains a regex that may not be accurately reflected in generated documentation
The ACL Entry Protocol
Example:
protocol => 'tcp'
protocol => '8'
Data type: Optional[String]
Source Address. Either Source Address, address object-group, any or source host are required.
Data type: Optional[String]
Source Address object-group. Either Source Address, address object-group, any or source host are required.
Data type: Optional[Boolean]
Source Address. Either Source Address, address object-group, any or source host are required.
Data type: Optional[String]
Source Address. Either Source Address, address object-group, any or source host are required.
Data type: Optional[String]
Source Address wildcard mask. Must be used with, and only used with, Source Address.
Data type: Optional[Array[String]]
Match only packets on a given port number.
Data type: Optional[String]
Match only packets with a greater port number.
Data type: Optional[String]
Match only packets with a lower port number.
Data type: Optional[String]
Match only packets not on a given port number.
Data type: Optional[String]
Destination port object-group.
Data type: Optional[Array[String]]
Match only packets in the range of port numbers.
Data type: Optional[String]
Destination Address. Either Destination Address, address object-group, any or destination host are required.
Data type: Optional[String]
Destination Address object-group. Either Destination Address, address object-group, any or destination host are required.
Data type: Optional[Boolean]
Destination Address. Either Destination Address, address object-group, any or destination host are required.
Data type: Optional[String]
Destination Address. Either Destination Address, address object-group, any or destination host are required.
Data type: Optional[String]
Destination Address wildcard mask. Must be used with, and only used with, Destination Address.
Data type: Optional[Array[String]]
Match only packets on a given port number.
Data type: Optional[String]
Match only packets with a greater port number.
Data type: Optional[String]
Match only packets with a lower port number.
Data type: Optional[String]
Match only packets not on a given port number.
Data type: Optional[String]
Destination port object-group.
Data type: Optional[Array[String]]
Match only packets in the range of port numbers.
Data type: Optional[Boolean]
Match on the ACK bit.
Data type: Optional[String]
Match packets with given dscp value.
Data type: Optional[Boolean]
Match on the FIN bit.
Data type: Optional[Boolean]
Check non-initial fragments.
Data type: Optional[Integer]
ICMP message code.
Data type: Optional[Variant[String, Integer]]
ICMP message type.
Data type: Optional[Variant[String, Integer]]
IGMP message type.
Data type: Optional[Boolean]
Log matches against this entry. Either log or log_input can be used, but not both.
Data type: Optional[Boolean]
Log matches against this entry, including input interface. Either log or log_input can be used, but not both.
Data type: Optional[Array[String]]
Match if all specified flags are present.
Data type: Optional[Array[String]]
Match if any specified flags are present.
Data type: Optional[String]
Match packets with given IP Options value.
Data type: Optional[String]
Match packets with given precedence value.
Data type: Optional[Boolean]
Match on the PSH bit.
Data type: Optional[String]
Create reflexive access list entry.
Data type: Optional[Integer]
Maximum time to live in seconds. Only to be used with reflect.
Data type: Optional[Boolean]
Match on the RST bit.
Data type: Optional[Boolean]
Match on the SYN bit.
Data type: Optional[String]
Specify a time-range.
Data type: Optional[String]
Match packets with given TOS value.
Data type: Optional[Boolean]
Match on the URG bit.
The following parameters are available in the ios_acl_entry
type.
namevar
Data type: String
Name. Made up of access_list and the entry with a space seperator. eg. "list42 10" is from access_list list42 and entry 10.
Configure global syslog settings
The following properties are available in the ios_additional_syslog_settings
type.
Data type: Optional[Variant[Integer[0,7], Enum["unset"]]]
Set the syslog server logging level, can be set to a severity level of [0-7] or 'unset'.
Examples:
trap => 3,
trap => 'unset',
Data type: Optional[Variant[Enum['hostname', 'ip', 'ipv6', unset], Tuple[Enum['string'], String]]]
Sets an origin-id to be added to all syslog messages, can be set to a default value taken from the switch itself or a designated one word string.
Examples:
origin_id => 'ipv6',
origin_id => ['string', 'Main'],
origin_id => 'unset',
The following parameters are available in the ios_additional_syslog_settings
type.
namevar
Data type: String
Name, generally "default", not used to manage the resource
Default value: default
Implementation and Management of CEF settings
The following properties are available in the ios_cef
type.
Data type: Optional[Boolean]
Distributed Cisco Express Forwarding
Data type: Optional[Boolean]
Trigger layer 2 address resolution directly from CEF
Data type: Optional[Variant[Enum['original', 'tunnel', 'universal'], Tuple[Enum['tunnel', 'universal'], String], Tuple[Enum['include-ports'], Enum['destination', 'source']], Tuple[Enum['include-ports'], Enum['destination', 'source'], String]]]
Per-destination load sharing algorithm selection
The following parameters are available in the ios_cef
type.
namevar
Data type: String
Resource name, not used to manage the device
Default value: default
Execute an arbitary configuration against the cisco_ios device with or without a check for idempotency
The following properties are available in the ios_config
type.
Data type: String
The ios command to run
The following parameters are available in the ios_config
type.
namevar
Data type: String
The friendly name for this ios command
Data type: Optional[Enum["CONF_T"]]
The command line mode to be in, when executing the command
Default value: CONF_T
Data type: Optional[String]
Expected string, when running a regex against the 'show running-config'
Data type: Optional[Array[Enum["ignorecase","extended","multiline","fixedencoding","noencoding"]]]
Array of one or more options which control how the pattern can match.
Data type: Optional[Boolean]
Negate the regex used with idempotent_regex
Manage layer 3 configuration on a per Instance basis.
The following properties are available in the ios_interface
type.
Data type: Optional[Boolean]
Whether to enable Mac Address added notification for this port.
Data type: Optional[Boolean]
Whether to enable Mac Address removed notification for this port.
Data type: Optional[Boolean]
Whether to permit duplicate SNMP LINKUP and LINKDOWN traps.
Data type: Optional[Variant[Enum["unset"], Array[Enum["bundle-status","nfas-status","spanning-tree","status","subif-link-status","trunk-status","power-inline-status"]]]]
Whether or not to log certain event messages. Any event log not specifically indicated will be disabled.
Example:
logging_event => ['spanning-tree','subif-link-status'],
logging_event => 'unset',
Data type: Optional[Boolean]
Whether to log UPDOWN and CHANGE event messages.
Data type: Optional[Boolean]
DHCP Snooping trust config.
Data type: Optional[Variant[Boolean[false], Integer[1, 2048]]]
DHCP snooping rate limit.
Example:
ip_dhcp_snooping_limit => 1500,
ip_dhcp_snooping_limit => false,
Data type: Optional[Enum["desired","on","off"]]
Flow control (receive) [desired|on|off]
Example:
flowcontrol_receive => 'desired',
Data type: Optional[String]
VRF config
Data type: Optional[Boolean]
Enable/Disable Cisco Express Forwarding
The following parameters are available in the ios_interface
type.
namevar
Data type: String
The switch interface name, e.g. "Ethernet1"
Manages settings related to the IP
The following properties are available in the ios_ip
type.
Data type: Optional[Boolean]
Whether to Enable IP routing
The following parameters are available in the ios_ip
type.
namevar
Data type: String
Resource name, not used to manage the device
Default value: default
Configure DNS settings for network devices
The following properties are available in the ios_network_dns
type.
Data type: Enum[present, absent]
Whether the network dns should be present or absent on the target system.
Default value: present
Data type: Optional[String]
The default domain name to append to the device hostname
Data type: Optional[String]
The host name of the device
Data type: Optional[Array[String]]
Array of DNS suffixes to search for FQDN entries
Data type: Optional[Array[String]]
Array of DNS servers to use for name resolution
Data type: Optional[Boolean]
Sets whether the Domain Name Server (DNS) lookup feature should be enabled
The following parameters are available in the ios_network_dns
type.
namevar
Data type: String
Name, generally "settings", not used to manage the resource
Default value: settings
Ethernet logical (switch-port) interface. Configures VLAN trunking.
The following properties are available in the ios_network_trunk
type.
Data type: Enum[present, absent]
Whether the network_trunk should be present or absent on the target system.
Default value: present
Data type: Optional[Enum["dot1q","isl","negotiate","none"]]
The vlan-tagging encapsulation protocol, usually dot1q
Data type: Optional[Enum["access","trunk","dynamic_auto","dynamic_desirable"]]
The L2 interface mode, enables or disables trunking
Data type: Optional[Integer[0, 4095]]
VLAN used for untagged VLAN traffic. a.k.a Native VLAN
Data type: Optional[Array[String]]
Array of VLAN names used for tagged packets
Data type: Optional[Array[String]]
Array of VLAN ID numbers used for VLAN pruning
Data type: Optional[Variant[Integer[0, 4095], Boolean[false]]]
The VLAN to set when the interface is in access mode. Setting it to false will revert it to the default value.
Examples:
access_vlan => 405
access_vlan => false
Data type: Optional[Variant[Integer[0, 4095], Enum["dot1p", "none", "untagged"], Boolean[false]]]
Sets how voice traffic should be treated by the access port. Setting it to false will revert it to the default value.
Examples:
access_vlan => 221
access_vlan => 'dot1p'
access_vlan => 'false'
Data type: Optional[Boolean]
When set, prevents the port from sending DTP (Dynamic Trunk Port) messages. Set automatically to true while in 'access mode' and cannot be set in 'dynamic_*' mode.
Examples:
access_vlan => true
See network_trunk
for other availible fields.
Data type: Optional[Variant[Enum["all", "none"], Tuple[Enum["add", "remove", "except"], String], String, Boolean[false]]]
Sets which VLANs the access port will use when trunking is enabled. Setting it to false will revert it to the default value.
Examples:
access_vlan => '101-202'
access_vlan => 'none'
access_vlan => ['except', '204-301']
The following parameters are available in the ios_network_trunk
type.
namevar
Data type: String
The switch interface name, e.g. "Ethernet1"
Specify NTP access group config
The following properties are available in the ios_ntp_access_group
type.
Data type: Enum["peer", "serve", "query-only", "serve-only"]
Defines the access group type
Data type: Optional[Boolean]
Whether this access group makes use of ipv6
Data type: Enum[present, absent]
Whether this access group entry should be present or absent on the target system.
Default value: present
The following parameters are available in the ios_ntp_access_group
type.
namevar
Data type: String
Configuration name, ip access list name
Specify NTP config
The following properties are available in the ios_ntp_config
type.
Data type: Optional[Boolean]
NTP authentication enabled [true|false]
Data type: Optional[String]
The source interface for the NTP system
Data type: Optional[Array[Variant[Integer, String]]]
Array of global trusted-keys. Contents can be a String or Integers
Data type: Optional[Boolean]
Whether the update calendar option is enabled on the system
Data type: Optional[Boolean]
Whether to enable NTP message logging
The following parameters are available in the ios_ntp_config
type.
namevar
Data type: String
Config name, default to "default" as the NTP config is global rather than instance based
Default value: default
Configure IOS global RADIUS settings
The following properties are available in the ios_radius_global
type.
Data type: Optional[Boolean]
Enable or disable RADIUS functionality [true|false]
Data type: Optional[Array[Tuple[Integer, String]]]
An array of [attribute number, attribute options] pairs,
NOTE: There are a huge number of attributes available across devices with varying configuration options. Some of these pose issues for idempotency.
This modules does not attempt to solve these issues and you should take care to review your settings.
Example:
[11, 'default direction inbound']
will set correctly, however the device will return[11, 'default direction in']
. You should prefer setting[11, 'default direction in']
Example:
[11, 'default direction outbound']
will set correctly, however the device will remove the setting from the config as this is a default. You should instead prefer not setting this option.
Data type: Optional[String]
Encryption key (plaintext or in hash form depending on key_format)
Data type: Optional[Integer]
Encryption key format [0-7]
Data type: Optional[Variant[Integer, Enum["unset"]]]
How many times to retransmit or 'unset'
Data type: Optional[Array[String]]
The source interface used for RADIUS packets (array of strings for multiple).
Data type: Optional[Variant[Integer, Enum["unset"]]]
Number of seconds before the timeout period ends or 'unset'
Data type: Optional[Array[String]]
The VRF associated with source_interface (array of strings for multiple).
The following parameters are available in the ios_radius_global
type.
namevar
Data type: String
Resource name, not used to manage the device
Default value: default
Configure a RADIUS server group
The following properties are available in the ios_radius_server_group
type.
Data type: Enum[present, absent]
Whether radius_server_group should be present or absent on the target system.
Default value: present
Data type: Optional[Array[String]]
Array of DNS suffixes to search for FQDN entries
Data type: Optional[Array[String]]
Array of private DNS suffixes to search for FQDN entries
The following parameters are available in the ios_radius_server_group
type.
namevar
Data type: String
The name of the RADIUS server group
Configures Global snmp settings.
The following properties are available in the ios_snmp_global
type.
Data type: Optional[Variant[String, Enum['unset']]]
Assigns an interface for the source address of all traps. Setting it to 'unset' will revert it to the default value.
Examples:
trap_source => 'GigabitEthernet0/3'
trap_source => 'unset'
Data type: Optional[Boolean]
Enables use of the SNMP reload command.
Data type: Optional[Variant[String, Enum['unset']]]
Sets text for the mib object sysContact. Setting it to 'unset' will revert it to the default value.
Examples:
contact => 'SNMP_TEST'
contact => 'unset'
Data type: Optional[Boolean]
When set this value enables the SNMP manager.
Data type: Optional[Variant[Integer, Enum['unset']]]
Modifies the SNMP manager timeout parameter.
Examples:
manager_session_timeout => 20
manager_session_timeout => unset
Data type: Optional[Boolean]
Enables IF-MIB ifindex persistence.
The following parameters are available in the ios_snmp_global
type.
namevar
Data type: String
ID of the snmp global config. Valid values are default.
Default value: default
Manages the Cisco Spanning-tree Global configuration resource.
The following properties are available in the ios_stp_global
type.
Data type: Optional[Boolean[false]]
Disable STP functionality by specifying false.
Data type: Optional[Boolean]
Bridge Assurance on all network ports
Data type: Optional[Boolean]
Extend system-id into priority portion of the bridge id (PVST & Rapid PVST only)
Data type: Optional[Boolean]
Bridge Assurance on all network ports
Data type: Optional[Enum["mst","pvst","rapid-pvst"]]
Operating Mode
Data type: Optional[Integer]
Forward delay for the spanning tree
Data type: Optional[Integer]
Hello interval for the spanning tree
Data type: Optional[Array[Tuple[Integer,String]]]
An array of [mst_inst, vlan_range] pairs.
Data type: Optional[Integer[6,40]]
Max age interval for the spanning tree
Data type: Optional[Integer[1,255]]
Max hops value for the spanning tree
Data type: Optional[String]
Configuration name.
Data type: Optional[Array[Tuple[String,Integer]]]
An array of [mst_inst_list, priority] pairs.
Data type: Optional[Integer]
Configuration revision number.
Data type: Optional[Enum["long","short"]]
Method to calculate default port path cost
Data type: Optional[Array[Enum["default","bpduguard_default","bpdufilter_default"]]]
Spanning tree portfast options
Data type: Optional[Boolean]
Enable UplinkFast Feature
Data type: Optional[Integer]
Maximum number of update packets per second
Data type: Optional[Array[Tuple[String,Integer]]]
An array of [vlan_inst_list, forward_time] pairs.
Data type: Optional[Array[Tuple[String,Integer]]]
An array of [vlan_inst_list, hello_time] pairs.
Data type: Optional[Array[Tuple[String,Integer]]]
An array of [vlan_inst_list, max_age] pairs.
Data type: Optional[Array[Tuple[String,Integer]]]
An array of [vlan_inst_list, priority] pairs.
The following parameters are available in the ios_stp_global
type.
namevar
Data type: String
ID of the stp global config. Valid values are default.
Default value: default
Execute CLI Command
Supports noop? false
Data type: String[1]
CLI Command to execute
Data type: Boolean
Whether to return the raw output or wrap it into JSON
Save running-config to startup-config
Supports noop? false
Copies the startup-config to the running-config
Supports noop? false
Backs up the running config from a device to the specified location
Data type: String[1]
Location to save the running config to
Data type: Boolean
Whether to return the raw output or wrap it into JSON
Restores the configuration from a given backup location to the device
Data type: String[1]
Location of the config to restore to the device
Data type: Boolean
Whether to return the raw output or wrap it into JSON