diff --git a/docs/cisco.ios.ios_snmp_server_module.rst b/docs/cisco.ios.ios_snmp_server_module.rst index c3c99300e8..076ea71402 100644 --- a/docs/cisco.ios.ios_snmp_server_module.rst +++ b/docs/cisco.ios.ios_snmp_server_module.rst @@ -5,7 +5,7 @@ cisco.ios.ios_snmp_server ************************* -**Resource module to configure snmp server.** +**Resource module to configure snmp server** Version added: 2.6.0 @@ -599,6 +599,27 @@ Parameters
SNMP group for the user
+ + + + +
+ match + +
+ string +
+ + + + + +
Specify a context name match criteria
+ + @@ -1308,6 +1329,27 @@ Parameters + +
+ aaa_server + +
+ boolean +
+ + + + + +
Enable SNMP AAA Server traps
+ + + + +
auth_framework @@ -1750,6 +1792,174 @@ Parameters + + + + +
+ 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
+ + + @@ -2218,7 +2428,7 @@ Parameters
- envmon + entity_diag
dictionary @@ -2227,7 +2437,7 @@ Parameters -
Allow envmon related traps
+
Allow SNMP CISCO-ENTITY-DIAG-MIB traps
@@ -2236,24 +2446,27 @@ Parameters
- fan + boot_up_fail
- dictionary + boolean
+ -
Enable SNMP envmon fan traps
+
Enable SNMP ceDiagBootUpFailedNotif traps
- - + - +
enable @@ -2268,17 +2481,16 @@ Parameters -
Enable/disable fan traps
+
Enable SNMP CISCO-ENTITY-DIAG-MIB traps
- - +
- shutdown + hm_test_recover
boolean @@ -2291,17 +2503,16 @@ Parameters -
Enable SNMP environmental monitor shutdown traps
+
Enable SNMP ceDiagHMTestRecoverNotif traps
- - +
- status + hm_thresh_reached
boolean @@ -2314,17 +2525,16 @@ Parameters -
Enable SNMP environmental status change traps
+
Enable SNMP ceDiagHMThresholdReachedNotif traps
- - +
- supply + scheduled_test_fail
boolean @@ -2337,40 +2547,34 @@ Parameters -
Enable SNMP environmental monitor supply traps
+
Enable SNMP ceDiagScheduledTestFailedNotif traps
+ - - - +
- temperature + entity_perf
- boolean + dictionary
-
    Choices: -
  • no
  • -
  • yes
  • -
-
Enable SNMP environmental monitor temperature traps
+
Allow SNMP CISCO-ENTITY-PERFORMANCE-MIB traps
- - +
- shutdown + enable
boolean @@ -2383,7 +2587,7 @@ Parameters -
Enable SNMP environmental monitor shutdown traps
+
Enable SNMP CISCO-ENTITY-PERFORMANCE-MIB traps
@@ -2392,7 +2596,7 @@ Parameters
- status + throughput_notif
boolean @@ -2405,16 +2609,16 @@ Parameters -
Enable SNMP environmental status change traps
+
Enable ENTITY PERFORMANCE MIB throughput traps
+ - - +
- supply + entity_state
boolean @@ -2427,25 +2631,152 @@ Parameters -
Enable SNMP environmental monitor supply traps
+
Enable SNMP ENTITY-STATE-MIB traps
- - +
- temperature + envmon
- boolean + dictionary
-
    Choices: -
  • no
  • -
  • yes
  • + + +
    Enable SNMP environmental monitor traps
    + + + + + + + +
    + enable + +
    + boolean +
    + + +
      Choices: +
    • no
    • +
    • yes
    • +
    + + +
    Enable/disable envmon traps
    + + + + + + + +
    + fan + +
    + boolean +
    + + +
      Choices: +
    • no
    • +
    • yes
    • +
    + + +
    Enable SNMP envmon fan traps
    + + + + + + + +
    + shutdown + +
    + boolean +
    + + +
      Choices: +
    • no
    • +
    • yes
    • +
    + + +
    Enable SNMP environmental monitor shutdown traps
    + + + + + + + +
    + status + +
    + boolean +
    + + +
      Choices: +
    • no
    • +
    • yes
    • +
    + + +
    Enable SNMP environmental status change traps
    + + + + + + + +
    + supply + +
    + boolean +
    + + +
      Choices: +
    • no
    • +
    • yes
    • +
    + + +
    Enable SNMP environmental monitor supply traps
    + + + + + + + +
    + temperature + +
    + boolean +
    + + +
      Choices: +
    • no
    • +
    • yes
    @@ -2453,6 +2784,48 @@ Parameters + + + + +
    + errdisable + +
    + boolean +
    + + +
      Choices: +
    • no
    • +
    • yes
    • +
    + + +
    Enable SNMP errdisable notifications
    + + + + + + +
    + ether_oam + +
    + boolean +
    + + +
      Choices: +
    • no
    • +
    • yes
    • +
    + + +
    Enable SNMP ethernet oam traps
    + + @@ -2921,46 +3294,47 @@ Parameters
    - flowmon + flash
    - boolean + dictionary
    -
      Choices: -
    • no
    • -
    • yes
    • -
    -
    Enable SNMP flowmon traps
    +
    SNMP FLASH notifications
    - + - + +
    - frame_relay + enable
    - dictionary + boolean
    +
      Choices: +
    • no
    • +
    • yes
    • +
    -
    Allow frame-relay traps
    +
    Enable SNMP FLASH notifications
    - +
    - enable + insertion
    boolean @@ -2973,7 +3347,7 @@ Parameters
