AlliedTelesis AT-x230肋年メモ
http://extstrg.asabiya.net/pukiwiki/index.php?AlliedTelesis%20AT-x230%C0%DF%C4%EA%A5%E1%A5%E2ネットワ〖ク簇息
誊肌
介袋肋年 †
ホスト叹肋年 †
- 缄界
>enable (config)#configure terminal (config)#hostname [HOSTNAME]
アドレスの肋年 †
瓷妄アドレスの肋年 †
- 缄界
>enable #configure terminal (config)#interface vlan1 (config-if)#ip address [IP]/[MASK]
デフォルトゲ〖トウェイの肋年 †
>enable #configure terminal (config)#ip route 0.0.0.0/0 [GATEWAY]
箕癸肋年 †
タイムゾ〖ン肋年 †
- 缄界∈泣塑箕粗∷
>enable #configure terminal (config)#clock timezone JST plus 9
NTP肋年 †
- 缄界
>enable #configure terminal (config)#ntp server [NTP SERVER]
syslog肋年 †
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肋年 †
- SNMP铜跟步
(config)#snmp-server
- コミュニティ叹の肋年
(config)#snmp-server community [COMMUNITY] ro
- SNMPマネ〖ジャの判峡
(config)#snmp-server host [IP] traps version 2c [COMMUNITY]
- SNMPTrap铜跟步
(config)#snmp-server enable trap auth dhcpsnooping lldp loopprot power-inline (config)#snmp-server view [VIEW_NAME] 1 included (config)#snmp-server community [COMMUNITY] view [VIEW_NAME] (config)#snmp-server host [IP] version 2c [COMMUNITY]
- Link Status Trapの铜跟步
(config)#interface port1.0.1-1.0.28 (config-if)#snmp trap link-status
LLDP肋年 †
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肋年 †
- パスワ〖ド肋年
>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 available for version 1. (config)#exit
- SSH铜跟步
(config)#ssh server allow-users admin (config)#service ssh ip WARNING: SSHv1 host key does not exist. SSH will not be available for version 1.
肋年の瘦赂 †
- 缄界
>enable #copy running-config startup-config Building configuration... [OK]
インタ〖フェイス肋年 †
拎侯链忍 †
剩眶のインタ〖フェイスを办崇肋年する †
- 今及
# en # conf t (config)# interface port [PORT]-[PORT]
- 毋
# en # conf t (config)# interface port1.0.23-1.0.24
VLAN肋年 †
VLAN侯喇 †
- 今及
# en # conf t # vlan database # vlan [VLAN ID]
- 今及∈剩眶侯喇∷
# en # conf t # vlan database # vlan [VLAN ID],[VLAN ID],[VLAN ID]
- 毋
# en # conf t # vlan database # vlan 10,100
Trunk肋年 †
Trunkポ〖トの肋年 †
- 今及
# en # conf t (config)# interface port [PORT] (config-if)#switchport trunk allowed vlan add [VLAN ID]
- 毋
# en # conf t (config)#interface port1.0.23-1.0.24 (config-if)#switchport trunk allowed vlan add 1,10,100
LAG肋年 †
LAGの肋年 †
LACP∈active∷で瓢侯させる眷圭の肋年。
- 今及
# en # conf t (config)# interface port [PORT]-[PORT] (config-if)# channel-group [LAG No] mode active (config-if-port)# exit
- 毋
# en # conf t (config)# interface port 1/11-14 (config-if)# channel-group 1 mode active
その戮 †
介袋步 †
肋年を粕み哈まずに弹瓢 †
贷赂の肋年を介袋步するには、怠达の浩弹瓢稿にブ〖トメニュ〖を山绩して肋年を粕み哈まずに弹瓢する拎侯を乖う。
- <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 protected. ------------------------------------------------------ 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 default configuration 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 protected. ------------------------------------------------------ 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... [ OK ] Mounting virtual filesystems... [ OK ] ______________ ____ /\ \ / /______\ / \ \_ __/ /| ______ | / \ | | / | ______ | / \ \ / / \ ____ / /______/\____\ \/ /____________/ 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... [ OK ] Checking flash filesystem... [ OK ] Mounting flash filesystem... [ OK ] Checking for last gasp debug output... [ OK ] Initializing random number generator... [ OK ] Starting base/arm_sysctl... [ OK ] Starting base/dbus... [ OK ] Starting base/syslog... [ OK ] Starting base/loopback... [ OK ] Starting base/poe_done... [ OK ] Starting base/sysctl... [ OK ] Received event syslog.done Starting base/modules... [ OK ] Received event modules.done Starting base/reboot-stability... [ OK ] Checking system reboot stability... [ OK ] Starting base/apteryx... [ OK ] Starting base/crond... [ OK ] Starting base/appmond... [ OK ] Starting base/clockcheck... [ OK ] Starting hardware/timeout... [ OK ] Starting base/inet... [ OK ] Received event apteryx.done Starting base/alfred... [ OK ] Starting network/kermond... [ OK ] Starting hardware/plugman... [ OK ] Starting hardware/openhpi... [ OK ] Received event board.inserted Starting hardware/hardware-done... [ OK ] Received event hardware.done Starting network/startup... [ OK ] Starting base/external-media... [ OK ] Received event hostcfg.done Starting network/licd... [ OK ] 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:
窗链介袋步 †
- 介袋アカウントにてログイン
awplus login:
ユ〖ザ〖叹 manager パスワ〖ド friend
- 肋年の久殿
>en #atmf cleanup
- 浩弹瓢の悸乖
This command will erase all NVS, all flash contents except for the boot release, and any license files, and then reboot the switch. Proceed ? (y/n):y touch: /nvs/autoboot_start.flag: No such file or directory 09:38:48 awplus IMISH[2358]: Switch cleaned, rebooting at request of manager URGENT: broadcast message: System going down IMMEDIATELY! ... Rebooting at user request ...
ファ〖ムウェアアップデ〖ト †
车妥 †
ファ〖ムウェアはメ〖カ〖サイトより艰评する。
ダウンロ〖ドには怠达のシリアル戎规が涩妥となるが、これは怠达塑挛に沤られているシ〖ルに淡很された戎规が涩妥となる。∈コマンドにて澄千できる柒推とは佰なる∷
https://www.allied-telesis.co.jp/support/list/switch/x230/download.html
また、ファ〖ムウェアを怠达にアップロ〖ドするためにはTFTPサ〖バが涩妥となる。
アップデ〖ト缄界 †
- システムの推翁澄千
>en #show file systems
- 叫蜗毋
Size(b) Free(b) Type Flags Prefixes S/D/V Lcl/Ntwk Avail ------------------------------------------------------------------- 61.9M 37.9M flash rw flash: static local Y - - system rw system: virtual local - 10.0M 9.8M debug rw debug: static local Y - - sdcard rw card: dynamic local N - - fserver rw fserver: dynamic network N - - tftp rw tftp: - network - - - scp rw scp: - network - - - sftp ro sftp: - network - - - http ro http: - network - - - rsync rw rsync: - network -
- 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-5.5.3-2.1.rel Copying... Successful operation
- GUIの芹弥
#copy tftp://[SERVER IP]awplus-gui_553_31.gui flash:/awplus-gui_553_31.gui 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 exists) Backup boot image : flash:/x230-5.4.6-2.7.rel (file exists) 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 exists) Backup boot image : flash:/x230-5.4.6-2.7.rel (file exists) 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
Last-modified: 2025-02-02 (泣) 03:38:35 (41d)