EasyManua.ls Logo

Cisco Catalyst 4500 Series - Displaying Supported Parsers and Polling Intervals

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-20
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
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
<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>
Output
NETCONF RETURN
--------------
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="101">
<ok/>
</rpc-reply>
Displaying Supported Parsers and Polling Intervals
To retrieve information about all the supported parsers and their polling intervals, send the following
RPC:
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">
<actions>
<action-name/>
<polling-interval/>
<mode/>
</actions>
</cisco-odm>
</filter>
</get>
</rpc>
Output
NETCONF RETURN
--------------
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="101">
<data>

Table of Contents

Other manuals for Cisco Catalyst 4500 Series

Related product manuals