Merging A Full Example; Merging A Snippet - Juniper EX9200 Features Manual

Port mirroring feature guide ex series
Hide thumbs Also See for EX9200:
Table of Contents

Advertisement

Port Mirroring Feature Guide for EX9200 Switches

Merging a Full Example

Merging a Snippet

xii
If the example configuration does not start at the top level of the hierarchy, the example
is a snippet. In this case, use the
described in the following sections.
To merge a full example, follow these steps:
From the HTML or PDF version of the manual, copy a configuration example into a
1.
text file, save the file with a name, and copy the file to a directory on your routing
platform.
For example, copy the following configuration to a file and name the file
Copy the
ex-script.conf
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.
configuration mode command:
load merge
[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:
command. These procedures are
load merge relative
file to the
directory on your routing platform.
/var/tmp
ex-script-snippet.conf
ex-script.conf
file to the
directory
/var/tmp
Copyright © 2016, Juniper Networks, Inc.
.

Advertisement

Table of Contents
loading

Table of Contents