You can configure the router from a system console connected to the router's console port or by using Telnet to access the router remotely.
Before you configure the software for the first time, you need the following information:
To configure the software for the first time, follow these steps:
root# cli
root@>
cli> configure
[edit]
root@#
[edit] root@#set system host-namehost-name
[edit] root@#set system domain-namedomain-name
[edit] root@#set interfaces fxp0 unit 0 family inet addressaddress/prefix-length
[edit] root@#set system backup-routeraddress
[edit] root@#set system name-serveraddress
[edit] root@#set system root-authentication plain-text-passwordNew password:type passwordRetype new password:retype password
[edit] root@#set system root-authentication encrypted-passwordencrypted-password
[edit] root@#set system root-authentication ssh-rsakey
[edit] root@showsystem { host-namehost-name; domain-namedomain.name; backup-routeraddress; name-server {address; } interfaces { fxp0 { unit 0 { family inet { addressaddress; } } } }
[edit]
root@# commit
[edit] root@host-name#commit
[edit] root@host-name#exitroot@host-name>
request system snapshot command to back up the new software onto the /altconfig file system. If you do not issue the request system snapshot command, the configuration on the alternate boot drive will be out of sync with the configuration on the primary boot drive.
request system snapshot command causes the root file system to be backed up to /altroot, and /config to be backed up to /altconfig. The root and /config file systems are on the router's flash drive and the /altroot and /altconfig file systems are on the router's hard drive.
|
After you issue this command, you cannot return to the previous version of the software, because the running and backup copies of the software are identical. |