Merging A Snippet - Juniper JUNOS OS 10.4 - PROTECTED SYSTEM DOMAIN Configuration Manual

Protected system domain configuration
Table of Contents

Advertisement

JUNOS 10.4 Protected System Domain Configuration Guide

Merging a Snippet

xxii
system {
scripts {
commit {
file ex-script.xsl;
}
}
}
interfaces {
fxp0 {
disable;
unit 0 {
family inet {
address 10.0.0.1/24;
}
}
}
}
Merge the contents of the file into your routing platform configuration by issuing the
2.
load merge
configuration mode command:
[edit]
user@host# load merge /var/tmp/ex-script.conf
load complete
To merge a snippet, follow these steps:
From the HTML or PDF version of the manual, copy a configuration snippet into a text
1.
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
. Copy the
ex-script-snippet.conf
on your routing platform.
commit {
file ex-script-snippet.xsl; }
Move to the hierarchy level that is relevant for this snippet by issuing the following
2.
configuration mode command:
[edit]
user@host# edit system scripts
[edit system scripts]
Merge the contents of the file into your routing platform configuration by issuing the
3.
configuration mode command:
load merge relative
[edit system scripts]
user@host# load merge relative /var/tmp/ex-script-snippet.conf
load complete
For more information about the
file to the
ex-script-snippet.conf
command, see the Junos OS CLI User Guide.
load
Copyright © 2010, Juniper Networks, Inc.
directory
/var/tmp

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os 10.4

Table of Contents