This document describes an example on how to configure a Cisco D9859 (used as example) receiver using Simple Network Monitoring Protocol (SNMP).
Cisco recommends that you have knowledge of these topics:
The Net-SNMP application (snmpwalk, snmpget, snmpset, snmptranslate)
One or more Cisco D9859 receivers (for this example)
The information in this document is based on Cisco D9859 on the release v1.51 using the D9859_Feature_MIB_V1.50.
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.
Moreover, it is intended for network operators who wants to configure their Cisco D98xx receivers with SNMP and are familiar with the snmp commands in command line and knows how to configure a Cisco D98xx receivers.
The Cisco D9859 chassis can be configured via SNMP using the D9859_Feature_MIB. The MIB is not loaded in the SNMP Navigator on Cisco.com. You can obtain an overview of the MIB by using the snmptranslate command:
Note: CISCO_DMN_DSG_Root.mib is the root of the tree as suggested by the name. Use the anchor -m ./<root_file:./<child_file to view the content.
Configuration Example of the Symbol Rate of the RF1 Channel
In this example, you change the Symbol Rate for the first RF input of the receiver. Note that issuing a SNMP SET on the Cisco D9859 will trigger a lock of the configuration session. As a result, the change will need to be commited to be validated in the interface and to release to lock on the session. The lock also prevent a change of configuration using the web interface for about 5 minutes.
Configuration Example with Validation
Read the current configuration using snmpget.
Setting a configuration using the snmpset command.
Validate the current status using SNMP.
Validatethe current status in the web interface.
Submitting the change using SNMP.
Validating the status in the web interface again.
Step 1. Read the current configuration using the SNMP GET command, the symbol rate is accessible at the OID .18.104.22.168.4.1.1422.214.171.124.126.96.36.199.4.1
Prior changing the configuration we must first switch to the right RF channel in the input list, this operation is achieve by setting an integer value on the OID .188.8.131.52.4.1.14184.108.40.206.220.127.116.11:
The SNMP Management Information Base (MIB) defines the following:
1 = ASI (Asynchronous Serial Interface)
2 = RF1
3 = RF2
4 = RF3
5 = RF4
6 = IPI (IP input)
255 = None
In this case the RF1 was selected:
[D9859_Feature_MIB_v1.50 fprosman]$ snmpget -v2c -c public "IP address" .18.104.22.168.4.1.1422.214.171.124.126.96.36.199
SNMPv2-SMI::enterprises.14188.8.131.52.184.108.40.206 = INTEGER: 2 <<<<<< 2 indicates RF1 (the values are explained under activeTuningInput of the CISCO_DMN_DSG_Tuning.mib file)
Setting the change:
[D9859_Feature_MIB_v1.50fprosman]$ snmpset -v2c -c public "IP Address" 220.127.116.11.4.1.1418.104.22.168.22.214.171.124.4.1 i 27000
SNMPv2-SMI::enterprises.14126.96.36.199.188.8.131.52.4.1 = INTEGER: 27000
Step 3. Validate the current status using SNMP.
This is where we can be misleading, issueing a GET after the SET will show the value being changed: