Enabling The Polling Mode - Cisco Catalyst 4500 Series Software Configuration Manual

Cisco ios xe release 3.9.xe and cisco ios release 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 6
Programmability

Enabling the Polling Mode

This section contains sample RPCs to check the current polling mode, to enable or change it, and to
change the polling interval.
Example: Verifying the Currently Polling Mode of the ODM Models
In the example below, polling is enabled. (In the output section, the polling-enable parameter is set to
true).
Input
Output
Example: Enabling or Changing the Polling Mode of the ODM Models
Input
Output
<rpc message-id="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<get>
<filter>
<cisco-odm xmlns="http://cisco.com/yang/cisco-odm">
<polling-enable/>
</cisco-odm>
</filter>
</get>
</rpc>
NETCONF RETURN
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="101">
<data>
<cisco-odm xmlns="http://cisco.com/yang/cisco-odm">
<polling-enable>true</polling-enable>
</cisco-odm>
</data>
</rpc-reply>
<rpc message-id="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0">
<cisco-odm xmlns="http://cisco.com/yang/cisco-odm">
<polling-enable>true</polling-enable>
</cisco-odm>
</config>
</edit-config>
</rpc>
NETCONF RETURN
--------------
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="101">
<ok/>
</rpc-reply>
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Using ODM Models
6-19

Advertisement

Table of Contents
loading

Table of Contents