Changes between Version 11 and Version 12 of VLANsOnEX3200

Show
Ignore:
Timestamp:
06/17/10 15:38:06 (9 years ago)
Author:
ibaldin (IP: 152.54.9.21)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • VLANsOnEX3200

    v11 v12  
    5656}}} 
    5757 
     58== Sending commands over the tcp connection == 
     59 
     60Commands can be a mix of XML and plain text. For example, here is a login exchange: 
     61 
     62EX3200: 
     63{{{ 
     64<?xml version="1.0" encoding="us-ascii"?> 
     65<junoscript xmlns="http://xml.juniper.net/xnm/1.1/xnm" xmlns:junos="http://xml.juniper.net/junos/10.0S3/junos" schemaLocation="http://xml.juniper.net/junos/10.0S3/junos junos/10.0S3/junos.xsd" os="JUNOS" release="10.0S3.1" hostname="" version="1.0"> 
     66<!-- session start at 2010-03-04 16:03:08 EST --> 
     67}}} 
     68User: 
     69{{{ 
     70<?xml version="1.0" encoding="us-ascii"?> 
     71<junoscript version="1.0" hostname="client1" release="9.0R1"> 
     72<rpc> <request-login> <username>someuser</username> <challenge-response>somepassword</challenge-response> </request-login> </rpc> 
     73}}} 
     74EX3200: 
     75{{{ 
     76<rpc-reply xmlns:junos="http://xml.juniper.net/junos/10.0S3/junos"> 
     77<authentication-response> 
     78<status>success</status> 
     79<message>remote</message> 
     80<login-name>ibaldin</login-name> 
     81</authentication-response> 
     82</rpc-reply> 
     83}}} 
     84User: 
     85{{{ 
     86<rpc>  
     87<load-configuration action="merge" format="text">  
     88<configuration-text> 
     89 vlans { sliceVlan10 { vlan-id 212; } } interfaces { xe-0/0/1 { unit 0 { family ethernet-switching { port-mode trunk; vlan { members sliceVlan10 } } } } } 
     90</configuration-text> 
     91</load-configuration> 
     92</rpc> 
     93}}} 
     94EX3200: 
     95{{{ 
     96<!-- No zombies were killed during the creation of this user interface --> 
     97<!-- user remote, class j-super-user --> 
     98<rpc-reply xmlns:junos="http://xml.juniper.net/junos/10.0S3/junos"> 
     99<load-configuration-results> 
     100<load-success/> 
     101</load-configuration-results> 
     102</rpc-reply> 
     103}}} 
     104User: 
     105{{{ 
     106<rpc> <commit-configuration/> </rpc> 
     107}}} 
     108EX3200: 
     109{{{ 
     110<rpc-reply xmlns:junos="http://xml.juniper.net/junos/10.0S3/junos"> 
     111<commit-results> 
     112<routing-engine junos:style="normal"> 
     113<name>re0</name> 
     114<commit-success/> 
     115</routing-engine> 
     116</commit-results> 
     117</rpc-reply> 
     118}}} 
     119User: 
     120{{{ 
     121<rpc> 
     122<request-end-session/>  
     123</rpc> 
     124</junoscript> 
     125}}} 
     126EX3200: 
     127{{{ 
     128<rpc-reply xmlns:junos="http://xml.juniper.net/junos/10.0S3/junos"> 
     129<end-session/> 
     130</rpc-reply> 
     131}}} 
     132User: 
     133{{{ 
     134</junoscript> 
     135}}} 
     136EX3200: 
     137{{{ 
     138<!-- session end at 2010-03-04 16:05:11 EST --> 
     139</junoscript> 
     140}}} 
    58141== Creating an SSL certificate for a device == 
    59142