Merging A Full Example; Merging A Snippet - Juniper MX240 Hardware Manual

5g universal routing platform
Hide thumbs Also See for MX240:
Table of Contents

Advertisement

MX240 5G Universal Routing Platform Hardware Guide

Merging a Full Example

Merging a Snippet

xxii
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; }
file to the
/var/tmp
directory on your routing platform.
ex-script-snippet.conf
ex-script.conf
file to the
directory
/var/tmp
Copyright © 2019, Juniper Networks, Inc.
.

Advertisement

Table of Contents
loading

Table of Contents