Saving A Configuration File - Juniper J2300 User Manual

J-series services router
Hide thumbs Also See for J2300:
Table of Contents

Advertisement

J-series™ Services Router User Guide
Figure 42: Loading a Configuration with the Replace Operation
Current configuration:
interfaces {
Io0 {
unit 0 {
family inet {
address 127.0.0.1;
}
}
}
t1-3/0/0 {
unit 0 {
family inet {
address 204.69.248.181/28;
}
}
}
}
Figure 43: Loading a Configuration with the Merge Operation
Current configuration:
interfaces {
Io0 {
unit 0 {
family inet {
address 127.0.0.1;
}
}
}
t1-3/0/0 {
unit 0 {
family inet {
address 204.69.248.181/28;
}
}
}
}

Saving a Configuration File

To save your current configuration to an ASCII file, including any uncommitted
changes made by you and all users, issue the
save filename
By default, the configuration is saved to a file in your home directory. For information
about specifying filenames, see the JUNOS System Basics Configuration Guide.
160
Managing Configuration Files with the CLI
File contents:
interfaces {
replace:
t1-3/0/0 {
load replace
unit 0 {
family inet {
address 10.0.0.1/8;
}
}
}
}
File contents:
interfaces {
replace:
t1-3/0/0 {
unit 0 {
family inet {
address 10.0.0.1/8;
}
}
}
}
New contents:
interfaces {
Io0 {
unit 0 {
family inet {
address 127.0.0.1;
}
}
}
t1-3/0/0 {
unit 0 {
family inet {
address 10.0.0.1/8;
}
}
}
}
New contents:
interfaces {
Io0 {
unit 0 {
load merge
family inet {
address 127.0.0.1;
}
}
}
t1-3/0/0 {
unit 0 {
family inet {
address 10.0.0.1/8;
address 204.69.248.181/28;
}
}
}
}
command:
save

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

J2350J2320J4300J6300J6350J4350

Table of Contents