IPI-SNMP-SERVER
Configure vrf name
VRF name associated with this instance.
Attribute Name: vrf-name
Attribute Type: string
Attribute Name: enabled
Attribute Type: empty
Netconf edit-config payload
<snmp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp">
<servers xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server">
<server>
<vrf-name>management</vrf-name>
<config>
<vrf-name>management</vrf-name>
</enabled>
</config>
</server>
</servers>
</snmp>
Command Syntax
snmp-server enable snmp (vrf management|)
Configure system contact
Use this attribute to set the system contact information for the device (sysContact object)
Attribute Name: system-contact
Attribute Type: string
Netconf edit-config payload
<snmp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp">
<servers xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server">
<server>
<vrf-name>management</vrf-name>
<config>
<vrf-name>management</vrf-name>
</config>
<global>
<config>
<system-contact>LINE</system-contact> <!-- operation="delete"-->
</config>
</global>
</server>
</servers>
</snmp>
Command Syntax
snmp-server contact (vrf management|) LINE
Configure system location
Use this attribute to set the physical location information of the device (sysLocation object)
Attribute Name: system-location
Attribute Type: string
Netconf edit-config payload
<snmp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp">
<servers xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server">
<server>
<vrf-name>management</vrf-name>
<config>
<vrf-name>management</vrf-name>
</config>
<global>
<config>
<system-location>LINE</system-location> <!-- operation="delete"-->
</config>
</global>
</server>
</servers>
</snmp>
Command Syntax
snmp-server location (vrf management|) LINE
Configure tcp session enabled
Use this attribute to start the SNMP agent daemon over TCP
Attribute Name: tcp-session-enabled
Attribute Type: empty
Netconf edit-config payload
<snmp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp">
<servers xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server">
<server>
<vrf-name>management</vrf-name>
<config>
<vrf-name>management</vrf-name>
</config>
<global>
<config>
</tcp-session-enabled><!-- operation="delete"-->
</config>
</global>
</server>
</servers>
</snmp>
Command Syntax
snmp-server tcp-session (vrf management|)
Configure disable default instance
Use this attribute to prevent default snmp instance from being enabled at start up
Attribute Name: disable-default-instance
Attribute Type: empty
Netconf edit-config payload
<snmp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp">
<servers xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server">
<default-instance>
<config>
</disable-default-instance><!-- operation="delete"-->
</config>
</default-instance>
</servers>
</snmp>
Command Syntax
snmp-server disable-default
Last modified date: 07-14-2023