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

Introduction to the Junos Operating System

lab@srxA-1> request system configuration rescue delete

lab@srxA-1> file show /config/rescue.conf.gz

error: could not resolve file: /config/rescue.conf.gz

Question: Did you successfully delete the rescue configuration?

Answer: Yes, based on the results shown, the deletion of the rescue configuration was successful.

STOP

Wait for your instructor before you proceed to the next part.

Part 3: Configuring Interfaces and Verifying Operational State

In this lab part, you will perform interface configuration and verify the operational state of interfaces using the Junos CLI.

Step 3.1

Enter configuration mode and load the lab2-part3-start.config file from the /var/home/lab/ijos/ directory. Commit you configuration when complete.

lab@srxA-1> configure Entering configuration mode

[edit]

lab@srxA-1# load override ijos/lab2-part3-start.config load complete

[edit]

lab@srxA-1# commit commit complete

[edit] lab@srxA-1#

Step 3.2

Refer to the network diagram for this lab and configure the listed interfaces. Use logical unit 0 on all specified interfaces. Commit the configuration and return to operational mode when complete.

[edit]

lab@srxA-1# edit interfaces

[edit interfaces]

lab@srxA-1# set ge-0/0/3 unit 0 family inet address address/30

[edit interfaces]

lab@srxA-1# set ge-0/0/2 unit 0 family inet address address/30

www.juniper.net

Initial System Configuration (Detailed) • Lab 2–17

Introduction to the Junos Operating System

[edit interfaces]

lab@srxA-1# set ge-0/0/1 unit 0 family inet address address/30

[edit interfaces]

lab@srxA-1# set lo0 unit 0 family inet address address/32

[edit interfaces] lab@srxA-1# commit and-quit commit complete

Exiting configuration mode

lab@srxA-1>

Step 3.3

Issue the show interfaces terse CLI command to verify the state of the configured interfaces.

lab@srxA-1> show interfaces terse

 

 

 

Interface

Admin

Link Proto

Local

Remote

ge-0/0/0

up

up

 

 

 

ge-0/0/0.0

up

up

inet

10.210.14.131/27

 

...TRIMMED..

 

 

 

 

 

ge-0/0/1

up

up

 

 

 

ge-0/0/1.0

up

up

inet

172.20.77.1/30

 

ge-0/0/2

up

up

 

 

 

ge-0/0/2.0

up

up

inet

172.20.66.1/30

 

ge-0/0/3

up

up

 

 

 

ge-0/0/3.0

up

up

inet

172.18.1.2/30

 

...TRIMMED..

 

 

 

 

 

lo0

up

up

 

 

 

lo0.0

up

up

inet

192.168.1.1

--> 0/0

...TRIMMED..

 

 

 

 

 

Question: What are the Admin and Link states of the recently configured interfaces?

Answer: All configured interfaces should show Admin and Link states of up, as shown in the sample capture.

Step 3.4

Log out of your assigned device using the exit command.

lab@srxA-1> exit

srxA-1 (ttyu0) login:

Lab 2–18 • Initial System Configuration (Detailed)

www.juniper.net

STOP

Introduction to the Junos Operating System

Tell your instructor that you have completed Lab 2.

www.juniper.net

Initial System Configuration (Detailed) • Lab 2–19

Introduction to the Junos Operating System

Lab 2–20 • Initial System Configuration (Detailed)

www.juniper.net