-
Enable/disable frame-relay traps
+
Enable SNMP Flash Insertion notifications
@@ -2982,87 +3356,91 @@ Parameters
- subif + lowspace
- dictionary + boolean
+
    Choices: +
  • no
  • +
  • yes
  • +
-
Enable SNMP frame-relay subinterface traps
+
Enable SNMP Flash Low Space notifications
- - + - +
- count + removal
- integer + boolean
+
    Choices: +
  • no
  • +
  • yes
  • +
-
Maximum number of traps sent per interval
+
Enable SNMP Flash Removal notifications
+ - - - +
- enable + flex_links
- boolean + dictionary
-
    Choices: -
  • no
  • -
  • yes
  • -
-
Enable/disable subif traps
+
SNMP FLEX Links traps
- - + - +
- interval + enable
- integer + boolean
+
    Choices: +
  • no
  • +
  • yes
  • +
-
Interval duration in which to limit the number of traps sent
+
Enable SNMP FLEX Links traps
- - - + +
- fru_ctrl + status
boolean @@ -3075,15 +3453,16 @@ Parameters -
Enable SNMP fru-ctrl traps
+
Enable SNMP FLEX Links status change traps
+
- hsrp + flowmon
boolean @@ -3096,7 +3475,7 @@ Parameters -
Enable SNMP hsrp traps
+
Enable SNMP flowmon traps
@@ -3104,7 +3483,169 @@ Parameters
- ike + frame_relay + +
+ dictionary +
+ + + + +
Allow frame-relay traps
+ + + + + + + +
+ enable + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable/disable frame-relay traps
+ + + + + + + +
+ subif + +
+ dictionary +
+ + + + +
Enable SNMP frame-relay subinterface traps
+ + + + + + + + +
+ count + +
+ integer +
+ + + + +
Maximum number of traps sent per interval
+ + + + + + + + +
+ enable + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable/disable subif traps
+ + + + + + + + +
+ interval + +
+ integer +
+ + + + +
Interval duration in which to limit the number of traps sent
+ + + + + + + + +
+ fru_ctrl + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable SNMP fru-ctrl traps
+ + + + + + +
+ hsrp + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable SNMP hsrp traps
+ + + + + + +
+ ike
dictionary @@ -3526,6 +4067,90 @@ Parameters
Enable SNMP isis traps
+ + + + +
+ l2tc + +
+ dictionary +
+ + + + +
Allow SNMP L2 Tunnel Config traps
+ + + + + + + +
+ enable + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable SNMP L2 Tunnel Config traps
+ + + + + + + +
+ sys_threshold + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable SNMP L2TC System threshold traps
+ + + + + + + +
+ threshold + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable SNMP L2 Tunnel Config threshold traps
+ + + @@ -3593,7 +4218,7 @@ Parameters
- mpls_vpn + license
boolean @@ -3606,7 +4231,7 @@ Parameters -
Enable SNMP mpls traps
+
Enable license traps
@@ -3614,7 +4239,7 @@ Parameters
- msdp + lisp
boolean @@ -3627,7 +4252,7 @@ Parameters -
Enable SNMP msdp traps
+
Enable SNMP LISP MIB traps
@@ -3635,7 +4260,3298 @@ Parameters
- mvpn + local_auth + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable SNMP local auth traps
+ + + + + + +
+ mac_notification + +
+ dictionary +
+ + + + +
Allow SNMP MAC Notification traps
+ + + + + + + +
+ change + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable SNMP MAC Change traps
+ + + + + + + +
+ enable + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable SNMP MAC Notification traps
+ + + + + + + +
+ move + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable SNMP MAC Move traps
+ + + + + + + +
+ threshold + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable SNMP MAC Threshold traps
+ + + + + + + +
+ memory + +
+ dictionary +
+ + + + +
Allow MEMORY traps
+ + + + + + + +
+ bufferpeak + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable SNMP Memory Bufferpeak traps
+ + + + + + + +
+ enable + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable MEMORY traps
+ + + + + + + +
+ mpls + +
+ dictionary +
+ + + + +
Enable SNMP mpls traps
+ + + + + + + +
+ fast_reroute + +
+ dictionary +
+ + + + +
Allow SNMP MPLS fast reroute traps
+ + + + + + + + +
+ enable + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable SNMP MPLS fast reroute traps
+ + + + + + + + +
+ protected + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable MPLS fast reroute protection traps
+ + + + + + + + +
+ ldp + +
+ dictionary +
+ + + + +
Allow SNMP MPLS label distribution protocol traps
+ + + + + + + + +
+ enable + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable SNMP MPLS label distribution protocol traps
+ + + + + + + + +
+ pv_limit + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable MPLS LDP path vector limit mismatch traps
+ + + + + + + + +
+ session_down + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable MPLS LDP session down traps
+ + + + + + + + +
+ session_up + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable MPLS LDP session up traps
+ + + + + + + + +
+ threshold + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable MPLS LDP threshold exceeded traps
+ + + + + + + + +
+ rfc + +
+ - +
+ + + + +
Enable SNMP MPLS RFC traps
+ + + + + + + + +
+ ldp + +
+ dictionary +
+ + + + +
Allow SNMP MPLS label distribution protocol RFC traps
+ + + + + + + + + +
+ enable + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable SNMP MPLS label distribution protocol RFC traps
+ + + + + + + + + +
+ pv_limit + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable MPLS LDP path vector limit mismatch RFC traps
+ + + + + + + + + +
+ session_down + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable MPLS LDP session down RFC traps
+ + + + + + + + + +
+ session_up + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable MPLS LDP session up RFC traps
+ + + + + + + + + +
+ threshold + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable MPLS LDP threshold exceeded RFC traps
+ + + + + + + + + +
+ traffic_eng + +
+ dictionary +
+ + + + +
Allow SNMP MPLS traffic engineering RFC traps
+ + + + + + + + + +
+ down + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable MPLS TE tunnel down RFC traps
+ + + + + + + + + +
+ enable + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable SNMP MPLS traffic engineering RFC traps
+ + + + + + + + + +
+ reoptimized + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable MPLS TE tunnel reoptimized RFC traps
+ + + + + + + + + +
+ reroute + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable MPLS TE tunnel reroute RFC traps
+ + + + + + + + + +
+ up + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable MPLS TE tunnel up RFC traps
+ + + + + + + + + +
+ vpn + +
+ dictionary +
+ + + + +
Allow SNMP MPLS Virtual Private Network RFC traps
+ + + + + + + + + +
+ enable + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable SNMP MPLS Virtual Private Network RFC traps
+ + + + + + + + + +
+ illegal_label + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable MPLS VPN illegal label threshold exceeded RFC traps
+ + + + + + + + + +
+ max_thresh_cleared + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable MPLS VPN maximum threshold cleared RFC traps
+ + + + + + + + + +
+ max_threshold + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable MPLS VPN maximum threshold exceeded RFC traps
+ + + + + + + + + +
+ mid_threshold + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable MPLS VPN middle threshold exceeded RFC traps
+ + + + + + + + + +
+ vrf_down + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable MPLS VPN vrf down RFC traps
+ + + + + + + + + +
+ vrf_up + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable MPLS VPN vrf up RFC traps
+ + + + + + + + + +
+ traffic_eng + +
+ dictionary +
+ + + + +
Allow SNMP MPLS traffic engineering traps
+ + + + + + + + +
+ down + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable MPLS TE tunnel down traps
+ + + + + + + + +
+ enable + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable SNMP MPLS traffic engineering traps
+ + + + + + + + +
+ reroute + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable MPLS TE tunnel reroute traps
+ + + + + + + + +
+ up + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable MPLS TE tunnel up traps
+ + + + + + + + +
+ vpn + +
+ dictionary +
+ + + + +
Allow SNMP MPLS Virtual Private Network traps
+ + + + + + + + +
+ enable + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable SNMP MPLS Virtual Private Network traps
+ + + + + + + + +
+ illegal_label + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable MPLS VPN illegal label threshold exceeded traps
+ + + + + + + + +
+ max_thresh_cleared + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable MPLS VPN maximum threshold cleared traps
+ + + + + + + + +
+ max_threshold + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable MPLS VPN maximum threshold exceeded traps
+ + + + + + + + +
+ mid_threshold + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable MPLS VPN middle threshold exceeded traps
+ + + + + + + + +
+ vrf_down + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable MPLS VPN vrf down traps
+ + + + + + + + +
+ vrf_up + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable MPLS VPN vrf up traps
+ + + + + + + + +
+ msdp + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable SNMP msdp traps
+ + + + + + +
+ mvpn + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable SNMP mvpn traps
+ + + + + + +
+ nhrp + +
+ dictionary +
+ + + + +
Allow SNMP NHRP traps
+ + + + + + + +
+ enable + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable SNMP NHRP traps
+ + + + + + + +
+ nhc + +
+ dictionary +
+ + + + +
Allow Next Hop Client traps
+ + + + + + + + +
+ down + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable Next Hop Client down trap
+ + + + + + + + +
+ enable + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable Next Hop Client traps
+ + + + + + + + +
+ up + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable Next Hop Client up trap
+ + + + + + + + +
+ nhp + +
+ dictionary +
+ + + + +
Allow Next Hop Peer traps
+ + + + + + + + +
+ down + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable Next Hop Peer down trap
+ + + + + + + + +
+ enable + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable Next Hop Peer traps
+ + + + + + + + +
+ up + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable Next Hop Peer up trap
+ + + + + + + + +
+ nhs + +
+ dictionary +
+ + + + +
Allow Next Hop Server traps
+ + + + + + + + +
+ down + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable Next Hop Server down trap
+ + + + + + + + +
+ enable + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable Next Hop Server traps
+ + + + + + + + +
+ up + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable Next Hop Server up trap
+ + + + + + + + +
+ quota_exceeded + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable quota-exceeded trap
+ + + + + + + +
+ ospf + +
+ dictionary +
+ + + + +
Allow ospf related traps
+ + + + + + + +
+ cisco_specific + +
+ dictionary +
+ + + + +
Cisco specific traps
+ + + + + + + + +
+ error + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
error traps
+ + + + + + + + +
+ lsa + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Lsa related traps
+ + + + + + + + +
+ retransmit + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Packet retransmit traps
+ + + + + + + + +
+ state_change + +
+ dictionary +
+ + + + +
state change traps
+ + + + + + + + + +
+ nssa_trans_change + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Nssa translator state changes
+ + + + + + + + + +
+ shamlink + +
+ dictionary +
+ + + + +
Config mismatch errors on virtual interfaces
+ + + + + + + + + + +
+ interface + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Sham link interface state changes
+ + + + + + + + + + +
+ neighbor + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Sham link neighbor state changes
+ + + + + + + + + + +
+ error + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable error traps
+ + + + + + + +
+ lsa + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable/disable ospf lsa traps
+ + + + + + + +
+ retransmit + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable/disable ospf retransmit traps
+ + + + + + + +
+ state_change + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable/disable state change traps
+ + + + + + + +
+ ospfv3 + +
+ dictionary +
+ + + + +
Allow OSPFv3 related traps
+ + + + + + + +
+ errors + +
+ dictionary +
+ + + + +
Error traps
+ + + + + + + + +
+ bad_packet + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Packet parse failure on non-virtual interfaces
+ + + + + + + + +
+ config_error + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Config mismatch errors on non-virtual interfaces
+ + + + + + + + +
+ enable + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable Error traps
+ + + + + + + + +
+ virt_bad_packet + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Packet parse failure on virtual interfaces
+ + + + + + + + +
+ virt_config_error + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
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 +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable State change traps
+ + + + + + + + +
+ if_state_change + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Non_virtual interface state changes
+ + + + + + + + +
+ neighbor_restart_helper_status_change + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Neighbor graceful restart helper status changes
+ + + + + + + + +
+ neighbor_state_change + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Non_virtual neighbor state changes
+ + + + + + + + +
+ nssa_translator_status_change + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
NSSA translator status changes
+ + + + + + + + +
+ restart_status_change + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Graceful restart status changes
+ + + + + + + + +
+ virtif_state_change + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Virtual interface state changes
+ + + + + + + + +
+ virtneighbor_restart_helper_status_change + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Virtual neighbor graceful restart helper status changes
+ + + + + + + + +
+ virtneighbor_state_change + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Virtual neighbor state changes
+ + + + + + + + +
+ pim + +
+ dictionary +
+ + + + +
Allow PIM traps
+ + + + + + + +
+ enable + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable/disable PIM traps
+ + + + + + + +
+ invalid_pim_message + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable invalid pim message trap
+ + + + + + + +
+ neighbor_change + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable neighbor change trap
+ + + + + + + +
+ rp_mapping_change + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable rp mapping change trap
+ + + + + + + +
+ pki + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable SNMP pki traps
+ + + + + + +
+ port_security + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable SNMP port security traps
+ + + + + + +
+ power_ethernet + +
+ dictionary +
+ + + + +
Allow SNMP power ethernet traps
+ + + + + + + +
+ enable + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
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 +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable Policing Trap
+ + + + + + + +
+ pw_vc + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable SNMP pw vc traps
+ + + + + + +
+ rep + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable SNMP Resilient Ethernet Protocol Traps
+ + + + + + +
+ rf + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable all SNMP traps defined in CISCO-RF-MIB
+ + + + + + +
+ rsvp + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable SNMP RSVP traps
+ + + + + + +
+ smart_license + +
+ dictionary +
+ + + + +
Allow smart license traps
+ + + + + + + +
+ enable + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable smart license traps
+ + + + + + + +
+ entitlement + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable Entitlement Notification trap
+ + + + + + + +
+ global + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable Global Notification traps
+ + + + + + + +
+ snmp + +
+ dictionary +
+ + + + +
Enable SNMP traps
+ + + + + + + +
+ authentication + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable authentication trap
+ + + + + + + +
+ coldstart + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable coldStart trap
+ + + + + + + +
+ linkdown + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable linkDown trap
+ + + + + + + +
+ linkup + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable linkUp trap
+ + + + + + + +
+ warmstart + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable warmStart trap
+ + + + + + + +
+ stackwise + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable SNMP stackwise traps
+ + + + + + +
+ stpx + +
+ dictionary +
+ + + + +
Allow SNMP STPX MIB traps
+ + + + + + + +
+ enable + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable SNMP STPX MIB traps
+ + + + + + + +
+ inconsistency + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable SNMP STPX MIB InconsistencyUpdate traps
+ + + + + + + +
+ loop_inconsistency + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable SNMP STPX MIB LoopInconsistencyUpdate traps
+ + + + + + + +
+ root_inconsistency + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable SNMP STPX MIB RootInconsistencyUpdate traps
+ + + + + + + +
+ syslog + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable SNMP syslog traps
+ + + + + + +
+ transceiver_all + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable SNMP transceiver traps
+ + + + + + +
+ trustsec + +
+ dictionary +
+ + + + +
Allow SNMP CISCO-TRUSTSEC-MIB traps
+ + + + + + + +
+ authz_file_error + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable ctsAuthzCacheFileErrNotif notifications
+ + + + + + + +
+ cache_file_error + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable ctsCacheFileAccessErrNotif notifications
+ + + + + + + +
+ enable + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable SNMP CISCO-TRUSTSEC-MIB traps
+ + + + + + + +
+ keystore_file_error + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable ctsSwKeystoreFileErrNotif notifications
+ + + + + + + +
+ keystore_sync_fail + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable ctsSwKeystoreSyncFailNotif notifications
+ + + + + + + +
+ random_number_fail + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable ctsSapRandonNumberFailNotif notifications
+ + + + + + + +
+ src_entropy_fail + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable ctsSrcEntropyFailNotif notifications
+ + + + + + + +
+ trustsec_interface + +
+ dictionary +
+ + + + +
Allow SNMP CISCO-TRUSTSEC-INTERFACE-MIB traps
+ + + + + + + +
+ authc_fail + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable ctsiIfAuthenticationFailNotif trap
+ + + + + + + +
+ authz_fail + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable ctsiAuthorizationFailNotif trap
+ + + + + + + +
+ enable + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable SNMP CISCO-TRUSTSEC-INTERFACE-MIB traps
+ + + + + + + +
+ sap_fail + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable ctsiIfSapNegotiationFailNotif trap
+ + + + + + + +
+ supplicant_fail + +
+ boolean +
+ + +
    Choices: +
  • no
  • +
  • yes
  • +
