使用機種: 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
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
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
root@# set system services telnet
root@# commit
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 ...
set interfaces ポート番号 unit 番号 family ethernet-switching port-mode trunk set interfaces interface名 unit 番号 family ethernet-switching vlan members VLAN名 | all
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