Merging a snippet, Documentation conventions – Juniper Networks JUNOS OS 10.4 User Manual
Page 16

}
2.
Merge the contents of the file into your routing platform configuration by issuing the
load merge
configuration mode command:
[edit]
user@host# load merge /var/tmp/ex-script.conf
load complete
Merging a Snippet
To merge a snippet, follow these steps:
1.
From the HTML or PDF version of the manual, copy a configuration snippet into a text
file, save the file with a name, and copy the file to a directory on your routing platform.
For example, copy the following snippet to a file and name the file
ex-script-snippet.conf
. Copy the
ex-script-snippet.conf
file to the
/var/tmp
directory
on your routing platform.
commit {
file ex-script-snippet.xsl; }
2.
Move to the hierarchy level that is relevant for this snippet by issuing the following
configuration mode command:
[edit]
user@host# edit system scripts
[edit system scripts]
3.
Merge the contents of the file into your routing platform configuration by issuing the
load merge relative
configuration mode command:
[edit system scripts]
user@host# load merge relative /var/tmp/ex-script-snippet.conf
load complete
For more information about the
load
command, see the CLI User Guide.
Documentation Conventions
defines notice icons used in this guide.
Copyright © 2013, Juniper Networks, Inc.
xvi
Junos OS 13.1 MX Series 3D Universal Edge Routers Solutions Guide