+ + +
Enable ctsiIfAddSupplicantFailNotif trap
+ + + + + + + +
+ unauthorized
boolean @@ -3648,15 +7564,16 @@ Parameters -
Enable SNMP mvpn traps
+
Enable ctsiIfUnauthorizedNotifEnable trap
+
- ospf + trustsec_policy
dictionary @@ -3665,7 +7582,7 @@ Parameters -
Allow ospf related traps
+
Allow SNMP CISCO-TRUSTSEC-POLICY-MIB traps
@@ -3674,26 +7591,29 @@ Parameters
- cisco_specific + authz_sgacl_fail
- dictionary + boolean
+
    Choices: +
  • no
  • +
  • yes
  • +
-
Cisco specific traps
+
Enable ctspAuthorizationSgaclFailNotif notifications
- - + - +
- error + enable
boolean @@ -3706,17 +7626,16 @@ Parameters -
error traps
+
Enable SNMP CISCO-TRUSTSEC-POLICY-MIB traps
- - +
- lsa + peer_policy_updated
boolean @@ -3729,17 +7648,34 @@ Parameters -
Lsa related traps
+
Enable ctspPeerPolicyUpdatedNotif notifications
+ + +
+ trustsec_server + +
+ dictionary +
+ + + + +
Allow SNMP CISCO-TRUSTSEC-SERVER-MIB traps
+ + + + - +
- retransmit + enable
boolean @@ -3752,37 +7688,38 @@ Parameters -
Packet retransmit traps
+
Enable SNMP CISCO-TRUSTSEC-SERVER-MIB traps
- - +
- state_change + provision_secret
- dictionary + boolean
+
    Choices: +
  • no
  • +
  • yes
  • +
