Download as pdf or txt
Download as pdf or txt
You are on page 1of 10

JNCIA Lab Manual

Developed by
Mr. Khiem Bui Mr. Han Nguyen Ms. Loc Nguyen

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

LABMENTOR

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

LABMENTOR

Day 1:

JUNOS BASIC
Configuration: After connecting your PC to the console Port: Login: root Password: juniper123 root@R1%: UNIX shell prompt To enter into Operational module from UNIX shell root@R1% cli root@R1>: CLI prompt

To enter into Configuration mode: root@R1> configure root@R1#

To change the Hostname of Router: root@R1# set system host-name Labmentor root@R1# commit

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

LABMENTOR

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

Verify the system Date & time on the Router: root@Labmentor# run show system uptime

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

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

LABMENTOR

or root@Labmentor# run show system software

Display interface: root@Labmentor> show interfaces root@Labmentor> show interfaces terse root@Labmentor> show interfaces detail root@Labmentor> show interfaces extensive

Show Active Configuration: http: // w w w . L a b M e n t o r . o r g LABMENTOR

root@Labmentor> show configuration or root@Labmentor> show system rollback 0 or root@Labmentor# show

Show Active Configuration in set display: root@Labmentor# show | display set

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

LABMENTOR

Set Rescue configuration: root@Labmentor> request system configuration rescue save

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

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

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

LABMENTOR

To look at who are current login: root@Labmentor> show system users

Set the Password of root in clear text: root@Labmentor# set system root-authentication plain-text-password New password: labmentor123 Retype new password: labmentor123

Set the Password of root in encrypt password:

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

LABMENTOR

root@Labmentor# set system root-authentication encrypted-password labmentor123 To shut down and restart Router: root@Labmentor> request system power-off

root@Labmentor> request system reboot

To make the router on factory default setting: root@Labmentor# load factory-default root@Labmentor# set system root-authentication plain-text-password New password: labmentor123 Retype new password: labmentor123 root@Labmentor# commit

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

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

LABMENTOR

Verifying command: Root> show interfaces Root> show interfaces terse Root> show interfaces detail Delete the IP Address on the em0 Interface: root@Labmentor# delete interfaces em0.0 family inet address 192.168.1.10/24

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

LABMENTOR

You might also like