EasyManua.ls Logo

Siemens RX1400 - Retrieving all IP Addresses from the Running Configuration; Retrieving the Active Routes on a Device

Siemens RX1400
148 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...
Chapter 7
Examples
RUGGEDCOM NETCONF
Reference Guide
94 Retrieving all IP Addresses from the Running Configuration
Section7.18
Retrieving all IP Addresses from the Running
Configuration
In this example, a single <rpc> request retrieves all IP addresses from the running configuration on a device.
The following is the typical procedure for querying data from the running configuration.
Request the data from the running configuration:
<rpc message-id="2" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<get-config>
<source>
<running/>
</source>
<filter type="subtree">
<ip xmlns="http://ruggedcom.com/ns/rmf_ip">
<ipv4>
<address></address>
</ipv4>
</ip>
</filter>
</get-config>
</rpc>]]>]]>
Section7.19
Retrieving the Active Routes on a Device
In this example, a single <rpc> request retrieves the active routes from the running configuration on a device.
The following is the typical procedure for querying data from the running configuration.
Request the data from the running configuration:
<rpc message-id="2" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<get>
<filter type="subtree">
<routing xmlns="http://ruggedcom.com/ns/rmf_routing">
<status>
<ipv4routes>
<active-routes>
<destination>default</destination>
<gateway></gateway>
<interface></interface>
<type></type>
</active-routes>
</ipv4routes>
</status>
</routing>
</filter>
</get>
</rpc>]]>]]>

Table of Contents

Related product manuals