-
state change traps
+
Enable ctsvNoProvisionSecretNotif notification
- - - + - +
- nssa_trans_change + radius_server
boolean @@ -3795,18 +7732,16 @@ Parameters -
Nssa translator state changes
+
Enable ctsvNoRadiusServerNotif notification
+ - - - - +
- shamlink + trustsec_sxp
dictionary @@ -3815,19 +7750,16 @@ Parameters -
Config mismatch errors on virtual interfaces
+
Allow SNMP CISCO-TRUSTSEC-SXP-MIB traps
- - - - +
- interface + binding_conflict
boolean @@ -3840,19 +7772,16 @@ Parameters -
Sham link interface state changes
+
Enable ctsxSxpBindingConflictNotif notifications
- - - - +
- neighbor + binding_err
boolean @@ -3865,19 +7794,16 @@ Parameters -
Sham link neighbor state changes
+
Enable ctsxSxpBindingErrNotif notifications
- - -
- error + binding_expn_fail
boolean @@ -3890,7 +7816,7 @@ Parameters -
Enable error traps
+
Enable ctsxSxpBindingExpnFailNotif notifications
@@ -3899,7 +7825,7 @@ Parameters
- lsa + conn_config_err
boolean @@ -3912,7 +7838,7 @@ Parameters -
Enable/disable ospf lsa traps
+
Enable ctsxSxpConnConfigErrNotif notifications
@@ -3921,7 +7847,7 @@ Parameters
- retransmit + conn_down
boolean @@ -3934,7 +7860,7 @@ Parameters -
Enable/disable ospf retransmit traps
+
Enable ctsxSxpConnDownNotif notifications
@@ -3943,7 +7869,7 @@ Parameters
- state_change + conn_srcaddr_err
boolean @@ -3956,28 +7882,32 @@ Parameters -
Enable/disable state change traps
+
Enable ctsxSxpConnSourceAddrErrNotif notifications
- - + +
- pim + conn_up
- dictionary + boolean
+
    Choices: +
  • no
  • +
  • yes
  • +
