EasyManua.ls Logo

Cisco Catalyst 4500 Series - Enabling the Polling Mode

Cisco Catalyst 4500 Series
2086 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
6-19
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 6 Programmability
Using ODM Models
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
<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>
Output
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>
Example: Enabling or Changing the Polling Mode of the ODM Models
Input
<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>
Output
NETCONF RETURN
--------------
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="101">
<ok/>
</rpc-reply>

Table of Contents

Other manuals for Cisco Catalyst 4500 Series

Related product manuals