Displaying Supported Parsers And Polling Intervals - 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

Using ODM Models
Example: Changing the Polling Interval of a Parser
In the example below, the polling interval of parser parse.showArchive is changed to 110000
miliseconds:
Input
Output

Displaying Supported Parsers and Polling Intervals

To retrieve information about all the supported parsers and their polling intervals, send the following
RPC:
Input
Output
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
6-20
<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">
<actions>
<action-name>parse.showArchive</action-name>
<polling-interval>110000</polling-interval>
</actions>
</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>
<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">
<actions>
<action-name/>
<polling-interval/>
<mode/>
</actions>
</cisco-odm>
</filter>
</get>
</rpc>
NETCONF RETURN
--------------
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="101">
<data>
Chapter 6
Programmability

Advertisement

Table of Contents
loading

Table of Contents