覚え書き

ポート 6-9の Link Speed を 1G に固定する.

使用機種: 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 の見よう見まねでの設定

初期パスワード

CLI のデフォルトでは

パスワード設定

root@# set system root-authentication plain-text-password
New password: password
Retype new password: password

シリアル設定

設定モードへの移行

root@% cli
root> configure

デフォルトゲートウェイの設定

root@# set routing-options static route default next-hop address

IP アドレスの設定(em0/em1 がそれぞれマネージメントポート C0/C1)

root@# set interfaces em0 unit 0 family inet address address/prefix-length

スタティックルート

root@# set routing-options static route remote-prefix next-hop destination-ip retain no-readvertise

telnet を有効に

root@# set system services telnet

設定を保存

root@# commit

VLAN 設定

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 トランクの設定

set interfaces ポート番号 unit 番号 family ethernet-switching port-mode trunk
set interfaces interface名 unit 番号 family ethernet-switching vlan members VLAN名 | all

VLAN に IP をつける

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

インタフェイスの設定確認

show ethernet-switching interfaces xe-0/0/0 detail

参考

初期化


トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2019-11-15 (金) 22:49:10