OcNOS-RON-6.3.1 : System Management Guide : System Management Command Reference : Simple Network Management Protocol : snmp-server enable traps
snmp-server enable traps
Use this command to enable SNMP traps and inform requests.
Use no form of this command to disable SNMP traps and inform requests.
Note: For CMMD, Critical logs in the console are equivalent to Alert traps & Alert logs on the console is equivalent to critical trap in SNMP.
Command Syntax
snmp-server enable traps (link(|linkDown|linkUp|include-interface-name)|snmp(|authentication)| mpls|pw|pwdelete|ospf|bgp|isis|vxlan|vrrp|ospf6)
no snmp-server enable traps (link(|linkDown|linkUp|include-interface-name)|snmp(|authentication)| mpls|pw|pwdelete|ospf|bgp|isis|vxlan|vrrp|ospf6
Parameters
link
Module notifications enable
linkDown
IETF Link state down notification
linkUp
IETF Link state up notification
snmp
Enable RFC 1157 notifications
authentication
 
Send SNMP authentication failure notifications
mpls
mpls notification trap
ospf
ospf notification trap
pw
pw notification trap
pwdelete
pwdelete notification trap
rsvp
rsvp notification trap
bgp
bgp notification trap
isis
isis notification trap
linkDown
IETF link state down notification
linkup
IETF link state up notification
include-interface-name
 
Enable this option to include interface name in the Linkup/Linkdown trap's varbind
Default
By default, SNMP server traps are enabled.
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3 and changed in OcNOS version 1.3.6 and changed in OcNOS DC Version 5.0.
Examples
(config)#snmp-server enable traps snmp authentication
(config)#sh running-config snmp
snmp-server view all .1 included vrf management
snmp-server enable snmp vrf management
snmp-server enable traps snmp authentication
Last modified date: 07-14-2023