20. アカウントパスワードの設定
20
switch:admin> passwd
Changing password for admin
Enter new password:
Re-type new password:
Password changed.
Saving password to stable storage.
Password saved to stable storage successfully.
switch:admin> passwd -old password -new adminpass
Password changed.
Saving password to stable storage.
Password saved to stable storage successfully.
インタラクティブ設定
(引数なしでコマンドを実行)
引数で設定
(引数で設定内容を指定)
21. スイッチ名の設定
21
switch:admin> switchname hoge
Committing configuration...
Done.
Switch name has been changed.Please re-login into the switch for
the change to be applied.
switch:admin> exit
my-mac:~ usera$ ssh admin@172.xx.xx.xx
hoge:admin>
24. ドメインIDの設定
• “ドメインID”とは?
‒ スイッチの識別ID
‒ FCアドレス空間の先頭1バイト
‒ マニュアルで割り当てる必要性は必ず
しもない
• 自動設定が可能
‒ プリンシパルスイッチがアサイン
• 管理上は手動設定が望ましい
• ゾーンを{ドメインID, ポート番号}形式で
設定する場合は必ず手動で指定する
• “Insistent Domain ID”モードに設定すると
自動設定されない
‒ Configureコマンドで指定
switch:admin> switchshow
switchName: switch
switchType: 118.1
switchState: Online
switchMode: Native
switchRole: Subordinate
switchDomain: 1
switchId: fffc01
switchWwn: 10:00:00:05:33:
zoning: ON
switchBeacon: OFF
Index Port Address Media Speed
==============================
0 0 010000 id N16
1 1 010100 id N16
2 2 010200 id N16
24
25. ドメインIDの設定 (続き)
• Switchdisableコマンドでスイッチ
を”disable“状態にする
• ConfigureコマンドでドメインIDを
設定
‒ Fabric parameter の設定
• ドメインIDを入力
• Control + Dでinteractiveモードを抜ける
• Switchenableコマンドでスイッチ
を”enable”状態にする
• 設定を確認
switch:admin> switchdisable
switch:admin> configure
Configure…
Fabric parameters (yes, y, no, n): [no] y
Domain: (1..239) [1] 101
WWN Based persistent PID (yes, y, no, n): [no] ^D
switch:admin> switchenable
switch:admin> switchshow
switchName: switch
・・・途中省略
switchDomain: 101
switchId: fffc65
25
26. switch:admin> tstimezone
Time Zone Hour Offset: 0
Time Zone Minute Offset: 0
switch:admin> tstimezone --interactive
Please identify a location so that time zone rules can be set correctly.
Please select a continent or ocean.
1) Africa
2) Americas
3) Antarctica
4) Arctic Ocean
5) Asia
以下省略
Enter number or control-D to quit ?5
タイムゾーンの設定
タイムゾーンを日本標準時 (JST)に設定 (各スイッチ毎に設定)
26
(次ページに続く)
27. タイムゾーンの設定 (続き)
27
Please select a country.
1) Afghanistan 18) Israel 35) Palestine
2) Armenia 19) Japan 36) Philippines
以下省略
Enter number or control-D to quit ?19
The following information has been given:
Japan
Therefore TZ='Asia/Tokyo' will be used.
Local time is now: Wed Apr 22 11:13:53 JST 2015.
Universal Time is now: Wed Apr 22 02:13:53 UTC 2015.
Is the above information OK?
1) Yes
2) No
Enter number or control-D to quit ? 1