#author("2019-11-15T22:49:10+09:00","default:tanak0to","tanak0to")
RIGHT:[[覚え書き]]

*ポート 6-9の Link Speed を 1G に固定する. [#l07a6920]
使用機種: Juniper EX-4550

 login: root
 Password: XXXXXX
 
 --- JUNOS 12.3R8.7 built 2014-09-19 15:47:21 UTC
 root@ex-4550:RE:0%
 root@ex-4550:RE:0% cli
 {master:0}
 root@ex-4550> configure
 Entering configuration mode
 root@ex-4550# set interfaces xe-0/0/6 ether-options speed 1g
 
 {master:0}[edit]
 root@ex-4550# set interfaces xe-0/0/7 ether-options speed 1g
 
 {master:0}[edit]
 root@ex-4550# set interfaces xe-0/0/8 ether-options speed 1g
 
 {master:0}[edit]
 root@ex-4550# set interfaces xe-0/0/9 ether-options speed 1g
 
 root@ex-4550# commit
----
*Juniper EX4300 の見よう見まねでの設定 [#gdd5104c]

**初期パスワード [#s7ee9464]
CLI のデフォルトでは
-ユーザ: root
-パスワード: なし

**パスワード設定 [#rb776b1b]
 root@# set system root-authentication plain-text-password
 New password: password
 Retype new password: password

**シリアル設定 [#d1329afc]
-Baud Rate: 9600
-Flow Control: None
-Data: 8
-Parity: None
-Stop Bits: 1
-DCD State: Disregard

**設定モードへの移行 [#u3a10785]
 root@% cli
 root> configure

**デフォルトゲートウェイの設定 [#h363f521]
 root@# set routing-options static route default next-hop address

**IP アドレスの設定(em0/em1 がそれぞれマネージメントポート C0/C1) [#df69ba66]
 root@# set interfaces em0 unit 0 family inet address address/prefix-length

**スタティックルート [#m578466c]
 root@# set routing-options static route remote-prefix next-hop destination-ip retain no-readvertise

**telnet を有効に [#q6b53861]
 root@# set system services telnet

**設定を保存 [#td0558b4]
 root@# commit

**VLAN 設定 [#w4220c64]
 set vlans VLAN名 vlan-id VLAN-ID

 set vlans VLAN1 vlan-id 101
 set vlans VLAN2 vlan-id 102
 set vlans VLAN3 vlan-id 103
 set interfaces xe-0/0/0 unit 0 family ethernet-switching
 set interfaces xe-0/0/0 unit 0 family ethernet-switching port-mode access
 set interfaces xe-0/0/0 unit 0 family ethernet-switching vlan members VLAN1
 ...

**VLAN トランクの設定 [#bb66e442]
 set interfaces ポート番号 unit 番号 family ethernet-switching port-mode trunk
 set interfaces interface名 unit 番号 family ethernet-switching vlan members VLAN名 | all

**VLAN に IP をつける [#l8920541]
 set interfaces irb unit 1 family inet address 172.16.1.1/24
 set vlans VLAN1 l3-interface irb.1
 set interfaces irb unit 2 family inet address 172.16.2.1/24
 set vlans VLAN2 l3-interface irb.2
 set interfaces irb unit 3 family inet address 172.16.3.1/24
 set vlans VLAN3 l3-interface irb.3

**インタフェイスの設定確認 [#p2cfa910]
 show ethernet-switching interfaces xe-0/0/0 detail

**参考 [#wdf8a186]
-https://www.juniper.net/documentation/en_US/release-independent/junos/information-products/pathway-pages/ex-series/ex4600/ex4600.pdf
-https://www.juniper.net/assets/jp/jp/local/pdf/dm/dayone/Configuring_EX_Series_Switches.pdf
//https://www.infraeye.com/study/studyz2.html
-https://www.infraeye.com/study/


**初期化 [#n31a65f3]
-前面パネルのRESET CONFIGボタンを15秒間押し続ける

-request system zeroize


トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS