Bài 7: Hướng Dẫn Sử Dụng Các Lệnh Cơ Bản Trên Thiết Bị Juniper

Lab Network System Security
  • Home
  • Diễn đàn Bài viết mới Tìm chủ đề
  • Có gì mới Nội dung nổi bật Bài viết mới Bài mới trên hồ sơ Hoạt động mới nhất
  • Thành viên Thành viên trực tuyến Bài mới trên hồ sơ Tìm trong hồ sơ cá nhân
Đăng nhập Đăng ký Có gì mới? Phong cách giao diện System Sáng Tối Tìm kiếm

Tìm kiếm

Everywhere Chủ đề This forum This thread Chỉ tìm trong tiêu đề Note Bởi: Tìm Tìm kiếm nâng cao…
  • Bài viết mới
  • Tìm chủ đề
Menu Đăng nhập Đăng ký Install the app Cài đặt How to install the app on iOS

Follow along with the video below to see how to install our site as a web app on your home screen.

Note: This feature may not be available in some browsers.

  • Diễn đàn
  • NETWORK SOLUTIONS
  • Switching & Routing
  • Juniper
  • Lab
You are using an out of date browser. It may not display this or other websites correctly.You should upgrade or use an alternative browser. Juniper NetworkBài 7: Hướng dẫn sử dụng các lệnh cơ bản trên thiết bị Juniper
  • Thread starter Thread starter Tranvantrivn
  • Ngày gửi Ngày gửi 08/08/2015
T

Tranvantrivn

Intern
Bài 7: Hướng dẫn sử dụng các lệnh cơ bản trên thiết bị Juniper1- Đặt IP cho cổng manager Đối với thiết bị độc lập: PHP: set interface me0.0 family inet address <ipaddress> Đối với virtual chassis: PHP: set interface vme0.0 family inet address <ipaddress> 2- Update JunOS PHP: request system software add ftp://<username>:<password>@<ftpserver_ipaddress>/<tên file junos trên ftp server> no-copy reboot Ví dụ: request system software add ftp://admin:[email protected]/ junos-srxsme-12.1X44-D45.2-domestic.tgz no-copy reboot
  • No-copy: sau khi upgrade sẽ xóa file junos trên bộ nhớ để tiết kiệm dung lượng
  • Reboot: sau khi upgrade sẽ tự động reboot lại thiết bị.
3- Cấu hình InterVLAN Tạo vlan: PHP: set vlans <tên vlan> vlan-id <id> l3-interface <tên interface vlan> Ví dụ: set vlans vlan5 vlan-id 5 l3-interface vlan.5 Tạo interface vlan: PHP: set interface vlan unit <unit-id> family inet address <ip address> Ví dụ: set interface vlan unit 5 family inet address 192.168.1.1/24 4- Định tuyến: Định tuyến tĩnh: PHP: set routing option static route <subnet>/<prefix> next-hop <next-hop> Ví dụ: set routing option static route 192.168.1.0/24 next-hop 10.1.1.1 set routing option static route 0/0 next-hop 192.168.10.1 Định tuyến OSPF: PHP: set protocol ospf <area-id> interface <interface> Ví dụ: set protocol ospf area 0 interface ge-0/0/0 set protocol ospf are 1 interface lo0 passive 6- Rename Interface PHP: rename interfaces <interface-name> to <interface-name> Ví dụ: rename interfaces ge-2/0/0 to ge-0/0/0 7- Các lệnh so sánh và compare Sau thay đổi cấu hình, dùng lệnh show | compare để xem những thay đổi đã thực hiện PHP: show | compare Mỗi lần commit hệ thống sẽ tạo ra 1 bản sao cấu hình, để so sánh cấu hình hiện tại với cấu hình đã được sao lưu: PHP: show | compare rollback <id> Cấu hình hiện tại là rollback 0, các cấu hình trước được sắp xếp theo thứ tự gần nhất là từ 1 đến 49. Ví dụ: show | compare rollback 1 show | compare rollback 2 8- DHCP PHP: set system services dhcp pool <subnet>/<prefix> address-range low <Địa chỉ cấp phát từ> high <địa chỉ cấp đến> set system services dhcp pool <subnet>/<prefix> name-server <dns server> set system services dhcp pool <subnet>/<prefix> router <default-gateway> Ví dụ: set system services dhcp pool 172.16.7.0/24 address-range low 172.16.7.10 set system services dhcp pool 172.16.7.0/24 address-range high 172.16.7.250 set system services dhcp pool 172.16.7.0/24 name-server 8.8.8.8 set system services dhcp pool 172.16.7.0/24 router 172.16.7.1 Bài viết liên quan Config DHCP Server Juniper QFX - Static binding MAC - IP bởi gani, 31/08/2021 Juniper Switch boots from backup root partition bởi thanhdc, 05/04/2019 VPN trên Juniper SRX300 bởi Himiky, 26/03/2019 Backup và Restore cấu hình trên Router & Switch của Juniper bằng FTP server bởi Tranvantrivn, 21/12/2014 Lab 2.2 Cấu hình Qualified to Hop trên Juniper bởi root, 30/11/2014 Lab 2.1 Cấu hình Static Route trên Router Juniper bởi root, 23/11/2014 Bài viết mới Upgrade Junos OS on an EX switch By WinSCP bởi gani, 25/01/2022 Config DHCP Server Juniper QFX - Static binding MAC - IP bởi gani, 31/08/2021 HƯỚNG DẪN CẤU HÌNH ĐẨY LOG JUNIPE SRX bởi gani, 05/07/2021 Juniper Switch boots from backup root partition bởi thanhdc, 05/04/2019 VPN trên Juniper SRX300 bởi Himiky, 26/03/2019 Backup và Restore cấu hình trên Router & Switch của Juniper bằng FTP server bởi Tranvantrivn, 21/12/2014 Bạn phải đăng nhập hoặc đăng ký để bình luận. Chia sẻ: Facebook X (Twitter) LinkedIn Reddit Pinterest Tumblr WhatsApp Email Chia sẻ Link
  • Diễn đàn
  • NETWORK SOLUTIONS
  • Switching & Routing
  • Juniper
  • Lab
  • Trang web này sử dụng cookie. Tiếp tục sử dụng trang web này đồng nghĩa với việc bạn đồng ý sử dụng cookie của chúng tôi. Accept Tìm hiểu thêm.…
Back Top

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