[edit]
root@#
set system root-authentication ssh-rsa
public-key
10.
Optionally, display the configuration to verify that it is correct.
[edit]
root@#
show
system {
host-name host-name;
domain-name domain-name;
backup-router address;
root-authentication {
authentication-method (password | public-key);
}
name-server {
address;
}
}
interfaces {
fxp0 {
unit 0 {
family inet {
address address/prefix-length;
}
}
}
}
11.
Commit the configuration to activate it on the router.
[edit]
root@#
commit
12.
Optionally, configure additional properties by adding the necessary configuration
statements. Then commit the changes to activate them on the router.
[edit]
root@host#
commit
13.
When you have finished configuring the router, exit configuration mode.
[edit]
root@host#
exit
root@host>
NOTE:
To reinstall the Junos OS, you boot the router from the removable
media. Do not insert the removable media during normal operations. The
router does not operate normally when it is booted from the removable media.
When the router boots from the storage media (removable media, internal CompactFlash
card, or hard disk) it expands its search in the
/config
directory of the routing platform
for the following files in the following order:
juniper.conf
(the main configuration file),
rescue.conf
(the rescue configuration file), and
juniper.conf.1
(the first rollback
configuration file). When the search finds the first configuration file that can be loaded
properly, the file loads and the search ends. If none of the file can be loaded properly,
65
Copyright © 2010, Juniper Networks, Inc.
Chapter 12: Configuring Junos OS
All manuals and user guides at all-guides.com
all-guides.com