Client Request RPC: <rpc><get-configuration/> </rpc>
Server Response: (This needs to be copied to get-config.xml)
<configuration xmlns="http://xml.juniper.net/xnm/1.1/xnm" junos:changed-seconds="1265322122" junos:changed-localtime="2010-02-04 22:22:02 UTC">
<version>10.0R2.10</version>
<system>
<host-name>Veera-Srx210hm-61.61</host-name>
<root-authentication>
<encrypted-password>$1$3NlbtQ5J$sWj4m/389y6Qoth7vOvFu.</encrypted-password>
</root-authentication>
<name-server>
<name>208.67.222.222</name>
</name-server>
<name-server>
<name>208.67.220.220</name>
</name-server>
<services>
<ssh>
<root-login>allow</root-login>
<protocol-version>v2</protocol-version>
</ssh>
<telnet>
</telnet>
<netconf>
<ssh>
</ssh>
</netconf>
<web-management>
<http>
<interface>vlan.0</interface>
</http>
<https>
<system-generated-certificate/>
<interface>vlan.0</interface>
</https>
</web-management>
<dhcp>
<router>
<name>192.168.1.1</name>
</router>
<pool>
<name>192.168.1.0/24</name>
<address-range>
<low>192.168.1.2</low>
<high>192.168.1.254</high>
</address-range>
</pool>
<propagate-settings>ge-0/0/0.0</propagate-settings>
</dhcp>
</services>
<syslog>
<archive>
<size>100k</size>
<files>3</files>
</archive>
<user>
<name>*</name>
<contents>
<name>any</name>
<emergency/>
</contents>
</user>
<file>
<name>messages</name>
<contents>
<name>any</name>
<critical/>
</contents>
<contents>
<name>authorization</name>
<info/>
</contents>
</file>
<file>
<name>interactive-commands</name>
<contents>
<name>interactive-commands</name>
<error/>
</contents>
</file>
</syslog>
<max-configurations-on-flash>5</max-configurations-on-flash>
<max-configuration-rollbacks>5</max-configuration-rollbacks>
<license>
<autoupdate>
<url>
<name>https://ae1.juniper.net/junos/key_retrieval</name>
</url>
</autoupdate>
</license>
</system>
<interfaces>
<interface-range>
<name>interfaces-trust</name>
<member>
<name>ge-0/0/1</name>
</member>
<member>
<name>fe-0/0/2</name>
</member>
<member>
<name>fe-0/0/3</name>
</member>
<member>
<name>fe-0/0/4</name>
</member>
<member>
<name>fe-0/0/5</name>
</member>
<member>
<name>fe-0/0/6</name>
</member>
<member>
<name>fe-0/0/7</name>
</member>
<unit>
<name>0</name>
<family>
<ethernet-switching>
<vlan>
<members>vlan-trust</members>
</vlan>
</ethernet-switching>
</family>
</unit>
</interface-range>
<interface>
<name>ge-0/0/0</name>
<unit>
<name>0</name>
<family>
<inet>
<address>
<name>10.205.61.61/16</name>
</address>
</inet>
</family>
</unit>
</interface>
<interface>
<name>vlan</name>
<unit>
<name>0</name>
<family>
<inet>
<address>
<name>192.168.1.1/24</name>
</address>
</inet>
</family>
</unit>
</interface>
</interfaces>
<routing-options>
<static>
<route>
<name>0.0.0.0/0</name>
<next-hop>10.205.255.254</next-hop>
</route>
</static>
</routing-options>
<security>
<nat>
<source>
<rule-set>
<name>trust-to-untrust</name>
<from>
<zone>trust</zone>
</from>
<to>
<zone>untrust</zone>
</to>
<rule>
<name>source-nat-rule</name>
<src-nat-rule-match>
<source-address>0.0.0.0/0</source-address>
</src-nat-rule-match>
<then>
<source-nat>
<interface>
</interface>
</source-nat>
</then>
</rule>
</rule-set>
</source>
</nat>
<screen>
<ids-option>
<name>untrust-screen</name>
<icmp>
<ping-death/>
</icmp>
<ip>
<source-route-option/>
<tear-drop/>
</ip>
<tcp>
<syn-flood>
<alarm-threshold>1024</alarm-threshold>
<attack-threshold>200</attack-threshold>
<source-threshold>1024</source-threshold>
<destination-threshold>2048</destination-threshold>
<timeout>20</timeout>
</syn-flood>
<land/>
</tcp>
</ids-option>
</screen>
<zones>
<security-zone>
<name>trust</name>
<host-inbound-traffic>
<system-services>
<name>all</name>
</system-services>
<protocols>
<name>all</name>
</protocols>
</host-inbound-traffic>
<interfaces>
<name>vlan.0</name>
</interfaces>
</security-zone>
<security-zone>
<name>untrust</name>
<screen>untrust-screen</screen>
<host-inbound-traffic>
<system-services>
<name>all</name>
</system-services>
<protocols>
<name>all</name>
</protocols>
</host-inbound-traffic>
<interfaces>
<name>ge-0/0/0.0</name>
<host-inbound-traffic>
<system-services>
<name>dhcp</name>
</system-services>
<system-services>
<name>tftp</name>
</system-services>
<system-services>
<name>all</name>
</system-services>
<protocols>
<name>all</name>
</protocols>
</host-inbound-traffic>
</interfaces>
</security-zone>
</zones>
<policies>
<policy inactive="inactive">
<from-zone-name>trust</from-zone-name>
<to-zone-name>untrust</to-zone-name>
<policy>
<name>trust-to-untrust</name>
<match>
<source-address>any</source-address>
<destination-address>any</destination-address>
<application>any</application>
</match>
<then>
<permit>
</permit>
</then>
</policy>
</policy>
</policies>
</security>
<vlans>
<vlan>
<name>vlan-trust</name>
<vlan-id>3</vlan-id>
<l3-interface>vlan.0</l3-interface>
</vlan>
</vlans>
</configuration>