-
Allow PIM traps
+
Enable ctsxSxpConnUpNotif notifications
- + @@ -3996,7 +7926,7 @@ Parameters -
Enable/disable PIM traps
+
Enable SNMP CISCO-TRUSTSEC-SXP-MIB traps
@@ -4005,7 +7935,7 @@ Parameters
- invalid_pim_message + msg_parse_err
boolean @@ -4018,7 +7948,7 @@ Parameters -
Enable invalid pim message trap
+
Enable ctsxSxpMsgParseErrNotif notifications
@@ -4027,7 +7957,7 @@ Parameters
- neighbor_change + oper_nodeid_change
boolean @@ -4040,16 +7970,16 @@ Parameters -
Enable neighbor change trap
+
Enable ctsxSxpOperNodeIdChangeNotif notifications
+ - - +
- rp_mapping_change + tty
boolean @@ -4062,37 +7992,33 @@ Parameters -
Enable rp mapping change trap
+
Enable SNMP tty TCP connection traps
-
- pki + udld
- boolean + dictionary
-
    Choices: -
  • no
  • -
  • yes
  • -
-
Enable SNMP pki traps
+
Allow SNMP CISCO-UDLDP-MIB traps
- + - + +
- pw_vc + enable
boolean @@ -4105,15 +8031,16 @@ Parameters -
Enable SNMP pw vc traps
+
Enable SNMP CISCO-UDLDP-MIB traps
- + +
- rsvp + link_fail_rpt
boolean @@ -4126,33 +8053,38 @@ Parameters -
Enable SNMP RSVP traps
+
Enable SNMP cudldpFastHelloLinkFailRptNotification traps
- + +
- snmp + status_change
- dictionary + boolean
+
    Choices: +
  • no
  • +
  • yes
  • +
