Chapter 7
Examples
RUGGEDCOM NETCONF
Reference Guide
80
Getting the System Name
•
Section 7.35, “Enabling the DHCP Server Service”
•
Section 7.36, “Disabling an Ethernet Port”
•
Section 7.37, “Enabling an Ethernet Port”
•
Section 7.38, “Checking an IP Address on a Specific Port using the Interfaces Namespace”
•
Section 7.39, “Retreiving All Data From Running Database Including Default Values”
•
Section 7.40, “Retreiving All Data From Running Database Including Default Tags and Values”
•
Section 7.41, “Changing a User's Password”
•
Section 7.42, “Displaying the Status of the IPsec Service”
•
Section 7.43, “Selecting a Certificate for an IPSec Tunnel”
•
Section 7.44, “Installing a CA Certificate”
•
Section 7.45, “Configuring a Signed CA Certificate”
•
Section 7.46, “Installing a Private Key to a Signed CA Certificate”
•
Section 7.47, “Installing a CRL File”
•
Section 7.48, “Removing a Certificate”
•
Section 7.49, “Removing a CA certificate”
•
Section 7.50, “Removing a CRL File”
Section 7.1
Getting the System Name
In this example, a single
<rpc>
queries the running configuration and returns the system name.
This example shows how to issue a query for configuration data directly from the running configuration.
<rpc message-id="2"
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" with-defaults="true">
<get-config>
<source>
<running/>
</source>
<filter type="subtree">
<admin xmlns="http://ruggedcom.com/ns/rmf_admin">
<system-name></system-name>
</admin>
</filter>
</get-config>
</rpc>]]>]]>
Section 7.2
Getting the ROX Release
In this example, a single
<rpc>
queries the running configuration and returns the ROX release information.
This example shows how to issue a query for fixed system data from the device.
<rpc message-id="2"
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
Содержание RUGGEDCOM MX5000RE
Страница 8: ...Table of Contents RUGGEDCOM NETCONF Reference Guide viii ...
Страница 12: ...Preface RUGGEDCOM NETCONF Reference Guide xii Customer Support ...
Страница 26: ...Chapter 1 Introduction RUGGEDCOM NETCONF Reference Guide 14 Sample Session Editing Data ...
Страница 40: ...Chapter 3 NETCONF Sessions RUGGEDCOM NETCONF Reference Guide 28 Killing a Session ...
Страница 64: ...Chapter 5 Changing Configuration Data RUGGEDCOM NETCONF Reference Guide 52 Committing Changes ...
Страница 148: ...Chapter 8 NETCONF XML Elements RUGGEDCOM NETCONF Reference Guide 136 validate ...