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

Universal routing platform
Hide thumbs Also See for MX5:
Table of Contents

Advertisement

MX5, MX10, MX40, and MX80 Universal Routing Platforms Hardware Guide

Merging a Full Example

Merging a Snippet

xiv
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.
.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mx10Mx40Mx80

Table of Contents