IPI-SNMP
Configure enable link down trap
Use this attribute to enable or disable SNMP linkdown traps.
Attribute Name: enable-link-down-trap
Attribute Type: boolean
Attribute Name: enable-link-up-trap
Attribute Type: boolean
Netconf edit-config payload
<snmp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp">
<server-traps>
<config>
<enable-link-up-trap>true</enable-link-up-trap> <!-- operation="delete"-->
<enable-link-down-trap>true</enable-link-down-trap> <!-- operation="delete"-->
</config>
</server-traps>
</snmp>
Command Syntax
snmp-server enable traps link
Configure enable link up trap
Use this attribute to enable or disable SNMP linkdown traps.
Attribute Name: enable-link-down-trap
Attribute Type: boolean
Attribute Name: enable-link-up-trap
Attribute Type: boolean
Netconf edit-config payload
<snmp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp">
<server-traps>
<config>
<enable-link-up-trap>true</enable-link-up-trap> <!-- operation="delete"-->
<enable-link-down-trap>true</enable-link-down-trap> <!-- operation="delete"-->
</config>
</server-traps>
</snmp>
Command Syntax
no snmp-server enable traps link
Configure include interface name
Use this attribute to include ifname with SNMP linkdown traps.
Attribute Name: include-interface-name
Attribute Type: uint8
Netconf edit-config payload
<snmp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp">
<server-traps>
<config>
</include-interface-name><!-- operation="delete"-->
</config>
</server-traps>
</snmp>
Command Syntax
snmp-server enable traps link include-interface-name
Configure enable traps
Use this attribute to enable or disable SNMP traps and inform requests.
This command is supported when following feature are enabled SNMP-AGENT feature
Attribute Name: enable-traps
Attribute Type: bits (snmp authentication|mpls|pw|pwdelete|rsvp|ospf|bgp|isis|vrrp|vxlan|ospf6|mplsl3vpn|rib|pim)
Netconf edit-config payload
<snmp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp">
<server-traps>
<config>
<enable-traps>snmp authentication</enable-traps> <!-- operation="delete"-->
</config>
</server-traps>
</snmp>
Command Syntax
snmp-server enable traps (snmp authentication|mpls|pw|pwdelete|rsvp|ospf|bgp|isis|vrrp|vxlan|ospf6|mplsl3vpn|rib|pim)
debug (snmp send|snmp receive|snmp process|snmp xdump|snmp error-string|snmp detail|snmp|snmp all)
Attribute Name: debug
Attribute Type: bits (snmp send|snmp receive|snmp process|snmp xdump|snmp error-string|snmp detail|snmp|snmp all)
Netconf RPC payload
<snmp-agentx-enable-terminal-debugging xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp">
<debug>snmp send</debug>
</snmp-agentx-enable-terminal-debugging>
Command Syntax
debug (snmp send|snmp receive|snmp process|snmp xdump|snmp error-string|snmp detail|snmp|snmp all)
no debug (snmp send|snmp receive|snmp process|snmp xdump|snmp error-string|snmp detail|snmp|snmp all)
Attribute Name: debug
Attribute Type: bits (snmp send|snmp receive|snmp process|snmp xdump|snmp error-string|snmp detail|snmp|snmp all)
Netconf RPC payload
<snmp-agentx-disable-terminal-debugging xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp">
<debug>snmp send</debug>
</snmp-agentx-disable-terminal-debugging>
Command Syntax
no debug (snmp send|snmp receive|snmp process|snmp xdump|snmp error-string|snmp detail|snmp|snmp all)
Last modified date: 07-14-2023