-
Enable SNMP traps
+
Enable SNMP cudldpFastHelloStatusChangeNotification traps
- - + + - +
- authentication + vlan_membership
boolean @@ -4165,16 +8097,15 @@ Parameters -
Enable authentication trap
+
Enable SNMP VLAN membership traps
- - +
- coldstart + vlancreate
boolean @@ -4187,16 +8118,15 @@ Parameters -
Enable coldStart trap
+
Enable SNMP VLAN created traps
- - +
- linkdown + vlandelete
boolean @@ -4209,38 +8139,33 @@ Parameters -
Enable linkDown trap
+
Enable SNMP VLAN deleted traps
- - +
- linkup + vrfmib
- boolean + dictionary
-
    Choices: -
  • no
  • -
  • yes
  • -
-
Enable linkUp trap
+
Allow vrfmib traps
- +
- warmstart + vnet_trunk_down
boolean @@ -4253,16 +8178,16 @@ Parameters -
Enable warmStart trap
+
Enable vnet-trunk-down traps
- - + +
- syslog + vnet_trunk_up
boolean @@ -4275,15 +8200,16 @@ Parameters -
Enable SNMP syslog traps
+
Enable vnet-trunk-up trap
- + +
- transceiver_all + vrf_down
boolean @@ -4296,15 +8222,16 @@ Parameters -
Enable SNMP transceiver traps
+
Enable vrf-down trap
- + +
- tty + vrf_up
boolean @@ -4317,55 +8244,55 @@ Parameters -
Enable SNMP tty TCP connection traps
+
Enable vrf-up trap
+
- vrfmib + vrrp
- dictionary + boolean
+
    Choices: +
  • no
  • +
  • yes
  • +
