目次~
#contents
*概要 [#e90ba779]
Alaxala AX2350SS-24Tの初期設定メモ。~
*アクセス [#w5d44c5f]
**コンソールアクセス [#q8394780]
RS-232Cにて接続を行い、ターミナルからアクセスする。~
|ユーザ|operator|
|パスワード|なし|
login: operator
Password:
No password is set. Please set password!
Copyright (c) 2017-2020 ALAXALA Networks Corporation. All rights reserved.
>
**パスワードの初期化 [#u794ff09]
ログインユーザ、enableモードのパスワードを初期化する方法。
-1. コンソール接続を行う
-2. 装置のリセットボタンを押し込み、再起動を実行
-3. loginが表示されるまで、Ctrl + Nを押下しつづける
-4. loginが表示されたら、以下にてログイン
|ユーザ|operator|
|パスワード|なし|
-5. 管理者モードに切り替え
> enable
-6. operatorパスワードを変更
# password
Changing local password for operator.
New password:
Retype new password:
-7. enableパスワードを変更
# password enable-mode
Changing local password for admin.
New password:
Retype new password:
*基本操作 [#sa926afa]
**権限切り替え [#s11c7045]
-管理者モード
> enable
-設定モード
# configure
-インターフェイス設定
(config)# interface gigabitethernet 0/1
(config-if)#
**設定の保存 [#a5cb64ee]
未保存の設定がある場合、プロンプトに[!]が表示される。~
-未保存時
!ax2350s-24t(config)#
-保存
!ax2350s-24t(config)# save
ax2350s-24t(config)#
**再起動 [#q8010e4d]
# reload
*初期設定 [#r25e461c]
**ホスト名の設定 [#bdb36506]
-書式
(config)# hostname ax2350s-24t
-例
# configure
(config)# hostname ax2350s-24t
**管理アドレスの設定 [#w59c88e2]
-書式
(config-if)# ip address xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx
-例
# configure
(config)# interface vlan 1
!(config-if)# ip address 192.168.1.15 255.255.255.0
**経路設定 [#p7a421ca]
OS-L2B Ver. 3.2.A (Build:35)にて、デフォルトゲートウェイの設定コマンドが見つからない事象を確認。~
代わりに、ipv4のルーティングで経路を設定した。~
-書式
(config)# ip route 192.168.1.0 255.255.255.0 172.16.0.254
-例
(config)# ip route 192.168.0.0 255.255.255.0 10.10.0.254
**タイムゾーン設定 [#j82f886d]
-書式
clock timezone [TIMEZONE] [+/-UTC]
-例
# configure
(config)# clock timezone JST +9
!(config)# save
**時刻設定 [#r1d642eb]
-書式
set clock YYMMDDHHMM
-例
# set clock 2209102331
Sat Sep 10 23:31:36 JST 2022
**NTP設定 [#s8df9d6b]
-書式
(config)# ntp server xxx.xxx.xxx.xxx
-例
# configure
(config)# ntp server 192.168.0.1
**時刻確認 [#s8c3cb9a]
-例
# show clock
Sun Sep 11 00:47:31 JST 2022
** SSH設定 [#h468eac7]
-SSH接続の有効化
(config)# ip ssh
(config)# line vty 0 1
(config)# save
** SNMP設定 [#w6041d6f]
-コミュニティ名の設定
(config)# snmp-server community [COMMUNITY] rw
-SNMPマネージャの設定(ポーリング許可とTrap送信)
(config)# snmp-server host [xxx.xxx.xxx.xxx] traps localnet version 2c
-設置場所の設定
(config)# snmp-server location [LOCATION]
-Trap送信設定(起動、設定変更、時刻変更)
(config)# snmp-server traps unlimited-coldstart-trap
-Trap送信設定(Link Status)
(config)# interface gigabitethernet #IF
(config-if)# snmp trap link-status
** FTP設定 [#j2a10506]
-FTPのサーバの有効化
(config)# ftp-server