cisco IOS XE 17.16.x — Configuring SNMP

Configuring NETCONF Options Configuring SNMP Enable the SNMP Server in IOS to enable NETCONF to access SNMP MIB data using YANG models generated from supported MIBs, and to enable supported SNMP traps in IOS to receive NETCONF notifications from the supported traps. Perform the following steps: SUMMARY STEPS 1. Enable SNMP features in IOS. 2. After NETCONF-YANG starts, enable SNMP Trap support by sending the following RPC message to the NETCONF-YANG port. 3. Send the following RPC message to the NETCONF-YANG port to save the running configuration to the startup configuration. DETAILED STEPS Procedure Step 1 Enable SNMP features in IOS. Example:

Model-Driven Programmability Configuring NETCONF Options Command or Action Purpose Step 2 configure terminal Example: Device# configure terminal Enters global configuration mode. Step 3 netconf-yang Example: Device (config)# netconf-yang Enables the NETCONF interface on your network device. Note After the initial enablement through the CLI, network devices can be managed subsequently through a model based interface. The complete activation of model-based interface processes may require up to 90 seconds. Step 4 netconf-yang feature candidate-datastore Example: Device(config)# netconf-yang feature candidate-datastore Enables candidate datastore. Step 5 exit Example:

Device (config)# exit Exits global configuration mode. Programmability Configuration Guide, Cisco IOS XE 17.16.x 183