1.Các Lệnh Cơ Bản Juniper

Tập hợp các lệnh cơ bản trong hệ điều hành Junios

image5

1. Vào mode config

user@R1>configure

2. Đặt tên thiết bị:

user@R1>configure [edit] user@R1#edit system [edit system] user@R1#set host-name juniper1 [edit system] user@R1#exit [edit] user@R1#exit

3. đặt tên trong domain

user@R1>configure [edit] user@R1#edit system [edit system] user@R1#set domain-name mydomain.net [edit system] user@R1#exit [edit] user@R1#

4. Đặt password

user@R1>configure [edit] user@R1#edit system root-authentication [edit system root-authentication ] user@R1#set encrypted-password 24adr3e [edit system root-authentication ] user@R1#exit [edit] user@R1#

5. Cài đặt DNS server

user@R1>configure [edit] user@R1#edit system [edit system] user@R1#set name-server 196.20.32.15 [edit system] user@R1#exit [edit] user@R1#

6. Đặt địa chỉ Backup router

user@R1>configure [edit] user@R1#edit system [edit system] user@R1#set backup-router 196.20.32.15 [edit system] user@R1#exit [edit] user@R1#

7. Đặt địa chỉ cho 1 cổng

user@R1>configure [edit] user@R1#edit interfaces so-1/1/0 [edit interfaces so-1/1/0] user@R1#edit unit 0 family inet [edit interfaces so-1/1/0 unit 0 family inet] user@R1#set address196.20.32.15 /24 [edit interfaces so-1/1/0 unit 0 family inet] user@R1#exit [edit interfaces so-1/1/0] user@R1#exit [edit] user@R1#

8. Tắt bật 1 cổng

user@R1>configure [edit] user@R1#edit interfaces so-0/0/0 [edit interfaces so-0/0/0] user@R1#set disable [edit interfaces so-0/0/0] user@R1#exit [edit] user@R1#

9. Tạo thông báo cho 1 cổng

user@R1>configure [edit] user@R1#edit interfaces so-0/0/0 [edit interfaces so-0/0/0] user@R1#set description “interface-so-0/0/0” [edit interfaces so-0/0/0] user@R1#exit [edit] user@R1#

10. Lựa chọn kiểu đóng gói gói tin trên cổng:

user@R1>configure [edit] user@R1#edit interfaces so-0/0/0 [edit interfaces so-0/0/0] user@R1#set encapsulation ppp [edit interfaces so-0/0/0] user@R1#exit [edit] user@R1#

11,12. cấu hình và sửa đổi keepalive

Mặc định là: 10 s

13. Cấu hình cổng quản lý ( ethernet management interface)

1.Select device R1 from Select device drop down box

2. Click Configure button that enables left navigation pane

3. Select Interfaces -> Interface Configuration

4. Interface configuration screen appears select fxp0 interface from available                        interface list and click Edit button.

5. The Configure Interfaces screen appears. Select speed 10m from Speed drop                     down box and click OK button.

14. Cấu hình banwith trên 1 cổng

https://www.juniper.net/documentation/en_US/junos/topics/example/mcast-max-bandwidth.html

15. Cài đặt holdtime

16. Đặt clock rate trên cổng

https://www.juniper.net/documentation/en_US/junos/topics/reference/configuration-statement/clock-rate-edit-interfaces.html

[edit interfaces interface-name serial-options]

clock-rate rate;

17. kiểm tra cấu hình cổng thiết bị

show configuration

show interfaces brief

show interfaces terse

18. Kiểm tra các thông tin thiết bị

show chassis

Chia sẻ:

  • X
  • Facebook
Thích Đang tải...

Có liên quan

Từ khóa » Câu Lệnh Juniper