Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
IJOS-12a-guide_pdf / IJOS-12.a_LGH (High-Level Lab Guide).pdf
Скачиваний:
321
Добавлен:
11.04.2015
Размер:
1.08 Mб
Скачать

Introduction to the Junos Operating System

Part 1: Loading a Factory-Default Configuration and Performing Initial Configuration

In this lab part, you will load the factory-default configuration and perform initial configuration tasks using the Junos CLI.

Step 1.1

Ensure that you know to which student device you have been assigned. Check with your instructor if you are not certain. Consult the management network diagram to determine the management address of your student device

Question: What is the management address assigned to your station?

Step 1.2

Access the CLI at your station using the console connection.

Note

During this lab, your access through the management network will be affected. Ensure that you use the console connection to access your assigned station. Using the console connection ensures persistent connectivity even when the management network access is unavailable. If needed, ask your instructor how to connect to your system using the console port.

Step 1.3

Log in to the student device with the username lab using a password of lab123. Note that both the name and password are case-sensitive. Enter configuration mode and load a factory-default configuration using the load factory-default command.

Lab 2–2 • Initial System Configuration

www.juniper.net

Introduction to the Junos Operating System

Step 1.4

Display the factory-default configuration.

Note

The factory-default configuration displays several statements pertaining to the security hierarchy level. This information is outside the scope of this class but is covered in the Junos for Security Platforms

(JSEC) course.

Step 1.5

Try to activate the factory-default configuration by issuing a commit command.

Question: Did the commit operation succeed? If not, why not?

Step 1.6

Navigate to the [edit system root-authentication] hierarchy level. Issue the set plain-text-password command. When prompted to enter a new password, type apples.

Question: What happens when you enter the specified password? Why?

Step 1.7

Again, issue the set plain-text-password command. When prompted to enter a new password, type Apples. When prompted to confirm the password, type

Oranges.

Question: What happens when you enter the specified passwords? Why?

Step 1.8

Issue the set plain-text-password command once again. When prompted to enter a new password, type Rootroot. When prompted to confirm the password, type Rootroot. Activate the change and return to operational mode by issuing a commit and-quit command.

Step 1.9

Issue the file list /var/tmp command.

www.juniper.net

Initial System Configuration • Lab 2–3

Introduction to the Junos Operating System

Question: What happens when you enter the specified command? Why?

Step 1.10

Log out as the lab user and log in as root. Use the newly defined password of

Rootroot.

Note

You should see the previously defined hostname at the login prompt. The amnesiac hostname is shown when the hostname is removed and the system is rebooted. You do not need to reboot the system at this time because you will configure a new hostname shortly.

Step 1.11

Start the CLI with the cli command and enter configuration mode.

Step 1.12

Define the system’s hostname. Use the hostname specified on the management network diagram provided by your instructor.

Step 1.13

Configure the time zone and system time using the local time zone and current date and time as input values.

Step 1.14

Remove the DHCP, interface, security, protocols and vlan sections from the factory-default configuration, as this is not necessary in this lab environment.

Step 1.15

Configure the ge-0/0/0 interface using the address and subnet mask specified on the management network diagram, and specify an interface description of "MGMT INTERFACE - DO NOT DELETE".

Lab 2–4 • Initial System Configuration

www.juniper.net