-
Allow vrfmib traps
+
Enable SNMP vrrp traps
- - + - +
- vnet_trunk_down + vswitch
- boolean + dictionary
-
    Choices: -
  • no
  • -
  • yes
  • -
-
Enable vnet-trunk-down traps
+
Allow SNMP Virtual Switch notifications
- +
- vnet_trunk_up + dual_active
boolean @@ -4378,7 +8305,7 @@ Parameters -
Enable vnet-trunk-up trap
+
Enable SNMP Virtual Switch (Dual Active) notification
@@ -4387,20 +8314,16 @@ Parameters
- vrf_down + enable
- boolean + -
-
    Choices: -
  • no
  • -
  • yes
  • -
-
Enable vrf-down trap
+
Enable SNMP Virtual Switch notifications
@@ -4409,7 +8332,7 @@ Parameters
- vrf_up + vsl
boolean @@ -4422,7 +8345,7 @@ Parameters -
Enable vrf-up trap
+
Enable SNMP Virtual Switch Link (VSL) notification
@@ -4431,7 +8354,7 @@ Parameters
- vrrp + vtp
boolean @@ -4444,7 +8367,7 @@ Parameters -
Enable SNMP vrrp traps
+
Enable SNMP VTP traps
@@ -4910,7 +8833,7 @@ Notes ----- .. note:: - - Tested against Cisco IOSXE Version 17.3 on CML. + - Tested against Cisco IOSv Version and IOS-XE v. - This module works with connection ``network_cli``. @@ -6056,7 +9979,7 @@ Common return values are documented `here The set of commands pushed to the remote device.

Sample:
-
['snmp-server host 172.16.2.99 informs version 2c check msdp stun', 'snmp-server engineID remote 172.16.0.2 udp-port 23 AB0C5342FAAB', 'snmp-server group grp1 v1 notify me access 2']
+
['sample command 1', 'sample command 2', 'sample command 3']
@@ -6107,7 +10030,7 @@ Common return values are documented `here The provided configuration in the task rendered in device-native format (offline).

Sample:
-
['snmp-server enable traps ipsec cryptomap attach', 'snmp-server password-policy policy1 define max-len 24 upper-case 12 lower-case 12 special-char 32 digits 23 change 3', 'snmp-server cache interval 2']
+
['sample command 1', 'sample command 2', 'sample command 3']
diff --git a/plugins/module_utils/network/ios/config/snmp_server/snmp_server.py b/plugins/module_utils/network/ios/config/snmp_server/snmp_server.py index 4f181136de..1c5937352f 100644 --- a/plugins/module_utils/network/ios/config/snmp_server/snmp_server.py +++ b/plugins/module_utils/network/ios/config/snmp_server/snmp_server.py @@ -140,9 +140,9 @@ def __init__(self, module): "traps.memory", "traps.mpls.fast_reroute", "traps.mpls.ldp", - #"traps.mpls.rfc.ldp", + # "traps.mpls.rfc.ldp", "traps.mpls.rfc.traffic_eng", - #"traps.mpls.rfc.vpn", + # "traps.mpls.rfc.vpn", "traps.mpls.traffic_eng", "traps.mpls.vpn", "traps.msdp",