قائمة بأساسيات جونيبر والأوامر الخاصة بها

متابعينا الكرام في هذا المقال سنحاول سرد أهم الأوامر الخاصة بروترات وسوينشات جونيبر والتي تساعدك لإنهاء مشروع .

قائمة بأساسيات جونيبر والأوامر الخاصة بها
جونيبر

أساسيات الـ Interfaces

M Series and T series : fe-2/1/0

fe : نوع البورت
2 : رقم الميك الـ FPC
1 : رقم الـ PIC
0 : رقم الـ Port

EX switch series : ge-0/1/2

ge : نوع البورت
0 : رقم الميك FPC أو Virtual Chassis Member Number
1 : رقم الـ Module
2 : رقم الـ Port

جهاز جونيبر
جهاز جونيبر

lo0 : الـ loopback interface .
me0 : فتحات إيثرنت : يمكنك استخدام ال interface لإدارة الجهاز .
vme : فتحة إيثرنت Virtual للإدارة .
vlan : فتحة ال VLAN .

كيفية إعداد ال user name والباسورد

[edit]
…………… edit system login user
set uid xxx
set class super-user
edit authentication
set plain-text-password
New password; xxxxx
Retype new password; xxxxx

لإغلاق البورت – Shut down interface

[edit]
لإغلاق البورت set interface ge-0/0/1 disable
لإعادة تشغيل البورت delete interface ge-0/0/1 disable

أوامر تفعيل البورتات

[edit]
edit chassis aggregated-devices
[edit chassis aggregated-devices]
لتعريفه عدد أجهزة الأيثرنت التي تحتاجهم هنا 3 : set ethernet device-count 3

[edit]
set interfaces ge-0/0/0 ether-options 802.3ad ae0
set interfaces ge-0/0/2 ether-options 802.3ad ae0
set interfaces ae0 aggregated-ether-options minimum-links 1
set interfaces ae0 aggregated-ether-options lacp active
set interfaces ae0 unit 0 family ethernet-switching port-mode access
لتشغيل L2 على البورت ae
 

set interfaces ge-0/0/0 ether-options 802.3ad ae0
set interfaces ge-0/0/2 ether-options 802.3ad ae0
set interfaces ae0 aggregated-ether-options minimum-links 1
set interfaces ae0 aggregated-ether-options lacp active
set interfaces ae0 unit 0 family ethernet-switching port-mode trunk  لتفعيل الترنك مود على البورت  
……. set interfaces ae0 unit 0 family ethernet-switching vlan members

et interfaces ge-0/0/0 ether-options 802.3ad ae0
set interfaces ge-0/0/2 ether-options 802.3ad ae0
set interfaces ae0 aggregated-ether-options minimum-links 1
set interfaces ae0 aggregated-ether-options lacp active
set interfaces ae0 unit 0 family inet address 10.0.0.2/30
لتشغيل L2 على البورت ae

لتفعيل الترنك ووضعه في VLANS وتفعيل native-vlan

[edit interface]
set ge-0/0/1 unit 0 family ethernet-switching port-mode trunk
[ set ge-0/0/1 unit 0 family ethernet-switching vlan member [ 2 3
set ge-0/0/1 unit 0 family ethernet-switching native-vlan-id default

لعمل Routed للـ VLAN 

[edit vlan]
set [vlan name] l3-interface vlan.100
[edit interface vlan]
set unit 100 description Example
set unit 100 family inet address 192.168.x.x/24

لتفعيل بروتوكول Spanning Tree

[edit]
set protocols rstp\
set protocols rstp bridge-priority 20k
set protocols rstp interface ge-0/0/1.0 disable
set protocols rstp interface ge-0/0/1.0 cost 1000
زي ال portfast في سيسكو set protocols rstp interface ge-0/0/1.0 edge
set protocols rstp interface ge-0/0/1.0 mode point-to-point For the backup link

[edit]
show protocols stp | display set
show spanning-tree bridge
show spanning-tree interface
show ehternet-switching interface

نسخ الكونفجريشن

لنسخ بورت في بورت تاني : copy interfaces ge-3/0/5 to ge-3/0/6

حفظ الكونفجريشن

عند أدخال الأوامر المطلوبة لا تتفعل ولا تحفظ إلى بعد عمل أمر commit

شارك المقال

مواضيع قد تعجبك: