Sie sind auf Seite 1von 16

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 2

USER ACCOUNT AND SERVICES


User account: Define user account and configuring user authentication: In this case, define 2 user accounts using the information from the following table Username LocNguyen LabMentor Class Juniper read-only Password Labmentor123 Labmentor123

Define a custom login class name Juniper with the following permissions: + view + view-configuration + reset root@LabMentor# edit system login

root@LabMentor# set class Juniper permission [view view-configuration reset]

Next step, you must define 2 new user accounts: root@LabMentor# set user LocNguyen class Juniper

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

LABMENTOR

root@LabMentor# set user LocNguyen authentication plain-text-password Newpassword: Labmentor123 Retype new password: Labmentor123

root@LabMentor# set user LabMentor class read-only

root@LabMentor# set user LabMentor authentication plain-text-password Newpassword: Labmentor123 Retype new password: Labmentor123

Activate your new configuration by issuing the commit command.

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

LABMENTOR

Verifying user account: root@LabMentor# show

The remainder of this case part tests user login options: Now lets go, log in with the username LocNguyen and check.

Using the new terminal session, enter configuration mode.

Why not unknown command? Please check class name Juniper (with permission).

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

LABMENTOR

At the prompt to view permitted operational mode command, please enter a question mark (?)

Verify that the user LocNguyen can view the configuration and other operational outputs such as interface information. LocNguyen@LabMentor> show configuration

LocNguyen@LabMentor> show interfaces

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

LABMENTOR

Which permission allows the user LocNguyen to perform? Log out and initiate a new session to the management interface for the user LabMentor.

The user LabMentor can issue the command show configuration, but the contents are hidden.

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

LABMENTOR

Note:

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

LABMENTOR

Services:

In this lab part, you will perform configuration of some common services. You will access router through telnet, SSH, HTTP/HTTPS. Configuring telnet and SSH on LabMentor: Check IP address all interfaces root@LabMentor# run show interfaces terse

Assign IP address on the interface em0.0 on LabMentor. root@LabMentor# set interfaces em0.0 family inet address 192.168.1.113/24 root@LabMentor# commit

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

LABMENTOR

Verifying command and check root@LabMentor# run show interfaces terse

root@LabMentor# run ping 192.168.1.100 (IP address instructor)

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

LABMENTOR

Configuring telnet and SSH on LabMentor. root@LabMentor# set system services telnet root@LabMentor# set system services ssh root@LabMentor# commit

Checking with telnet and ssh

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

LABMENTOR

Configuring HTTP/HTTPS on LabMentor: root@LabMentor# set system services web-management ?

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

LABMENTOR

root@LabMentor# set system services web-management http root@LabMentor# commit

Log in to the J-web interface

When you log in, the Dashboard is displayed. Use the information found in your browser to answer the following questions.

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

LABMENTOR

What is the current memory and CPU usage on your assigned station? What is the status of the em0.0 interface?

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

LABMENTOR

How can you gain additional information on a given interface?

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

Das könnte Ihnen auch gefallen