Sie sind auf Seite 1von 10
Developed by Mr. Khiem Bui Mr. Han Nguyen Ms. Loc Nguyen JNCIA Lab Manual http:
Developed by Mr. Khiem Bui Mr. Han Nguyen Ms. Loc Nguyen
Developed by
Mr. Khiem Bui
Mr. Han Nguyen
Ms. Loc Nguyen

JNCIA Lab Manual

http: // w w w . L a b M e n t o r

Day 1:

JUNOS BASIC

-

Configuration:

Day 1: JUNOS BASIC - Configuration: After connecting your PC to the console Port: Login: root

After connecting your PC to the console Port:

Login: root

Password: juniper123

root@R1%: UNIX shell prompt

root Password: juniper123 root@R1%: UNIX shell prompt To enter into Operational module from UNIX shell root@R1%

To enter into Operational module from UNIX shell

root@R1% cli

root@R1>: CLI prompt

from UNIX shell root@R1% cli root@R1>: CLI prompt To enter into Configuration mode: root@R1> configure

To enter into Configuration mode:

root@R1> configure

root@R1#

into Configuration mode: root@R1> configure root@R1# To change the Hostname of Router: root@R1# set system

To change the Hostname of Router:

root@R1# set system host-name Labmentor

root@R1# commit

Set the system Date & time on the Router: root@Labmentor> set date 10:38 ( hh:mm:ss

Set the system Date & time on the Router:

root@Labmentor> set date 10:38 (hh:mm:ss)

root@Labmentor> set date 2012-08-10 (YY:MM:DD)

root@Labmentor# commit

set date 2012-08-10 ( YY:MM:DD ) root@Labmentor# commit Verify the system Date & time on the
set date 2012-08-10 ( YY:MM:DD ) root@Labmentor# commit Verify the system Date & time on the
set date 2012-08-10 ( YY:MM:DD ) root@Labmentor# commit Verify the system Date & time on the

Verify the system Date & time on the Router:

root@Labmentor# run show system uptime

time on the Router: root@Labmentor# run show system uptime Display the version information on the Router:

Display the version information on the Router:

root@Labmentor# run show version

or

root@Labmentor# run show system software

or root@Labmentor# run show system software Display interface: root@Labmentor> show interfaces root@Labmentor>
or root@Labmentor# run show system software Display interface: root@Labmentor> show interfaces root@Labmentor>
or root@Labmentor# run show system software Display interface: root@Labmentor> show interfaces root@Labmentor>

Display interface:

root@Labmentor> show interfaces

root@Labmentor> show interfaces terse

root@Labmentor> show interfaces detail

root@Labmentor> show interfaces extensive

detail root@Labmentor> show interfaces extensive Show Active Configuration: http: // w w w . L a

Show Active Configuration:

root@Labmentor> show configuration

or

root@Labmentor> show system rollback 0

or

root@Labmentor# show

show system rollback 0 or root@Labmentor# show Show Active Configuration in set display: root@Labmentor#
show system rollback 0 or root@Labmentor# show Show Active Configuration in set display: root@Labmentor#
show system rollback 0 or root@Labmentor# show Show Active Configuration in set display: root@Labmentor#

Show Active Configuration in set display:

root@Labmentor# show | display set

Configuration in set display: root@Labmentor# show | display set http: // w w w . L

Set Rescue configuration:

root@Labmentor> request system configuration rescue save

root@Labmentor> request system configuration rescue save Show Rescue configuration: root@Labmentor> show system

Show Rescue configuration:

root@Labmentor> show system configuration rescue

root@Labmentor> show system configuration rescue To look at file and stored in flash memory:
root@Labmentor> show system configuration rescue To look at file and stored in flash memory:
root@Labmentor> show system configuration rescue To look at file and stored in flash memory:

To look at file and stored in flash memory:

root@Labmentor> show system storage

New password: labmentor123 Retype new password: labmentor123 To look at who are current login: root@Labmentor>
New password: labmentor123 Retype new password: labmentor123
New password: labmentor123
Retype new password: labmentor123

To look at who are current login:

root@Labmentor> show system users

who are current login: root@Labmentor> show system users Set the Password of root in clear text:

Set the Password of root in clear text:

root@Labmentor# set system root-authentication plain-text-password

set system root-authentication plain-text-password Set the Password of root in encrypt password: http: // w w

Set the Password of root in encrypt password:

root@Labmentor# set system root-authentication encrypted-password

labmentor123

To shut down and restart Router:

root@Labmentor> request system power-off

restart Router: root@Labmentor> request system power-off root@Labmentor> request system reboot New password:
restart Router: root@Labmentor> request system power-off root@Labmentor> request system reboot New password:

root@Labmentor> request system reboot

system power-off root@Labmentor> request system reboot New password: labmentor123 Retype new password:
New password: labmentor123 Retype new password: labmentor123
New password: labmentor123
Retype new password: labmentor123

To make the router on factory default setting:

root@Labmentor# load factory-default

root@Labmentor# set system root-authentication plain-text-password

root@Labmentor# commit

plain-text-password root@Labmentor# commit Assign the IP address on the em0 Interface of the Router:

Assign the IP address on the em0 Interface of the Router:

root@Labmentor# set interfaces em0.0 family inet address 192.168.1.10/24

root@Labmentor# commit

Verifying command: Root> show interfaces Root> show interfaces terse Root> show interfaces detail Delete the

Verifying command:

Root> show interfaces

Root> show interfaces terse

Root> show interfaces detail

show interfaces terse Root> show interfaces detail Delete the IP Address on the em0 Interface: root@Labmentor#

Delete the IP Address on the em0 Interface:

detail Delete the IP Address on the em0 Interface: root@Labmentor# delete interfaces em0.0 family inet address
detail Delete the IP Address on the em0 Interface: root@Labmentor# delete interfaces em0.0 family inet address

root@Labmentor# delete interfaces em0.0 family inet address 192.168.1.10/24

delete interfaces em0.0 family inet address 192.168.1.10/24 http: // w w w . L a b