Request System Scripts Convert - Juniper JUNOS OS 10.3 - SOFTWARE Manual

For ex series ethernet switches
Hide thumbs Also See for JUNOS OS 10.3 - SOFTWARE:
Table of Contents

Advertisement

request system scripts convert

Syntax
Release Information
Description
Options
Required Privilege
Level
List of Sample Output
Output Fields
request system scripts
request system scripts
convert slax-to-xslt
convert slax-to-xslt
request system scripts
convert xslt-to-slax
Copyright © 2010, Juniper Networks, Inc.
request system scripts convert (slax-to-xslt | xslt-to-slax) source source/filename
destination destination/<filename>
Command introduced in Junos OS Release 8.2.
Command introduced in Junos OS Release 9.0 for EX Series switches.
Convert an Extensible Stylesheet Language Transformations (XSLT) script to Stylesheet
Language, Alternative syntaX (SLAX), or convert a SLAX script to XSLT.
destination destination/<filename>
Optionally, you can specify a filename for the converted file. If you do not specify a
filename, the software assigns one automatically. The default destination filename
is the same as the source filename, except the file extension is altered. For example,
the software converts a source file called
a source file called
test1.slax
slax-to-xslt
—Convert a SLAX script to XSLT.
—Specify a source file that you want to convert.
source source/filename
xslt-to-slax
—Convert an XSLT script to SLAX.
maintenance
request system scripts convert slax-to-xslt on page 259
request system scripts convert xslt-to-slax on page 259
When you enter this command, you are provided feedback on the status of your request.
user@host> request system scripts convert slax-to-xslt source /var/db/scripts/op/script1.slax
destination /var/db/scripts/op
conversion complete
user@host> request system scripts convert xslt-to-slax source
/var/db/scripts/commit/script1.xsl destination /var/db/scripts/commit
conversion complete
Chapter 17: Operational Mode Commands for System Setup
—Specify a destination for the converted file.
to
test.xsl
test.slax
to
.
test1.xsl
. The software converts
259

Advertisement

Table of Contents
loading

Table of Contents