AlliedTelesis AT-SH210設定メモ のバックアップ(No.4)
- バックアップ一覧
- 差分 を表示
- 現在との差分 を表示
- ソース を表示
- AlliedTelesis AT-SH210設定メモ へ行く。
- 1 (2023-10-27 (金) 01:43:35)
- 2 (2023-10-27 (金) 01:44:25)
- 3 (2023-11-12 (日) 00:47:45)
- 4 (2024-01-02 (火) 15:40:37)
- 5 (2024-01-07 (日) 12:41:21)
ネットワーク関連
目次
設定 †
ホスト名設定 †
- 手順
>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 set HH:MM:SS dd mmm yyyy
タイムゾーン設定 †
- 手順(日本時間)
>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
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)#crypto key generate hostkey rsa Generating host key (1024 bits rsa) This may take a while. Please wait ... Done WARNING: The SSH server must now be enabled with "service ssh"
- 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.
TELNET設定 †
- telnet無効化
>enable #configure terminal (config)#no service telnet
設定の保存 †
- 手順
>enable #copy running-config startup-config