.. _cisco.ios.ios_snmp_server_module:
*************************
cisco.ios.ios_snmp_server
*************************
**Resource module to configure snmp server.**
Version added: 2.6.0
.. contents::
:local:
:depth: 1
Synopsis
--------
- This module provides declarative management of SNMP server on Cisco IOS devices.
Parameters
----------
.. raw:: html
Parameter |
Choices/Defaults |
Comments |
config
dictionary
|
|
A dictionary of SNMP server configuration
|
|
accounting
dictionary
|
|
SNMP Accounting parameters
|
|
|
command
string
|
|
For SNMP set commands
|
|
cache
integer
|
|
Enable SNMP cache and MIB expiry interval
|
|
chassis_id
string
|
|
String to uniquely identify this chassis (Hexadecimal)
|
|
communities
list
/ elements=dictionary
|
|
Community name configuration.
|
|
|
acl_v4
string
|
|
standard access-list name
|
|
|
acl_v6
string
|
|
IPv6 access list name
|
|
|
name
string
|
|
Community name (default RO)
|
|
|
ro
boolean
|
|
Only reads are permitted
|
|
|
rw
boolean
|
|
Read-write access
|
|
|
view
string
|
|
MIB view name
|
|
contact
string
|
|
Text for mib object sysContact
|
|
context
list
/ elements=string
|
|
Create/Delete a context apart from default
|
|
drop
dictionary
|
|
Silently drop SNMP packets
|
|
|
unknown_user
boolean
|
|
Silently drop unknown v3 user packets
|
|
|
vrf_traffic
boolean
|
|
Silently drop SNMP packets that come on VRF interfaces
|
|
engine_id
list
/ elements=dictionary
|
|
Configure a local or remote SNMPv3 engineID
|
|
|
id
string
|
|
engine ID octet string
|
|
|
local
boolean
|
|
Local SNMP agent
|
|
|
remote
dictionary
|
|
Remote SNMP agent
|
|
|
|
host
string
|
|
Hostname or IP address of remote SNMP notification host
|
|
|
|
udp_port
integer
|
|
The remote SNMP notification host's UDP port number.
|
|
|
|
vrf
string
|
|
The remote notification host's VPN routing instance
|
|
file_transfer
dictionary
|
|
File transfer related commands
|
|
|
access_group
string
|
|
Access control for file transfers
|
|
|
protocol
list
/ elements=string
|
|
Access control protocol for file transfers
|
|
groups
list
/ elements=dictionary
|
|
Define a User Security Model group
|
|
|
acl_v4
string
|
|
specify an access-list associated with this group
|
|
|
acl_v6
string
|
|
specify an access-list associated with this group
|
|
|
context
string
|
|
Specify a context to associate with the group
|
|
|
group
string
|
|
SNMP group for the user
|
|
|
match
string
|
|
Specify a context name match criteria
|
|
|
notify
string
|
|
View to restrict notifications
|
|
|
read
string
|
|
View to restrict read access
|
|
|
version
string
|
|
snmp security group version
|
|
|
version_option
string
|
Choices:
- auth
- noauth
- priv
|
community name to the host.
|
|
|
write
string
|
|
View to restrict write access
|
|
hosts
list
/ elements=dictionary
|
|
Specify hosts to receive SNMP notifications
|
|
|
community_string
string
|
|
SNMPv1/v2c community string or SNMPv3 user name
|
|
|
host
string
|
|
Hostname or IP address of SNMP notification host.
|
|
|
informs
boolean
|
|
Use SNMP inform messages.
|
|
|
traps
list
/ elements=string
|
|
Use SNMP trap messages
|
|
|
version
string
|
|
Notification message SNMP version.
|
|
|
version_option
string
|
Choices:
- auth
- noauth
- priv
|
community name to the host.
|
|
|
vrf
string
|
|
Specify the VRF in which the host is configured
|
|
if_index
boolean
|
|
Enable ifindex persistence
|
|
inform
dictionary
|
|
Configure SNMP Informs options
|
|
|
pending
integer
|
|
Set number of unacked informs to hold
|
|
|
retries
integer
|
|
Set retry count for informs
|
|
|
timeout
integer
|
|
Set timeout for informs
|
|
ip
dictionary
|
|
IP ToS configuration for SNMP traffic
|
|
|
dscp
integer
|
|
IP DSCP value for SNMP traffic
|
|
|
precedence
integer
|
|
IP Precedence value for SNMP traffic
|
|
location
string
|
|
Text for mib object sysLocation
|
|
manager
integer
|
|
Modify SNMP manager parameters
|
|
packet_size
integer
|
|
Largest SNMP packet size
|
|
password_policy
list
/ elements=dictionary
|
|
SNMP v3 users password policy
|
|
|
change
integer
|
|
Number of Character changes b/w old and new password
|
|
|
digits
integer
|
|
Number of digits
|
|
|
lower_case
integer
|
|
Number of lower-case characters
|
|
|
max_len
integer
|
|
Maximum password length
|
|
|
min_len
integer
|
|
Minimum password length
|
|
|
policy_name
string
|
|
Name of the policy
|
|
|
special_char
integer
|
|
Number of special case character
|
|
|
upper_case
integer
|
|
Number of upper-case characters
|
|
|
username
string
|
|
Name of the user
|
|
queue_length
integer
|
|
Message queue length for each TRAP host
|
|
source_interface
string
|
|
Source interface to be used for sending out SNMP notifications.
|
|
system_shutdown
boolean
|
|
Enable use of the SNMP reload command
|
|
trap_source
string
|
|
Assign an interface for the source address of all traps
|
|
trap_timeout
integer
|
|
Set timeout for TRAP message retransmissions
|
|
traps
dictionary
|
|
Enable SNMP Traps
|
|
|
aaa_server
boolean
|
|
Enable SNMP AAA Server traps
|
|
|
auth_framework
dictionary
|
|
Enable SNMP CISCO-AUTH-FRAMEWORK-MIB traps
|
|
|
|
enable
boolean
|
|
Enable/disable auth framework
|
|
|
|
sec_violation
boolean
|
|
Mode sec_violation
|
|
|
bfd
dictionary
|
|
Allow SNMP BFD traps
|
|
|
|
enable
boolean
|
|
Enable/disable bfd
|
|
|
|
session_down
boolean
|
|
Enable BFD session down traps
|
|
|
|
session_up
boolean
|
|
Enable BFD session up traps
|
|
|
bgp
dictionary
|
|
Allow bgp traps
|
|
|
|
cbgp2
boolean
|
|
Enable BGP MIBv2 traps
|
|
|
|
enable
boolean
|
|
Enable/disable bgp traps
|
|
|
|
state_changes
dictionary
|
|
Traps for FSM state changes
|
|
|
|
|
all
boolean
|
|
CISCO specific trap for all fsm state changes
|
|
|
|
|
backward_trans
boolean
|
|
CISCO specific trap for backward transition
|
|
|
|
|
enable
boolean
|
|
Enable/disable bgp state_changes traps
|
|
|
|
|
limited
boolean
|
|
Trap for standard backward transition and established
|
|
|
|
threshold
dictionary
|
|
Mode threshold
|
|
|
|
|
prefix
boolean
|
|
Enable/disable bgp threshold traps
|
|
|
bridge
dictionary
|
|
Allow bridge related traps
|
|
|
|
enable
boolean
|
|
Enable/disable bridge traps
|
|
|
|
newroot
boolean
|
|
Enable SNMP STP Bridge MIB newroot traps
|
|
|
|
topologychange
boolean
|
|
Enable SNMP STP Bridge MIB topologychange traps
|
|
|
bulkstat
dictionary
|
|
Allow Data-Collection-MIB Collection notifications
|
|
|
|
collection
boolean
|
|
Enable Data-Collection-MIB Collection notifications
|
|
|
|
enable
boolean
|
|
Enable Data-Collection-MIB Collection and Transfert notifications
|
|
|
|
transfer
boolean
|
|
Enable Data-Collection-MIB Transfer notifications
|
|
|
call_home
dictionary
|
|
SNMP CISCO-CALLHOME-MIB traps
|
|
|
|
enable
boolean
|
|
Enable SNMP CISCO-CALLHOME-MIB traps
|
|
|
|
message_send_fail
boolean
|
|
Enable SNMP ccmSmtpMsgSendFailNotif notification
|
|
|
|
server_fail
boolean
|
|
Enable SNMP ccmSmtpServerFailNotif notification
|
|
|
casa
boolean
|
|
Enable SNMP config casa traps
|
|
|
cef
dictionary
|
|
Allow cef related traps
|
|
|
|
enable
boolean
|
|
Enable/disable cef traps
|
|
|
|
inconsistency
boolean
|
|
Enable SNMP CEF Inconsistency traps
|
|
|
|
peer_fib_state_change
boolean
|
|
Enable SNMP CEF Peer FIB State change traps
|
|
|
|
peer_state_change
boolean
|
|
Enable SNMP CEF Peer state change traps
|
|
|
|
resource_failure
boolean
|
|
Enable SNMP CEF Resource Failure traps
|
|
|
cnpd
boolean
|
|
Enable SNMP cnpd traps
|
|
|
config
boolean
|
|
Enable SNMP config traps
|
|
|
config_copy
boolean
|
|
Enable SNMP config copy traps
|
|
|
config_ctid
boolean
|
|
Enable SNMP config ctid traps
|
|
|
cpu
dictionary
|
|
Allow CPU related traps
|
|
|
|
enable
boolean
|
|
Enable/disable cpu traps
|
|
|
|
threshold
boolean
|
|
Mode threshold
|
|
|
dhcp
boolean
|
|
Enable SNMP dhcp traps
|
|
|
dlsw
dictionary
|
|
Allow dlsw related traps
|
|
|
|
circuit
boolean
|
|
Enable SNMP dlsw circuit traps
|
|
|
|
enable
boolean
|
|
Enable/disable cef traps
|
|
|
|
tconn
boolean
|
|
Enable SNMP dlsw peer transport connection traps
|
|
|
eigrp
boolean
|
|
Enable SNMP eigrp traps
|
|
|
energywise
boolean
|
|
Enable SNMP energywise traps
|
|
|
entity
boolean
|
|
Enable SNMP entity traps
|
|
|
entity_diag
dictionary
|
|
Allow SNMP CISCO-ENTITY-DIAG-MIB traps
|
|
|
|
boot_up_fail
boolean
|
|
Enable SNMP ceDiagBootUpFailedNotif traps
|
|
|
|
enable
boolean
|
|
Enable SNMP CISCO-ENTITY-DIAG-MIB traps
|
|
|
|
hm_test_recover
boolean
|
|
Enable SNMP ceDiagHMTestRecoverNotif traps
|
|
|
|
hm_thresh_reached
boolean
|
|
Enable SNMP ceDiagHMThresholdReachedNotif traps
|
|
|
|
scheduled_test_fail
boolean
|
|
Enable SNMP ceDiagScheduledTestFailedNotif traps
|
|
|
entity_perf
dictionary
|
|
Allow SNMP CISCO-ENTITY-PERFORMANCE-MIB traps
|
|
|
|
enable
boolean
|
|
Enable SNMP CISCO-ENTITY-PERFORMANCE-MIB traps
|
|
|
|
throughput_notif
boolean
|
|
Enable ENTITY PERFORMANCE MIB throughput traps
|
|
|
entity_state
boolean
|
|
Enable SNMP ENTITY-STATE-MIB traps
|
|
|
envmon
dictionary
|
|
Enable SNMP environmental monitor traps
|
|
|
|
enable
boolean
|
|
Enable/disable envmon traps
|
|
|
|
fan
dictionary
|
|
Enable SNMP envmon fan traps
This option is DEPRECATED and is replaced with fan_enable which accepts bool as input
This attribute will be removed after 2024-09-01
|
|
|
|
|
enable
boolean
|
|
Enable/disable fan traps
|
|
|
|
|
shutdown
boolean
|
|
Enable SNMP environmental monitor shutdown traps
|
|
|
|
|
status
boolean
|
|
Enable SNMP environmental status change traps
|
|
|
|
|
supply
boolean
|
|
Enable SNMP environmental monitor supply traps
|
|
|
|
|
temperature
boolean
|
|
Enable SNMP environmental monitor temperature traps
|
|
|
|
fan_enable
boolean
|
|
Enable SNMP envmon fan traps
|
|
|
|
shutdown
boolean
|
|
Enable SNMP environmental monitor shutdown traps
|
|
|
|
status
boolean
|
|
Enable SNMP environmental status change traps
|
|
|
|
supply
boolean
|
|
Enable SNMP environmental monitor supply traps
|
|
|
|
temperature
boolean
|
|
Enable SNMP environmental monitor temperature traps
|
|
|
errdisable
boolean
|
|
Enable SNMP errdisable notifications
|
|
|
ether_oam
boolean
|
|
Enable SNMP ethernet oam traps
|
|
|
ethernet
dictionary
|
|
Allow ethernet traps
|
|
|
|
cfm
dictionary
|
|
Enable SNMP Ethernet CFM traps
|
|
|
|
|
alarm
boolean
|
|
Enable SNMP Ethernet CFM fault alarm trap
|
|
|
|
|
cc
dictionary
|
|
Enable SNMP Ethernet CC trap
|
|
|
|
|
|
config
boolean
|
|
Enable SNMP Ethernet CFM configuration error traps
|
|
|
|
|
|
cross_connect
boolean
|
|
Enable SNMP Ethernet CFM cross-connect traps
|
|
|
|
|
|
loop
boolean
|
|
Enable SNMP Ethernet CFM loop traps
|
|
|
|
|
|
mep_down
boolean
|
|
Enable SNMP Ethernet CFM CC Down traps
|
|
|
|
|
|
mep_up
boolean
|
|
Enable SNMP Ethernet CFM CC Up traps
|
|
|
|
|
crosscheck
dictionary
|
|
Enable SNMP Ethernet CC crosscheck trap
|
|
|
|
|
|
mep_missing
boolean
|
|
Enable SNMP Ethernet CC crosscheck missing trap
|
|
|
|
|
|
mep_unknown
boolean
|
|
Enable SNMP Ethernet CC crosscheck unknown traps
|
|
|
|
|
|
service_up
boolean
|
|
Enable SNMP Ethernet CC crosscheck service traps
|
|
|
|
evc
dictionary
|
|
Enable SNMP Ethernet EVC traps
|
|
|
|
|
create
boolean
|
|
Enable SNMP Ethernet EVC create traps
|
|
|
|
|
delete
boolean
|
|
Enable SNMP Ethernet EVC delete traps
|
|
|
|
|
status
boolean
|
|
Enable SNMP Ethernet EVC status traps
|
|
|
event_manager
boolean
|
|
Enable SNMP event-manager traps
|
|
|
firewall
dictionary
|
|
Enable SNMP firewall traps
|
|
|
|
enable
boolean
|
|
Enable/disable firewall traps
|
|
|
|
serverstatus
boolean
|
|
Enable firewall server status change trap
|
|
|
flash
dictionary
|
|
SNMP FLASH notifications
|
|
|
|
enable
boolean
|
|
Enable SNMP FLASH notifications
|
|
|
|
insertion
boolean
|
|
Enable SNMP Flash Insertion notifications
|
|
|
|
lowspace
boolean
|
|
Enable SNMP Flash Low Space notifications
|
|
|
|
removal
boolean
|
|
Enable SNMP Flash Removal notifications
|
|
|
flex_links
dictionary
|
|
SNMP FLEX Links traps
|
|
|
|
enable
boolean
|
|
Enable SNMP FLEX Links traps
|
|
|
|
status
boolean
|
|
Enable SNMP FLEX Links status change traps
|
|
|
flowmon
boolean
|
|
Enable SNMP flowmon traps
|
|
|
frame_relay
dictionary
|
|
Allow frame-relay traps
|
|
|
|
enable
boolean
|
|
Enable/disable frame-relay traps
|
|
|
|
subif
dictionary
|
|
Enable SNMP frame-relay subinterface traps
|
|
|
|
|
count
integer
|
|
Maximum number of traps sent per interval
|
|
|
|
|
enable
boolean
|
|
Enable/disable subif traps
|
|
|
|
|
interval
integer
|
|
Interval duration in which to limit the number of traps sent
|
|
|
fru_ctrl
boolean
|
|
Enable SNMP fru-ctrl traps
|
|
|
hsrp
boolean
|
|
Enable SNMP hsrp traps
|
|
|
ike
dictionary
|
|
Allow ike traps
|
|
|
|
policy
dictionary
|
|
Enable IKE Policy traps
|
|
|
|
|
add
boolean
|
|
Enable IKE Policy add trap
|
|
|
|
|
delete
boolean
|
|
Enable IKE Policy delete trap
|
|
|
|
tunnel
dictionary
|
|
Enable IKE Tunnel traps
|
|
|
|
|
start
boolean
|
|
Enable IKE Tunnel start trap
|
|
|
|
|
stop
boolean
|
|
Enable IKE Tunnel stop trap
|
|
|
ipmulticast
boolean
|
|
Enable SNMP ip multi cast traps
|
|
|
ipsec
dictionary
|
|
Allow ike traps
|
|
|
|
cryptomap
dictionary
|
|
Enable IPsec Cryptomap traps
|
|
|
|
|
add
boolean
|
|
Enable IPsec Cryptomap add trap
|
|
|
|
|
attach
boolean
|
|
Enable IPsec Cryptomap Attach trap
|
|
|
|
|
delete
boolean
|
|
Enable IPsec Cryptomap delete trap
|
|
|
|
|
detach
boolean
|
|
Enable IPsec Cryptomap Detach trap
|
|
|
|
too_many_sas
boolean
|
|
Enable IPsec Tunnel Start trap
|
|
|
|
tunnel
dictionary
|
|
Enable IPsec Tunnel traps
|
|
|
|
|
start
boolean
|
|
Enable IPsec Tunnel start trap
|
|
|
|
|
stop
boolean
|
|
Enable IPsec Tunnel stop trap
|
|
|
ipsla
boolean
|
|
Enable SNMP ipsla traps
|
|
|
isis
boolean
|
|
Enable SNMP isis traps
|
|
|
l2tc
dictionary
|
|
Allow SNMP L2 Tunnel Config traps
|
|
|
|
enable
boolean
|
|
Enable SNMP L2 Tunnel Config traps
|
|
|
|
sys_threshold
boolean
|
|
Enable SNMP L2TC System threshold traps
|
|
|
|
threshold
boolean
|
|
Enable SNMP L2 Tunnel Config threshold traps
|
|
|
l2tun
dictionary
|
|
Allow SNMP l2tun traps
|
|
|
|
pseudowire_status
boolean
|
|
Enable BFD pseudo wire status traps
|
|
|
|
session
boolean
|
|
Enable BFD session traps
|
|
|
license
boolean
|
|
Enable license traps
|
|
|
lisp
boolean
|
|
Enable SNMP LISP MIB traps
|
|
|
local_auth
boolean
|
|
Enable SNMP local auth traps
|
|
|
mac_notification
dictionary
|
|
Allow SNMP MAC Notification traps
|
|
|
|
change
boolean
|
|
Enable SNMP MAC Change traps
|
|
|
|
enable
boolean
|
|
Enable SNMP MAC Notification traps
|
|
|
|
move
boolean
|
|
Enable SNMP MAC Move traps
|
|
|
|
threshold
boolean
|
|
Enable SNMP MAC Threshold traps
|
|
|
memory
dictionary
|
|
Allow MEMORY traps
|
|
|
|
bufferpeak
boolean
|
|
Enable SNMP Memory Bufferpeak traps
|
|
|
|
enable
boolean
|
|
Enable MEMORY traps
|
|
|
mpls
dictionary
|
|
Enable SNMP mpls traps
|
|
|
|
fast_reroute
dictionary
|
|
Allow SNMP MPLS fast reroute traps
|
|
|
|
|
enable
boolean
|
|
Enable SNMP MPLS fast reroute traps
|
|
|
|
|
protected
boolean
|
|
Enable MPLS fast reroute protection traps
|
|
|
|
ldp
dictionary
|
|
Allow SNMP MPLS label distribution protocol traps
|
|
|
|
|
enable
boolean
|
|
Enable SNMP MPLS label distribution protocol traps
|
|
|
|
|
pv_limit
boolean
|
|
Enable MPLS LDP path vector limit mismatch traps
|
|
|
|
|
session_down
boolean
|
|
Enable MPLS LDP session down traps
|
|
|
|
|
session_up
boolean
|
|
Enable MPLS LDP session up traps
|
|
|
|
|
threshold
boolean
|
|
Enable MPLS LDP threshold exceeded traps
|
|
|
|
rfc
dictionary
|
|
Enable SNMP MPLS RFC traps
|
|
|
|
|
ldp
dictionary
|
|
Allow SNMP MPLS label distribution protocol RFC traps
|
|
|
|
|
|
enable
boolean
|
|
Enable SNMP MPLS label distribution protocol RFC traps
|
|
|
|
|
|
pv_limit
boolean
|
|
Enable MPLS LDP path vector limit mismatch RFC traps
|
|
|
|
|
|
session_down
boolean
|
|
Enable MPLS LDP session down RFC traps
|
|
|
|
|
|
session_up
boolean
|
|
Enable MPLS LDP session up RFC traps
|
|
|
|
|
|
threshold
boolean
|
|
Enable MPLS LDP threshold exceeded RFC traps
|
|
|
|
|
traffic_eng
dictionary
|
|
Allow SNMP MPLS traffic engineering RFC traps
|
|
|
|
|
|
down
boolean
|
|
Enable MPLS TE tunnel down RFC traps
|
|
|
|
|
|
enable
boolean
|
|
Enable SNMP MPLS traffic engineering RFC traps
|
|
|
|
|
|
reoptimized
boolean
|
|
Enable MPLS TE tunnel reoptimized RFC traps
|
|
|
|
|
|
reroute
boolean
|
|
Enable MPLS TE tunnel reroute RFC traps
|
|
|
|
|
|
up
boolean
|
|
Enable MPLS TE tunnel up RFC traps
|
|
|
|
|
vpn
dictionary
|
|
Allow SNMP MPLS Virtual Private Network RFC traps
|
|
|
|
|
|
enable
boolean
|
|
Enable SNMP MPLS Virtual Private Network RFC traps
|
|
|
|
|
|
illegal_label
boolean
|
|
Enable MPLS VPN illegal label threshold exceeded RFC traps
|
|
|
|
|
|
max_thresh_cleared
boolean
|
|
Enable MPLS VPN maximum threshold cleared RFC traps
|
|
|
|
|
|
max_threshold
boolean
|
|
Enable MPLS VPN maximum threshold exceeded RFC traps
|
|
|
|
|
|
mid_threshold
boolean
|
|
Enable MPLS VPN middle threshold exceeded RFC traps
|
|
|
|
|
|
vrf_down
boolean
|
|
Enable MPLS VPN vrf down RFC traps
|
|
|
|
|
|
vrf_up
boolean
|
|
Enable MPLS VPN vrf up RFC traps
|
|
|
|
traffic_eng
dictionary
|
|
Allow SNMP MPLS traffic engineering traps
|
|
|
|
|
down
boolean
|
|
Enable MPLS TE tunnel down traps
|
|
|
|
|
enable
boolean
|
|
Enable SNMP MPLS traffic engineering traps
|
|
|
|
|
reroute
boolean
|
|
Enable MPLS TE tunnel reroute traps
|
|
|
|
|
up
boolean
|
|
Enable MPLS TE tunnel up traps
|
|
|
|
vpn
dictionary
|
|
Allow SNMP MPLS Virtual Private Network traps
|
|
|
|
|
enable
boolean
|
|
Enable SNMP MPLS Virtual Private Network traps
|
|
|
|
|
illegal_label
boolean
|
|
Enable MPLS VPN illegal label threshold exceeded traps
|
|
|
|
|
max_thresh_cleared
boolean
|
|
Enable MPLS VPN maximum threshold cleared traps
|
|
|
|
|
max_threshold
boolean
|
|
Enable MPLS VPN maximum threshold exceeded traps
|
|
|
|
|
mid_threshold
boolean
|
|
Enable MPLS VPN middle threshold exceeded traps
|
|
|
|
|
vrf_down
boolean
|
|
Enable MPLS VPN vrf down traps
|
|
|
|
|
vrf_up
boolean
|
|
Enable MPLS VPN vrf up traps
|
|
|
mpls_vpn
boolean
|
|
Enable SNMP mpls traps
This option is DEPRECATED and is replaced with mpls which accepts dict as input
This attribute will be removed after 2024-09-01
|
|
|
msdp
boolean
|
|
Enable SNMP msdp traps
|
|
|
mvpn
boolean
|
|
Enable SNMP mvpn traps
|
|
|
nhrp
dictionary
|
|
Allow SNMP NHRP traps
|
|
|
|
enable
boolean
|
|
Enable SNMP NHRP traps
|
|
|
|
nhc
dictionary
|
|
Allow Next Hop Client traps
|
|
|
|
|
down
boolean
|
|
Enable Next Hop Client down trap
|
|
|
|
|
enable
boolean
|
|
Enable Next Hop Client traps
|
|
|
|
|
up
boolean
|
|
Enable Next Hop Client up trap
|
|
|
|
nhp
dictionary
|
|
Allow Next Hop Peer traps
|
|
|
|
|
down
boolean
|
|
Enable Next Hop Peer down trap
|
|
|
|
|
enable
boolean
|
|
Enable Next Hop Peer traps
|
|
|
|
|
up
boolean
|
|
Enable Next Hop Peer up trap
|
|
|
|
nhs
dictionary
|
|
Allow Next Hop Server traps
|
|
|
|
|
down
boolean
|
|
Enable Next Hop Server down trap
|
|
|
|
|
enable
boolean
|
|
Enable Next Hop Server traps
|
|
|
|
|
up
boolean
|
|
Enable Next Hop Server up trap
|
|
|
|
quota_exceeded
boolean
|
|
Enable quota-exceeded trap
|
|
|
ospf
dictionary
|
|
Allow ospf related traps
|
|
|
|
cisco_specific
dictionary
|
|
Cisco specific traps
|
|
|
|
|
error
boolean
|
|
error traps
|
|
|
|
|
lsa
boolean
|
|
Lsa related traps
|
|
|
|
|
retransmit
boolean
|
|
Packet retransmit traps
|
|
|
|
|
state_change
dictionary
|
|
state change traps
|
|
|
|
|
|
nssa_trans_change
boolean
|
|
Nssa translator state changes
|
|
|
|
|
|
shamlink
dictionary
|
|
Config mismatch errors on virtual interfaces
|
|
|
|
|
|
|
interface
boolean
|
|
Sham link interface state changes
|
|
|
|
|
|
|
neighbor
boolean
|
|
Sham link neighbor state changes
|
|
|
|
error
boolean
|
|
Enable error traps
|
|
|
|
lsa
boolean
|
|
Enable/disable ospf lsa traps
|
|
|
|
retransmit
boolean
|
|
Enable/disable ospf retransmit traps
|
|
|
|
state_change
boolean
|
|
Enable/disable state change traps
|
|
|
ospfv3
dictionary
|
|
Allow OSPFv3 related traps
|
|
|
|
errors
dictionary
|
|
Error traps
|
|
|
|
|
bad_packet
boolean
|
|
Packet parse failure on non-virtual interfaces
|
|
|
|
|
config_error
boolean
|
|
Config mismatch errors on non-virtual interfaces
|
|
|
|
|
enable
boolean
|
|
Enable Error traps
|
|
|
|
|
virt_bad_packet
boolean
|
|
Packet parse failure on virtual interfaces
|
|
|
|
|
virt_config_error
boolean
|
|
Config mismatch errors on virtual interfaces
|
|
|
|
rate_limit
integer
|
|
Trap rate limit values
Rate limit window size in seconds (between 2 and 60)
|
|
|
|
state_change
dictionary
|
|
State change traps
|
|
|
|
|
enable
boolean
|
|
Enable State change traps
|
|
|
|
|
if_state_change
boolean
|
|
Non_virtual interface state changes
|
|
|
|
|
neighbor_restart_helper_status_change
boolean
|
|
Neighbor graceful restart helper status changes
|
|
|
|
|
neighbor_state_change
boolean
|
|
Non_virtual neighbor state changes
|
|
|
|
|
nssa_translator_status_change
boolean
|
|
NSSA translator status changes
|
|
|
|
|
restart_status_change
boolean
|
|
Graceful restart status changes
|
|
|
|
|
virtif_state_change
boolean
|
|
Virtual interface state changes
|
|
|
|
|
vn_restart_helper_status_change
boolean
|
|
Virtual neighbor graceful restart helper status changes
|
|
|
|
|
vn_state_change
boolean
|
|
Virtual neighbor state changes
|
|
|
pim
dictionary
|
|
Allow PIM traps
|
|
|
|
enable
boolean
|
|
Enable/disable PIM traps
|
|
|
|
invalid_pim_message
boolean
|
|
Enable invalid pim message trap
|
|
|
|
neighbor_change
boolean
|
|
Enable neighbor change trap
|
|
|
|
rp_mapping_change
boolean
|
|
Enable rp mapping change trap
|
|
|
pki
boolean
|
|
Enable SNMP pki traps
|
|
|
port_security
boolean
|
|
Enable SNMP port security traps
|
|
|
power_ethernet
dictionary
|
|
Allow SNMP power ethernet traps
|
|
|
|
enable
boolean
|
|
Enable SNMP power ethernet traps
|
|
|
|
group
list
/ elements=dictionary
|
|
Enable SNMP inline power group based traps.
|
|
|
|
|
slot_id
integer
|
|
An integer between 1 and 20 (physical slot number)
|
|
|
|
|
threshold
integer
|
|
Threshold level for this slot
|
|
|
|
police
boolean
|
|
Enable Policing Trap
|
|
|
pw_vc
boolean
|
|
Enable SNMP pw vc traps
|
|
|
rep
boolean
|
|
Enable SNMP Resilient Ethernet Protocol Traps
|
|
|
rf
boolean
|
|
Enable all SNMP traps defined in CISCO-RF-MIB
|
|
|
rsvp
boolean
|
|
Enable SNMP RSVP traps
|
|
|
smart_license
dictionary
|
|
Allow smart license traps
|
|
|
|
enable
boolean
|
|
Enable smart license traps
|
|
|
|
entitlement
boolean
|
|
Enable Entitlement Notification trap
|
|
|
|
global
boolean
|
|
Enable Global Notification traps
|
|
|
snmp
dictionary
|
|
Enable SNMP traps
|
|
|
|
authentication
boolean
|
|
Enable authentication trap
|
|
|
|
coldstart
boolean
|
|
Enable coldStart trap
|
|
|
|
linkdown
boolean
|
|
Enable linkDown trap
|
|
|
|
linkup
boolean
|
|
Enable linkUp trap
|
|
|
|
warmstart
boolean
|
|
Enable warmStart trap
|
|
|
stackwise
boolean
|
|
Enable SNMP stackwise traps
|
|
|
stpx
dictionary
|
|
Allow SNMP STPX MIB traps
|
|
|
|
enable
boolean
|
|
Enable SNMP STPX MIB traps
|
|
|
|
inconsistency
boolean
|
|
Enable SNMP STPX MIB InconsistencyUpdate traps
|
|
|
|
loop_inconsistency
boolean
|
|
Enable SNMP STPX MIB LoopInconsistencyUpdate traps
|
|
|
|
root_inconsistency
boolean
|
|
Enable SNMP STPX MIB RootInconsistencyUpdate traps
|
|
|
syslog
boolean
|
|
Enable SNMP syslog traps
|
|
|
transceiver_all
boolean
|
|
Enable SNMP transceiver traps
|
|
|
trustsec
dictionary
|
|
Allow SNMP CISCO-TRUSTSEC-MIB traps
|
|
|
|
authz_file_error
boolean
|
|
Enable ctsAuthzCacheFileErrNotif notifications
|
|
|
|
cache_file_error
boolean
|
|
Enable ctsCacheFileAccessErrNotif notifications
|
|
|
|
enable
boolean
|
|
Enable SNMP CISCO-TRUSTSEC-MIB traps
|
|
|
|
keystore_file_error
boolean
|
|
Enable ctsSwKeystoreFileErrNotif notifications
|
|
|
|
keystore_sync_fail
boolean
|
|
Enable ctsSwKeystoreSyncFailNotif notifications
|
|
|
|
random_number_fail
boolean
|
|
Enable ctsSapRandonNumberFailNotif notifications
|
|
|
|
src_entropy_fail
boolean
|
|
Enable ctsSrcEntropyFailNotif notifications
|
|
|
trustsec_interface
dictionary
|
|
Allow SNMP CISCO-TRUSTSEC-INTERFACE-MIB traps
|
|
|
|
authc_fail
boolean
|
|
Enable ctsiIfAuthenticationFailNotif trap
|
|
|
|
authz_fail
boolean
|
|
Enable ctsiAuthorizationFailNotif trap
|
|
|
|
enable
boolean
|
|
Enable SNMP CISCO-TRUSTSEC-INTERFACE-MIB traps
|
|
|
|
sap_fail
boolean
|
|
Enable ctsiIfSapNegotiationFailNotif trap
|
|
|
|
supplicant_fail
boolean
|
|
Enable ctsiIfAddSupplicantFailNotif trap
|
|
|
|
unauthorized
boolean
|
|
Enable ctsiIfUnauthorizedNotifEnable trap
|
|
|
trustsec_policy
dictionary
|
|
Allow SNMP CISCO-TRUSTSEC-POLICY-MIB traps
|
|
|
|
authz_sgacl_fail
boolean
|
|
Enable ctspAuthorizationSgaclFailNotif notifications
|
|
|
|
enable
boolean
|
|
Enable SNMP CISCO-TRUSTSEC-POLICY-MIB traps
|
|
|
|
peer_policy_updated
boolean
|
|
Enable ctspPeerPolicyUpdatedNotif notifications
|
|
|
trustsec_server
dictionary
|
|
Allow SNMP CISCO-TRUSTSEC-SERVER-MIB traps
|
|
|
|
enable
boolean
|
|
Enable SNMP CISCO-TRUSTSEC-SERVER-MIB traps
|
|
|
|
provision_secret
boolean
|
|
Enable ctsvNoProvisionSecretNotif notification
|
|
|
|
radius_server
boolean
|
|
Enable ctsvNoRadiusServerNotif notification
|
|
|
trustsec_sxp
dictionary
|
|
Allow SNMP CISCO-TRUSTSEC-SXP-MIB traps
|
|
|
|
binding_conflict
boolean
|
|
Enable ctsxSxpBindingConflictNotif notifications
|
|
|
|
binding_err
boolean
|
|
Enable ctsxSxpBindingErrNotif notifications
|
|
|
|
binding_expn_fail
boolean
|
|
Enable ctsxSxpBindingExpnFailNotif notifications
|
|
|
|
conn_config_err
boolean
|
|
Enable ctsxSxpConnConfigErrNotif notifications
|
|
|
|
conn_down
boolean
|
|
Enable ctsxSxpConnDownNotif notifications
|
|
|
|
conn_srcaddr_err
boolean
|
|
Enable ctsxSxpConnSourceAddrErrNotif notifications
|
|
|
|
conn_up
boolean
|
|
Enable ctsxSxpConnUpNotif notifications
|
|
|
|
enable
boolean
|
|
Enable SNMP CISCO-TRUSTSEC-SXP-MIB traps
|
|
|
|
msg_parse_err
boolean
|
|
Enable ctsxSxpMsgParseErrNotif notifications
|
|
|
|
oper_nodeid_change
boolean
|
|
Enable ctsxSxpOperNodeIdChangeNotif notifications
|
|
|
tty
boolean
|
|
Enable SNMP tty TCP connection traps
|
|
|
udld
dictionary
|
|
Allow SNMP CISCO-UDLDP-MIB traps
|
|
|
|
enable
boolean
|
|
Enable SNMP CISCO-UDLDP-MIB traps
|
|
|
|
link_fail_rpt
boolean
|
|
Enable SNMP cudldpFastHelloLinkFailRptNotification traps
|
|
|
|
status_change
boolean
|
|
Enable SNMP cudldpFastHelloStatusChangeNotification traps
|
|
|
vlan_membership
boolean
|
|
Enable SNMP VLAN membership traps
|
|
|
vlancreate
boolean
|
|
Enable SNMP VLAN created traps
|
|
|
vlandelete
boolean
|
|
Enable SNMP VLAN deleted traps
|
|
|
vrfmib
dictionary
|
|
Allow vrfmib traps
|
|
|
|
vnet_trunk_down
boolean
|
|
Enable vnet-trunk-down traps
|
|
|
|
vnet_trunk_up
boolean
|
|
Enable vnet-trunk-up trap
|
|
|
|
vrf_down
boolean
|
|
Enable vrf-down trap
|
|
|
|
vrf_up
boolean
|
|
Enable vrf-up trap
|
|
|
vrrp
boolean
|
|
Enable SNMP vrrp traps
|
|
|
vswitch
dictionary
|
|
Allow SNMP Virtual Switch notifications
|
|
|
|
dual_active
boolean
|
|
Enable SNMP Virtual Switch (Dual Active) notification
|
|
|
|
enable
boolean
|
|
Enable SNMP Virtual Switch notifications
|
|
|
|
vsl
boolean
|
|
Enable SNMP Virtual Switch Link (VSL) notification
|
|
|
vtp
boolean
|
|
Enable SNMP VTP traps
|
|
users
list
/ elements=dictionary
|
|
Define a user who can access the SNMP engine
|
|
|
acl_v4
string
|
|
Access list ipv4 associated
|
|
|
acl_v6
string
|
|
Access list ipv6 associated
|
|
|
authentication
dictionary
|
|
Authentication parameters for the user.
Effects idempotency of module as configuration applied is not reflected in running-config.
|
|
|
|
algorithm
string
|
|
Select algorithm for authentication.
|
|
|
|
password
string
|
|
Authentication password for user.
|
|
|
encryption
dictionary
|
|
Encryption parameters for the user.
Effects idempotency of module as configuration applied is not reflected in running-config.
|
|
|
|
password
string
|
|
Authentication password for user.
|
|
|
|
priv
string
|
|
Select algorithm for encryption.
|
|
|
|
priv_option
string
|
|
Add extra option for specific priv if any.
|
|
|
group
string
|
|
SNMP group for the user.
|
|
|
remote
string
|
|
System where an SNMPv3 user is hosted
|
|
|
udp_port
integer
|
|
UDP port used by the remote SNMP system
|
|
|
username
string
|
|
SNMP user name
|
|
|
version
string
|
|
SNMP security version
|
|
|
version_option
string
|
|
Enable encrypted version option.
|
|
|
vrf
string
|
|
The remote SNMP entity's VPN Routing instance
|
|
views
list
/ elements=dictionary
|
|
Define an SNMPv2 MIB view
|
|
|
excluded
boolean
|
|
MIB family is excluded from the view
|
|
|
family_name
string
|
|
MIB view family name
|
|
|
included
boolean
|
|
MIB family is included in the view
|
|
|
name
string
|
|
Name of the view
|
running_config
string
|
|
This option is used only with state parsed.
The value of this option should be the output received from the IOS device by executing the command show running-config | include snmp-server.
The state parsed reads the configuration from running_config option and transforms it into Ansible structured data as per the resource module's argspec and the value is then returned in the parsed key within the result.
|
state
string
|
Choices:
merged ←
- replaced
- overridden
- deleted
- parsed
- gathered
- rendered
|
The state the configuration should be left in.
Refer to examples for more details.
The states replaced and overridden have identical behaviour for this module.
|