AlliedTelesis AT-x230設定メモ
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
]
開始行:
[[ネットワーク関連]]~
目次~
#contents
*設定 [#c63da5cd]
**ホスト名設定 [#kd6c043c]
-手順
>enable
(config)#configure terminal
(config)#hostname [HOSTNAME]
**アドレスの設定 [#af7560ed]
***管理アドレスの設定 [#i9fa1aac]
-手順
>enable
#configure terminal
(config)#interface vlan1
(config-if)#ip address [IP]/[MASK]
***デフォルトゲートウェイの設定 [#d755c618]
>enable
#configure terminal
(config)#ip route 0.0.0.0/0 [GATEWAY]
**時刻設定 [#v6fb43d6]
***現在時刻の変更 [#b1c89aad]
-手順
>enable
#configure terminal
(config)#clock set HH:MM:SS dd mmm yyyy
***タイムゾーン設定 [#z6e6b31c]
-手順(日本時間)
>enable
#configure terminal
(config)#clock timezone JST plus 9
***NTP設定 [#yfac5aa2]
-手順
>enable
#configure terminal
(config)#ntp server [NTP SERVER]
**syslog設定 [#o13cd5d3]
syslogサーバへのログ転送設定。~
-書式
(config)# log host [IP]
(config)# log host [IP] level [LEVEL]
-例
(config)# log host 172.16.1.1
(config)# log host 172.16.1.1 level informational
**SNMP設定 [#q648add1]
-SNMP有効化
(config)#snmp-server
-コミュニティ名の設定
(config)#snmp-server community [COMMUNITY] ro
-SNMPマネージャの登録
(config)#snmp-server host [IP] traps version 2c [COMMUNI...
-SNMPTrap有効化
(config)#snmp-server enable trap auth lldp loopprot powe...
**LLDP設定 [#e3159167]
LLDPを使用するためには、LLDPの有効化の他にポート単位での...
-例
#conf t
(config)#lldp run
(config)#interface port1.0.1-1.0.9
(config-if)#lldp transmit
(config-if)#lldp receive
(config-if)#lldp tlv-select all
**SSH設定 [#hdbefcec]
-パスワード設定
>enable
#configure terminal
(config)#username admin privilege 15 password [PASSWORD]
(config)#username manager password [PASSWORD]
-SSH鍵の生成
(config)#service ssh ip
WARNING: SSHv1 host key does not exist. SSH will not be ...
(config)#exit
-SSH有効化
(config)#ssh server allow-users admin
(config)#service ssh ip
WARNING: SSHv1 host key does not exist. SSH will not be ...
**設定の保存 [#u47cf0ae]
-手順
>enable
#copy running-config startup-config
Building configuration...
[OK]
*その他 [#l2a94560]
**初期化 [#m8012425]
***設定を読み込まずに起動 [#w8d1bc86]
既存の設定を初期化するには、機器の再起動後にブートメニュ...
-<Ctrl+B>を押下してブートメニューを表示
Bootloader 3.2.3 loaded
Press <Ctrl+B> for the Boot Menu
-5. Special boot optionsを選択
Boot Menu:
WARNING: The bootloader is not currently password prote...
------------------------------------------------------
B. Boot backup software
------------------------------------------------------
S. Security Level
------------------------------------------------------
0. Restart
1. Perform one-off boot from alternate source
2. Change the default boot source (for advanced users)
3. Update Bootloader
4. Adjust the console baud rate
5. Special boot options
6. System information
7. Restore Bootloader factory settings
------------------------------------------------------
9. Quit and continue booting
Enter selection ==> 5
-1. Skip startup script を選択
Special boot options menu:
0. Return to previous menu
------------------------------------------------------
1. Skip startup script (Use system defaults)
Enter selection ==> 1
Option successfully set. Press 0 then 9 to boot with the...
Or boot the system from an alternate source.
-0. Return to previous menuを選択
Special boot options menu:
0. Return to previous menu
------------------------------------------------------
1. Skip startup script (Use system defaults)
Enter selection ==> 0
-9. Quit and continue bootingを選択し、システムを起動
Boot Menu:
WARNING: The bootloader is not currently password prote...
------------------------------------------------------
B. Boot backup software
------------------------------------------------------
S. Security Level
------------------------------------------------------
0. Restart
1. Perform one-off boot from alternate source
2. Change the default boot source (for advanced users)
3. Update Bootloader
4. Adjust the console baud rate
5. Special boot options
6. System information
7. Restore Bootloader factory settings
------------------------------------------------------
9. Quit and continue booting
Enter selection ==> 9
-システムの起動
Reading filesystem...
Loading flash:x230-5.4.6-2.7.rel...
Verifying release... OK
Booting...
Uncompressing Linux... done, booting the kernel.
Starting base/first... ...
Mounting virtual filesystems... ...
______________ ____
/\ \ / /______\
/ \ \_ __/ /| ______ |
/ \ | | / | ______ |
/ \ \ / / \ ____ /
/______/\____\ \/ /____________/
Allied Telesis Inc.
AlliedWare Plus (TM) v5.4.6
Current release filename: x230-5.4.6-2.7.rel
Built: Thu Apr 6 08:48:40 UTC 2017
Mounting static filesystems... ...
Checking flash filesystem... ...
Mounting flash filesystem... ...
Checking for last gasp debug output... ...
Initializing random number generator... ...
Starting base/arm_sysctl... ...
Starting base/dbus... ...
Starting base/syslog... ...
Starting base/loopback... ...
Starting base/poe_done... ...
Starting base/sysctl... ...
Received event syslog.done
Starting base/modules... ...
Received event modules.done
Starting base/reboot-stability... ...
Checking system reboot stability... ...
Starting base/apteryx... ...
Starting base/crond... ...
Starting base/appmond... ...
Starting base/clockcheck... ...
Starting hardware/timeout... ...
Starting base/inet... ...
Received event apteryx.done
Starting base/alfred... ...
Starting network/kermond... ...
Starting hardware/plugman... ...
Starting hardware/openhpi... ...
Received event board.inserted
Starting hardware/hardware-done... ...
Received event hardware.done
Starting network/startup... ...
Starting base/external-media... ...
Received event hostcfg.done
Starting network/licd... ...
Received event network.enabled
Initializing HA processes:
hostd, atmf_agentd, atmfd, loopprot, rmon, auth, epsr
hsl, imi, lldpd, mstp, nsm, pim6d, ripngd
sflowd, lacp, ospf6d, pdmd, ripd, udldd, cntrd
ospfd, pimd
Received event network.initialized
Assigning Active Workload to HA processes:
hsl, nsm, rmond, sflowd, lacpd, mstpd, authd
epsrd, loopprotd, lldpd, imi
Received event network.activated
Skipping configuration at user request
...
done!
Received event network.configured
awplus login:
***完全初期化 [#c7f57cf8]
-初期アカウントにてログイン
awplus login:
|ユーザー名|manager|
|パスワード|friend|
-設定の消去
>en
#atmf cleanup
-再起動の実行
This command will erase all NVS, all flash contents exce...
the boot release, and any license files, and then reboot...
Proceed ? (y/n):y
touch: /nvs/autoboot_start.flag: No such file or directory
09:38:48 awplus IMISH[2358]: Switch cleaned, rebooting a...
URGENT: broadcast message:
System going down IMMEDIATELY!
... Rebooting at user request ...
**ファームウェアアップデート [#m3db755d]
***概要 [#zbc66fe9]
ファームウェアはメーカーサイトより取得する。~
ダウンロードには機器のシリアル番号が必要となるが、これは...
https://www.allied-telesis.co.jp/support/list/switch/x23...
また、ファームウェアを機器にアップロードするためにはTFTP...
***アップデート手順 [#q23635ee]
-システムの容量確認
>en
#show file systems
--出力例
Size(b) Free(b) Type Flags Prefixes S/D/V Lcl/...
--------------------------------------------------------...
61.9M 37.9M flash rw flash: static loca...
- - system rw system: virtual loca...
10.0M 9.8M debug rw debug: static loca...
- - sdcard rw card: dynamic loca...
- - fserver rw fserver: dynamic netw...
- - tftp rw tftp: - netw...
- - scp rw scp: - netw...
- - sftp ro sftp: - netw...
- - http ro http: - netw...
- - rsync rw rsync: - netw...
-flashメモリの中身の確認
#dir
--出力例
0 drwx Jan 8 2024 11:52:02 log/
1010 -rw- Jan 8 2024 00:29:10 default.cfg
22885206 -rwx Apr 25 2017 19:59:02 x230-5.4.6-2.7.rel
-ファームウェアの配置
#copy tftp://[SERVER IP]/x230-5.5.3-2.1.rel flash:/x230-...
Copying...
Successful operation
-GUIの配置
#copy tftp://[SERVER IP]awplus-gui_553_31.gui flash:/awp...
Copying...
Successful operation
-flashメモリの中身の確認
#dir
--出力例
4444160 -rw- Jan 8 2024 12:10:25 awplus-gui_553_31.gui
25566780 -rw- Jan 8 2024 12:08:07 x230-5.5.3-2.1.rel
0 drwx Jan 8 2024 11:52:02 log/
1010 -rw- Jan 8 2024 00:29:10 default.cfg
22885206 -rwx Apr 25 2017 19:59:02 x230-5.4.6-2.7.rel
-ブートイメージの変更
>enable
#configure terminal
(config)#boot system x230-5.5.3-2.1.rel
(config)#boot system backup x230-5.4.6-2.7.rel
-設定結果の確認
#show boot
Boot configuration
--------------------------------------------------------...
Current software : x230-5.4.6-2.7.rel
Current boot image : flash:/x230-5.5.3-2.1.rel (file exi...
Backup boot image : flash:/x230-5.4.6-2.7.rel (file exi...
Default boot config: flash:/default.cfg
Current boot config: flash:/default.cfg (file exists)
Backup boot config: Not set
Autoboot status : disabled
Boot Security Level: none
-再起動
#reboot
-再起動後の確認
#show boot
Boot configuration
--------------------------------------------------------...
Current software : x230-5.5.3-2.1.rel
Current boot image : flash:/x230-5.5.3-2.1.rel (file exi...
Backup boot image : flash:/x230-5.4.6-2.7.rel (file exi...
Default boot config: flash:/default.cfg
Current boot config: flash:/default.cfg (file exists)
Backup boot config: Not set
Autoboot status : disabled
Boot Security Level: none
終了行:
[[ネットワーク関連]]~
目次~
#contents
*設定 [#c63da5cd]
**ホスト名設定 [#kd6c043c]
-手順
>enable
(config)#configure terminal
(config)#hostname [HOSTNAME]
**アドレスの設定 [#af7560ed]
***管理アドレスの設定 [#i9fa1aac]
-手順
>enable
#configure terminal
(config)#interface vlan1
(config-if)#ip address [IP]/[MASK]
***デフォルトゲートウェイの設定 [#d755c618]
>enable
#configure terminal
(config)#ip route 0.0.0.0/0 [GATEWAY]
**時刻設定 [#v6fb43d6]
***現在時刻の変更 [#b1c89aad]
-手順
>enable
#configure terminal
(config)#clock set HH:MM:SS dd mmm yyyy
***タイムゾーン設定 [#z6e6b31c]
-手順(日本時間)
>enable
#configure terminal
(config)#clock timezone JST plus 9
***NTP設定 [#yfac5aa2]
-手順
>enable
#configure terminal
(config)#ntp server [NTP SERVER]
**syslog設定 [#o13cd5d3]
syslogサーバへのログ転送設定。~
-書式
(config)# log host [IP]
(config)# log host [IP] level [LEVEL]
-例
(config)# log host 172.16.1.1
(config)# log host 172.16.1.1 level informational
**SNMP設定 [#q648add1]
-SNMP有効化
(config)#snmp-server
-コミュニティ名の設定
(config)#snmp-server community [COMMUNITY] ro
-SNMPマネージャの登録
(config)#snmp-server host [IP] traps version 2c [COMMUNI...
-SNMPTrap有効化
(config)#snmp-server enable trap auth lldp loopprot powe...
**LLDP設定 [#e3159167]
LLDPを使用するためには、LLDPの有効化の他にポート単位での...
-例
#conf t
(config)#lldp run
(config)#interface port1.0.1-1.0.9
(config-if)#lldp transmit
(config-if)#lldp receive
(config-if)#lldp tlv-select all
**SSH設定 [#hdbefcec]
-パスワード設定
>enable
#configure terminal
(config)#username admin privilege 15 password [PASSWORD]
(config)#username manager password [PASSWORD]
-SSH鍵の生成
(config)#service ssh ip
WARNING: SSHv1 host key does not exist. SSH will not be ...
(config)#exit
-SSH有効化
(config)#ssh server allow-users admin
(config)#service ssh ip
WARNING: SSHv1 host key does not exist. SSH will not be ...
**設定の保存 [#u47cf0ae]
-手順
>enable
#copy running-config startup-config
Building configuration...
[OK]
*その他 [#l2a94560]
**初期化 [#m8012425]
***設定を読み込まずに起動 [#w8d1bc86]
既存の設定を初期化するには、機器の再起動後にブートメニュ...
-<Ctrl+B>を押下してブートメニューを表示
Bootloader 3.2.3 loaded
Press <Ctrl+B> for the Boot Menu
-5. Special boot optionsを選択
Boot Menu:
WARNING: The bootloader is not currently password prote...
------------------------------------------------------
B. Boot backup software
------------------------------------------------------
S. Security Level
------------------------------------------------------
0. Restart
1. Perform one-off boot from alternate source
2. Change the default boot source (for advanced users)
3. Update Bootloader
4. Adjust the console baud rate
5. Special boot options
6. System information
7. Restore Bootloader factory settings
------------------------------------------------------
9. Quit and continue booting
Enter selection ==> 5
-1. Skip startup script を選択
Special boot options menu:
0. Return to previous menu
------------------------------------------------------
1. Skip startup script (Use system defaults)
Enter selection ==> 1
Option successfully set. Press 0 then 9 to boot with the...
Or boot the system from an alternate source.
-0. Return to previous menuを選択
Special boot options menu:
0. Return to previous menu
------------------------------------------------------
1. Skip startup script (Use system defaults)
Enter selection ==> 0
-9. Quit and continue bootingを選択し、システムを起動
Boot Menu:
WARNING: The bootloader is not currently password prote...
------------------------------------------------------
B. Boot backup software
------------------------------------------------------
S. Security Level
------------------------------------------------------
0. Restart
1. Perform one-off boot from alternate source
2. Change the default boot source (for advanced users)
3. Update Bootloader
4. Adjust the console baud rate
5. Special boot options
6. System information
7. Restore Bootloader factory settings
------------------------------------------------------
9. Quit and continue booting
Enter selection ==> 9
-システムの起動
Reading filesystem...
Loading flash:x230-5.4.6-2.7.rel...
Verifying release... OK
Booting...
Uncompressing Linux... done, booting the kernel.
Starting base/first... ...
Mounting virtual filesystems... ...
______________ ____
/\ \ / /______\
/ \ \_ __/ /| ______ |
/ \ | | / | ______ |
/ \ \ / / \ ____ /
/______/\____\ \/ /____________/
Allied Telesis Inc.
AlliedWare Plus (TM) v5.4.6
Current release filename: x230-5.4.6-2.7.rel
Built: Thu Apr 6 08:48:40 UTC 2017
Mounting static filesystems... ...
Checking flash filesystem... ...
Mounting flash filesystem... ...
Checking for last gasp debug output... ...
Initializing random number generator... ...
Starting base/arm_sysctl... ...
Starting base/dbus... ...
Starting base/syslog... ...
Starting base/loopback... ...
Starting base/poe_done... ...
Starting base/sysctl... ...
Received event syslog.done
Starting base/modules... ...
Received event modules.done
Starting base/reboot-stability... ...
Checking system reboot stability... ...
Starting base/apteryx... ...
Starting base/crond... ...
Starting base/appmond... ...
Starting base/clockcheck... ...
Starting hardware/timeout... ...
Starting base/inet... ...
Received event apteryx.done
Starting base/alfred... ...
Starting network/kermond... ...
Starting hardware/plugman... ...
Starting hardware/openhpi... ...
Received event board.inserted
Starting hardware/hardware-done... ...
Received event hardware.done
Starting network/startup... ...
Starting base/external-media... ...
Received event hostcfg.done
Starting network/licd... ...
Received event network.enabled
Initializing HA processes:
hostd, atmf_agentd, atmfd, loopprot, rmon, auth, epsr
hsl, imi, lldpd, mstp, nsm, pim6d, ripngd
sflowd, lacp, ospf6d, pdmd, ripd, udldd, cntrd
ospfd, pimd
Received event network.initialized
Assigning Active Workload to HA processes:
hsl, nsm, rmond, sflowd, lacpd, mstpd, authd
epsrd, loopprotd, lldpd, imi
Received event network.activated
Skipping configuration at user request
...
done!
Received event network.configured
awplus login:
***完全初期化 [#c7f57cf8]
-初期アカウントにてログイン
awplus login:
|ユーザー名|manager|
|パスワード|friend|
-設定の消去
>en
#atmf cleanup
-再起動の実行
This command will erase all NVS, all flash contents exce...
the boot release, and any license files, and then reboot...
Proceed ? (y/n):y
touch: /nvs/autoboot_start.flag: No such file or directory
09:38:48 awplus IMISH[2358]: Switch cleaned, rebooting a...
URGENT: broadcast message:
System going down IMMEDIATELY!
... Rebooting at user request ...
**ファームウェアアップデート [#m3db755d]
***概要 [#zbc66fe9]
ファームウェアはメーカーサイトより取得する。~
ダウンロードには機器のシリアル番号が必要となるが、これは...
https://www.allied-telesis.co.jp/support/list/switch/x23...
また、ファームウェアを機器にアップロードするためにはTFTP...
***アップデート手順 [#q23635ee]
-システムの容量確認
>en
#show file systems
--出力例
Size(b) Free(b) Type Flags Prefixes S/D/V Lcl/...
--------------------------------------------------------...
61.9M 37.9M flash rw flash: static loca...
- - system rw system: virtual loca...
10.0M 9.8M debug rw debug: static loca...
- - sdcard rw card: dynamic loca...
- - fserver rw fserver: dynamic netw...
- - tftp rw tftp: - netw...
- - scp rw scp: - netw...
- - sftp ro sftp: - netw...
- - http ro http: - netw...
- - rsync rw rsync: - netw...
-flashメモリの中身の確認
#dir
--出力例
0 drwx Jan 8 2024 11:52:02 log/
1010 -rw- Jan 8 2024 00:29:10 default.cfg
22885206 -rwx Apr 25 2017 19:59:02 x230-5.4.6-2.7.rel
-ファームウェアの配置
#copy tftp://[SERVER IP]/x230-5.5.3-2.1.rel flash:/x230-...
Copying...
Successful operation
-GUIの配置
#copy tftp://[SERVER IP]awplus-gui_553_31.gui flash:/awp...
Copying...
Successful operation
-flashメモリの中身の確認
#dir
--出力例
4444160 -rw- Jan 8 2024 12:10:25 awplus-gui_553_31.gui
25566780 -rw- Jan 8 2024 12:08:07 x230-5.5.3-2.1.rel
0 drwx Jan 8 2024 11:52:02 log/
1010 -rw- Jan 8 2024 00:29:10 default.cfg
22885206 -rwx Apr 25 2017 19:59:02 x230-5.4.6-2.7.rel
-ブートイメージの変更
>enable
#configure terminal
(config)#boot system x230-5.5.3-2.1.rel
(config)#boot system backup x230-5.4.6-2.7.rel
-設定結果の確認
#show boot
Boot configuration
--------------------------------------------------------...
Current software : x230-5.4.6-2.7.rel
Current boot image : flash:/x230-5.5.3-2.1.rel (file exi...
Backup boot image : flash:/x230-5.4.6-2.7.rel (file exi...
Default boot config: flash:/default.cfg
Current boot config: flash:/default.cfg (file exists)
Backup boot config: Not set
Autoboot status : disabled
Boot Security Level: none
-再起動
#reboot
-再起動後の確認
#show boot
Boot configuration
--------------------------------------------------------...
Current software : x230-5.5.3-2.1.rel
Current boot image : flash:/x230-5.5.3-2.1.rel (file exi...
Backup boot image : flash:/x230-5.4.6-2.7.rel (file exi...
Default boot config: flash:/default.cfg
Current boot config: flash:/default.cfg (file exists)
Backup boot config: Not set
Autoboot status : disabled
Boot Security Level: none
ページ名: